I am just getting into using Ubuntu and Railo and after experimenting with a few different installations, the following steps were the simplest I could find.
For this installation I am using:
VMWare Player to set up a nice Railo Ubuntu virtual machine
Ubuntu 9.10
Railo 3.1.2
You can assume that these instructions are for a development server and not for production use.
Ensure Ubuntu is up to date
Make sure everything is up to date.
sudo apt-get update sudo apt-get upgrade
Install LAMP Server
This gets us Apache, MySQL and PHP setup.
sudo tasksel install lamp-server
Install Railo and Tomcat
Jordan Michaels of Viviotech has put together the worlds easiest Railo installer.
Download the latest version of the Railo installer from http://railo.viviotech.net/
Make the file executable and start the installation:
wget http://railo.viviotech.net/railo-3.1.2.001-pl0-linux-installer.bin chmod +x railo-3.1.2.001-pl0-linux-installer.bin sudo ./railo-3.1.2.001-pl0-linux-installer.bin
Follow the installation instructions.
Very Important but easy: The default values are not for Ubuntu, so make sure you READ at the installation notes and enter in the Ubuntu suggestions.
Check Railo is working
Open up a browser, go to the Railo web administrator, and provide a password
http://localhost/railo-context/admin/web.cfm
Then repeat for the server admin
http://localhost/railo-context/admin/server.cfm

7 Comments
Thanks! Awesome! I tried several other approaches, and they all tested my paltry Linux admin skills. This approach, on the other hand, just works!
Thanks so much.
Was this on Ubuntu server edition?
Hi Brad, yes this was on the server edition.
Just wondering why you stated “You can assume that these instructions are for a development server and not for production use.” Is there any particular reason why this set up could not be use in production? Thanks!
Hi Max, additional steps would be required to ensure a secure setup for a production server. I am not a server admin so I just included that note as a disclaimer.
Cool. I figured it was just a disclaimer. BTW, thanks for providing these Railo tutorials. No other resource I’ve found has explained the setup in such simple terms! Keep it up!
See this link:
http://diegobenna.blogspot.com/2011/01/install-tomcat-7-in-ubuntu-1010.html
for install tomcat7 on Linux (Ubuntu 10.10 tested)
2 Trackbacks
[...] am using the very easy Viviotech Railo installer for my Railo installations with Apache and Tomcat on Ubuntu (or [...]
[...] I’m experimenting with installing and configuring on a local VM of Ubuntu, if that goes well I’ll rent a vps package and install there. Helpful instructions for installing Railo on Ubuntu can be found here. [...]