Changes

From SME Server
Jump to navigationJump to search
71 bytes added ,  15:00, 11 May 2010
m
categorisation
Line 6: Line 6:  
*<b>Download java jdk and upload it to your sme server</b>
 
*<b>Download java jdk and upload it to your sme server</b>
   −
Go to java.sun.com and download jdk
+
Go to [http://java.sun.com/javase/downloads/index.jsp java.sun.com] and download jdk
For my example I use jdk-1_5_0_06-linux-i586-rpm.bin
+
For my example I use jdk-6-linux-i586-rpm.bin
 
ATTENTION: adapt all document jdk filename depending witch file you download
 
ATTENTION: adapt all document jdk filename depending witch file you download
    
*<b>Install Java jdk</b>
 
*<b>Install Java jdk</b>
  chmod a+x jdk-1_5_0_06-linux-i586-rpm.bin
+
  chmod a+x jdk-6-linux-i586-rpm.bin
  ./jdk-1_5_0_06-linux-i586-rpm.bin
+
  ./jdk-6-linux-i586-rpm.bin
  ln -s /usr/java/jdk1.5.0_06 /usr/java/jdk
+
  ln -s /usr/java/jdk1.6.0 /usr/java/jdk
After executing bin file, you can remove both file jdk-1_5_0_06-linux-i586-rpm.bin and jdk-1_5_0_06-linux-i586.rpm
+
After executing bin file, you can remove both file jdk-6-linux-i586-rpm.bin and jdk-6-linux-i586.rpm
    
*<b>Download tomcat last version</b>
 
*<b>Download tomcat last version</b>
    
Go to Tomcat download website.
 
Go to Tomcat download website.
Download Core module apache-tomcat-5.5.17.tar.gz and Administration Web application apache-tomcat-5.5.17-admin.tar.gz
+
Download Core module apache-tomcat-6.0.14.tar.gz and Administration Web application apache-tomcat-5.5.23-admin.tar.gz
 
if you want another tomcat modules go here.
 
if you want another tomcat modules go here.
  wget http://apache.root.lu/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.tar.gz
+
  wget http://apache.root.lu/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.tar.gz
wget http://apache.root.lu/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17-admin.tar.gz
      
*<b>Unpack archive</b>
 
*<b>Unpack archive</b>
    
Unzip and move it
 
Unzip and move it
  tar -xvzf apache-tomcat-5.5.17.tar.gz
+
  tar -xvzf apache-tomcat-6.0.14.tar.gz
tar -xvzf apache-tomcat-5.5.17-admin.tar.gz
+
  mv apache-tomcat-6.0.14 /opt/
  mv apache-tomcat-5.5.17 /opt/
   
  cd /opt
 
  cd /opt
  ln -s apache-tomcat-5.5.17 tomcat
+
  mv apache-tomcat-6.0.14 tomcat
    
*<b>Create user and group</b>
 
*<b>Create user and group</b>
Line 47: Line 45:  
  #
 
  #
 
   
 
   
  NAME="Jakarta Tomcat 5"
+
  NAME="Jakarta Tomcat 6"
 
  TOMCAT_HOME=/opt/tomcat
 
  TOMCAT_HOME=/opt/tomcat
 
  CATALINA_HOME=/opt/tomcat
 
  CATALINA_HOME=/opt/tomcat
Line 84: Line 82:     
End MasterSleepy HOWTO
 
End MasterSleepy HOWTO
 +
 +
Add MySQL Database Connector
 +
 +
  1. Download the MySQL Java Database Connector http://dev.mysql.com/downloads/connector/j/
 +
  2. Copy the JAR file into /opt/tomcat/lib
    
If you want to access Tomcat outside your local network, you must open port 8080 (or whatever you configured).
 
If you want to access Tomcat outside your local network, you must open port 8080 (or whatever you configured).
Line 92: Line 95:  
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 +
[[Category:Administration]]

Navigation menu