Changes between Version 5 and Version 6 of InstallationTips
- Timestamp:
- Jun 24, 2010, 12:31:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationTips
v5 v6 7 7 We would rather help than have you give up and miss out on a great application. [[BR]] 8 8 9 '''Tomcat Setup Tips''' 9 '''Debian GNU/Linux''' 10 11 We highly recommend using Debian stable as the host operating system. [[BR]] 12 It is a free, stable, powerful and very widely used operating system for servers. [[BR]] 13 All our testing and configuration is done against Debian servers. [[BR]] 14 15 * Install sun-java5, be sure that no gcj (GNU java) packages are installed: 16 {{{ 17 dpkg --get-selections |grep gcj 18 }}} 19 Note: The above search command must return NO packages. 20 {{{ 21 aptitude install sun-java5-jdk 22 }}} 23 24 * Install tomcat: 25 {{{ 26 aptitude install tomcat5.5 27 }}} 28 29 * Install mysql: 30 {{{ 31 aptitude install mysql-server 32 }}} 33 34 '''Tomcat''' 10 35 11 36 * In Debian add/adjust the following lines in /etc/default/tomcat5.5: … … 51 76 JkMount /*/servlet/ ajp13_worker 52 77 }}} 78 * To configure mod-jk in Debian double check these lines in /etc/libapache2-mod-jk/workers.properties: 79 {{{ 80 workers.tomcat_home=/var/lib/tomcat5.5 81 workers.java_home=/usr/lib/jvm/java-1.5.0-sun 82 }}} 53 83 * Then run: 54 84 * a2enmod jk … … 58 88 59 89 * In Debian MySQL only listens on 127.0.0.1 out of the box. 60 * Comment this line out in /etc/mysql/my.cnf:90 * ONLY if you need to access mysql from outside, then comment this line out in /etc/mysql/my.cnf: 61 91 * #bind-address = 127.0.0.1 62 92