Installing Railo on CentOS with Apache

I will add more to this later but wanted to write down these core steps before I forgot them. Hopefully this will save you some, since the other documentation I have found is mainly for installing Railo on Ubuntu Server.

Here are the steps on how I was able to generate the mod_caucho.so on CentOS for Apache.

1. I installed the package "httpd-devel" via Yum

2. In the Railo Directory I ran the following Commands:

./configure --with-apache=/usr/include/httpd

make

make install
3. That automatically put the mod_caucho.so into the /etc/httpd/modules directory

4. I then added this to the /etc/httpd/conf/httpd.conf file

LoadModule caucho_module modules/mod_caucho.so
I also added this right below the LoadModule
ResinConfigServer localhost 6800
CauchoConfigCacheDirectory /tmp
CauchoStatus yes

5. I then restarted apache.

6. In resin.conf I added this line:

<host id="mydomain.com">
<web-app id="/" document-directory="/home/randy/mydomain.com"/>
<host-alias>www.mydomain.com</host-alias>

</host>
7. When you save Railo will restart automatically.

To get Railo to not restart automatically change this line:

<dependency-check-interval>2s</dependency-check-interval>

to
<dependency-check-interval>-1</dependency-check-interval>

You still have to follow the instructions to finish up the configuration. The PDF I am following is:

Railo Apache Install Guide

TrackBacks
There are no trackbacks for this entry.

Trackback URL for this entry:
http://www.cfedge.com/trackback.cfm?EB2C5BC3-ED11-4348-85A0081E88E09E3D

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.7.