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.