This brief tutorial shows students and new users how to install the RainLoop webmail client on Ubuntu with Nginx and PHP 7.2 support. With no database required, RainLoop comes with decent performance, simple installation and upgrade and support for IMAP and SMTP protocols (SSL, STARTTLS), sieve scripts support, and integration with Facebook, Google, Twitter, Dropbox, and many more. For more about RainLoop, please check out its homepage. Some highlights of RainLoop:

Modern user interface. Complete support of IMAP and SMTP protocols including SSL and STARTTLS. Sieve scripts (Filters and vacation messages). Minimalistic resources requirements. Direct access to mail server is used (mails are not stored locally on web server). Allows for adding multiple accounts to primary one, simultaneous access to different accounts in different browser tabs is supported. Additional identities.

When you’re ready to get RainLoop installed on Ubuntu, follow the steps below:

Install Nginx HTTP Server

Nginx HTTP Server is probably the most popular web server in use. so install it, since RainLoop needs it. To install Nginx HTTP on the Ubuntu server, run the commands below. After installing Nginx, the commands below can be used to stop, start and enable the Nginx service to always start up with the server boots. To test whether Nginx is installed, open your browser and browse to the server hostname or IP address. When you see that, then Nginx is working as expected.

PHP 7.2-FPM may not be available in Ubuntu default repositories. to install it, you will have to get it from third-party repositories. Run the commands below to add the below third party repository to upgrade to PHP 7.2-FPM Then update and upgrade to PHP 7.2-FPM Next, run the commands below to install PHP 7.2-FPM and related modules. After installing PHP 7.2, run the commands below to open the PHP default config file for Nginx. Then make the changes on the following lines below in the file and save. The value below is a great setting to apply in your environment. After making the change above, save the file and closeout. After installing PHP and related modules, all you have to do is restart Nginx to reload PHP configurations. To restart Nginx, run the commands below To test PHP 7.2 settings with Nginx, create a phpinfo.php file in the Nginx root directory by running the commands below Then type the content below and save the file.

Save the file. then browse to your server hostname followed by /phpinfo.php You should see the PHP default test page.

Download and Configure RainLoop

Now that Nginx and PHP 7.2-FPM is installed, use the steps below to download and configure the RainLoop environment on Ubuntu servers. First, use the commands below to download the latest version. After that create the RainLoop directory and extract the download content there. Next, configure the directory access permission for Nginx. When you’re done, run the commands below to create a rain loop Nginx configuration file. Then copy and paste the content below into the file and save it. Save the file and exit. Next, run the commands below to enable RainLoop virtual host and restart Nginx. Finally, open your web browser and browse the server name to access the back-end portal. The default username and password: admin and password 12345 Log in and begin configuring RainLoop Congratulations! You have successfully installed and configured RainLoop on Ubuntu 16.04 | 18.04 with Nginx and PHP 7.2-FPM. You may also like the post below: