Perform all installations logged in as root.
This link contains excellent instructions for installing Java 1.6.0_20 on Centos 5.5.
After installing Java, add the following to /etc/profile:
Although Centos is typically configured with OpenSSL, you need the development version to compile it into Resin. So the next step is to execute this command:
yum install openssl-devel
Next, change the permissions on
/etc/rc.d/init.d so that the
root group can create and delete files.
Next, this link from the Caucho website explains how to configure, make and build Resin Pro 4.0.7. However, during the configuration step, change the conf location to
create files and
read/write access to
/usr/local/resin/conf for the account under which Resin will run. This allows the admin app to generate the user and password file for the admin app.
Next, copy the license file (if you have one for Resin Pro) into
Open resin.xml and change the default webapp locations to directories in /var/www/. Grant full access to these directories and the WEB-INF directories inside them to the account under which Resin will run.
Log off as root. Log in as the user under which resin will run.
Open a terminal window and execute the following:
cd /usr/local/resin/bin/./resin.sh console
Resin should start normally as shown below:
You can test the installation by pointing Firefox to
localhost:8080, where you should see the default Resin page with links to docs and admin.
Point your browser to
http://localhost:8080/resin-admin and create a username and password for the admin app. Follow the instructions to rename the generated admin-user.xml file gets generated in
1. Hook Apache and Resin together. Apache will be the front-end web server.
2. Install certificates and configure Apache for SSL.
<database> entry in resin.xml.
4. Create SMTP entry in resin.xml.
5. Get SmartCompany to work.
6. Get Resin to start automatically at boot time.