How to install GateIn3.2.0 in CentOS

Source: Internet
Author: User
1. download GateIn and tomcat integrated GateIn3.2.0 on the official website version: gatein-3.2.0.final-tomcat6.zip、 gategategategatein1 incompressed package Upload gatein-3.2.0.final-tomcat6.zip to the server, 2. unzip the GateIn-3.2.0.Final-tom

1. download movie in from the official website

Download GateIn3.2.0 integrated with tomcat version: GateIn-3.2.0.Final-tomcat6.zip

2. DeploymentStored in

1. Upload the compressed in package

Upload gatein-3.2.0.final-tomcat6.zip to the server,

2. decompress gatein-3.2.0.final-tomcat6.zip

# Unzip GateIn-3.2.0.Final-tomcat6.zip

3. move the GateIn-3.2.0.Final-tomcat6 to/usr/local directory

# Music GateIn-3.2.0.Final-tomcat6/usr/local/

4. modify the Tomcat configuration file server. xml that is integrated with Tomcat in.

Because the jira installed previously uses port 8080, to avoid Port conflict, modify the Tomcat listening port and change port 8080 to the unused port.

1) run the following command to check which ports are in use.

# Netstat-lnp

2) modify the server. xml configuration file

# Vi/usr/local/GateIn-3.2.0.Final-tomcat6/conf/server. xml

After entering the editing mode, find Connector port = "8080", change 8080 to the unused port 2080, and press: wq to save and exit.

III. InstallationJdk

1, download jdk official website: jdk-6u31-linux-i586-rpm.bin

2. install jdk:

1) add executable permissions to the file

# Chmod + x jdk-6u31-linux-i586-rpm.bin

2) perform jdk-6u31-linux-i586-rpm.bin

#./Jdk-6u31-linux-i586-rpm.bin

Generate jdk-6u31-linux-i586-rpm after execution

3) install jdk-6u31-linux-i586-rpm

# Rpm-ivh jdk-6u31-linux-i586-rpm

Here, I installed jdk in the/usr/java directory.

IV. configure environment variables

Modify the/etc/profile file
# Vi/etc/profile
After opening the file, press the I key and add:

JAVA_HOME =/usr/java/jdk1. 6.0 _ 31
PATH = $ JAVA_HOME/bin: $ PATH
CLASSPATH =.: $ JAVA_HOME/lib/tools. jar: $ JAVA_HOME/lib/dt. jar

CATALINA_HOME =/usr/local/GateIn-3.2.0.Final-tomcat6/
ExportJAVA_HOME path classpath CATALINA_HOME

Press esc after adding
Enter: wq to save and exit.
Then log on again

5. startStored in

#/Usr/local/GateIn-3.2.0.Final-tomcat6/bin/logs in. shstart

VI. accessStored in

Enter http: // ip: 2080 in the browser to access ingress in.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.