Running Roundcube 0.7.1 On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.10 - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2012-03-04 21:11. ::

Now we can launch the web-based Roundcube installer by going to http://www.example.com/installer/:

Scroll down and click on START INSTALLATION:

On the next page the installer checks if your environment fulfills all prerequisites. If everyting is ok,...

... scroll down and click on NEXT:

On the next page you can configure. Most default settings should be ok. Scroll down to the Database setup section and fill in the details for the Roundcube MySQL database that we've previously created:

Then go to the IMAP Settings section and fill in the details of your IMAP server. If it is located on the same server, fill in localhost in the default_host field. If you want to use IMAPS (port 993), prepend the hostname with ssl:// and change the default_port field to 993:

Under SMTP Settings fill in your SMTP server (localhost if it's on the same host). If the SMTP server uses the same login details as your IMAP server, please check Use the current IMAP username and password for SMTP authentication:

If all other settings are ok (as I mentioned before, the default settings in all other sections should be fine), click on the CREATE CONFIG button:

On the next page you will see two configuration files (main.inc.php and db.inc.php). Copy the contents and create both files in the config directory (/var/www/www.example.com/web/config in this case):

vi /var/www/www.example.com/web/config/main.inc.php

vi /var/www/www.example.com/web/config/db.inc.php

After you have created both files, click on CONTINUE:

On the next page, click on the Initialize database button to make the installer create the Roundcube MySQL database:

Finally (this is optional) you have the possibility to test your SMTP and IMAP login:

After the installation has finished, you should delete the Roundcube installer directory:

rm -fr /var/www/www.example.com/web/installer

Now you can go to http://www.example.com/ and use Roundcube to log into your email account:

This is how Roundcube looks:

 

4 Links

 

About The Author

Falko Timme is the owner of Boost Your Site mit Timme Hosting - ultra-schnelles nginx-WebhostingTimme Hosting (ultra-fast nginx web hosting). He is the lead maintainer of HowtoForge (since 2005) and one of the core developers of ISPConfig (since 2000). He has also contributed to the O'Reilly book "Linux System Administration".


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.