Posts

Showing posts from 2012

Deploying Jenkins in CentOS

1. Download the software to "/usr/src" and Install Java JDK - jdk-6u30-linux-i586.rpm

    $ rpm -ivh jdk-6u30-linux-i586.rpm

2. Download the software to "/usr/src" and Install Apache Tomcat

    $ cd /usr/src
    $ tar -xzvf apache-tomcat-6.0.35.tar.gz
    $ mv apache-tomcat-6.0.35 tomcat

3. Download the software to "/usr/src" and Install grails-1.3.7.zip

    $ cd /usr/src
    $ unzip grails-1.3.7.zip

4. Edit "/etc/profile" and add the path below

    $ nano /etc/profile

    JAVA_HOME=/usr/java/jdk1.6.0_30
    export JAVA_HOME
    PATH=$JAVA_HOME/bin:$PATH
    export PATH

    TOMCAT_HOME=/usr/src/tomcat
    export TOMCAT_HOME
    PATH=$TOMCAT_HOME/bin:$PATH
    export PATH

    CATALINA_HOME=/usr/src/tomcat
    export CATALINA_HOME
    PATH=$CATALINA_HOME/bin:$PATH
    export PATH

    GRAILS_HOME=/usr/src/grails-1.3.7
    export GRAILS_HOME
    PATH=$GRAILS_HOME/bin:$PATH
    export PATH

To maximized java memory utiliztion, add the lines below in t…