Debian Sarge (3.1) with Ruby on Rails and Apache 2 with FastCGI - Page 6
Install ISPConfig (it includes ClamAV and SpamAssassinNote if the install source is not valid go to www.ispconfig.org and locate it.
cd /usr/local/src 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.
SpamAssassinThe ISPConfig comes with SpamAssassin, but without the Perl modules needed by SpamAssassin. Run the following command after the installation of the ISPConfig: /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin 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 http://www.ispconfig.org/downloads/phpmyadmin-2.6.4-pl3.pkg 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!
|



print: 


Recent comments
1 day 4 hours ago
1 day 10 hours ago
3 days 6 hours ago
5 days 3 hours ago
6 days 5 hours ago
6 days 16 hours ago
1 week 7 hours ago
1 week 17 hours ago
1 week 22 hours ago
1 week 1 day ago