Debian Sarge (3.1) with Ruby on Rails and Apache 2 with FastCGI - Page 6
Install ISPConfig (it includes ClamAV and SpamAssassin
Note if the install source is not valid go to www.ispconfig.org and locate it.
At the prompts:
Installation mode answer expert
Fill in the certificate info.
When asked for a pass phrase choose n or otherwise you will be asked for it when you start ISPConfig which means it cannot be started without human interaction.
Afterwards the following information has to be provided:
Please enter your MySQL server: E.G. localhost
After you have answered the questions ISPConfig should be duly installed. If you indicated www as host and xyz.com as the domain during the installation, you will find the ISPConfig interface under https://www.xyz.de:81 or http://www.xyz.de:81. Here you can login first with the user name admin and password admin.
The ISPConfig comes with SpamAssassin, but without the Perl modules needed by SpamAssassin. Run the following command after the installation of the ISPConfig:
If no errors occur you can exit with ^c.
After you have logged into ISPConfig for the first time -- remember admin-admin. It is recommended to change the password immediately! This can be done under Tools -> Change password.
You might want to add phpmyadmin to ISPConfig go to Management -> UpdateManager -> Update and paste
into the url box, choose url and press update.
To create a Ruby on Rails hosting site.
Create a Hosting plan with
in the Apache Directives box.
Create the New site using the Hosting plan.
In the rails application rename the public directory to web. (The following assumes that the directory created by the hosting plan is web1. Change the following accordingly if it is not.)
cd (rails application directory)
Copy everything in the rails directory to the new directory created on your server for the website.
cp -R * /var/www/web1
Modify the .htaccess in the web directory by adding
and removing any option directives.
Make sure the webserver can access all the files by changing the owner of the files to your web server.
cd /var/www/web1 (or whatever your website directory is.)
It should work now!