How To Install Railo 3.2 Under OpenSUSE 11.3 Running Apache2 Tomcat 6 Virtual Host
Railo Server 3.2 Final. (3.2.1.000) has been released. As you know Railo is an Open Source ColdFusion Markup Language (CFML) engine. It is free and pretty fast.
For the new 3.2 version railo stop running resin, but tomcat as the default web server. Instead of compile apache2 with tomcat 6 by yourself, the railo team had created the default installation script which help you setup railo on tomcat6 and using apache2 to connect to tomcat via mod_jk.
Instead of using tomcat default webapps directory, we will modify the server.xml file and DocumentRoot will point back to default apache DocumentRoot directory defined under the virtual host configuration file.
The server is running OpenSUSE 11.3 (i386) on vmware player, and we need apache2 and Java installed before you run tomcat/railo service.
step 1. install java
step 2. install apache2
step 3. install railo/tomcat
step 4. integrate apache/tomcat/railo into named based virtual host
step 5. test
I do not guarantee the following works for you. (email@example.com)
1. Install java
After installation, add the following 2 lines to /etc/profile:
export JAVA_HOME=/usr/local/jdk1.6.0_21 export PATH=$PATH:/usr/local/jdk1.6.0_21/bin
And then save the file, run
to update system environment variables.
2. Install Apache2 And Make Package
zypper install apache2
3. Download Latest Railo 3.2 Package
Download latest railo 3.2 package from www.getrailo.org website into /tmp directory, and change it to executable (railo server with tomcat 6.0.29 for linux with *nix 32bit (run 97 MB)).
chmod +x /tmp/railo-3.2.1.000-pl0-linux-installer.run