<\/span><\/h2>\r\n\r\n\r\n\r\nThere are two RainLoop Webmail editions available for download: Community Edition (under the AGPL v3 license) and Standard Edition (under the RainLoop software license).<\/p>\r\n\r\n\r\n\r\n
For the purposes of this tutorial, we will install the free and open-source community edition.<\/p>\r\n\r\n\r\n\r\n
To download the latest RainLoop Webmail community version, run the following command:<\/p>\r\n\r\n\r\n\r\n
wget http:\/\/www.rainloop.net\/repository\/webmail\/rainloop-community-latest.zip<\/pre>\r\n\r\n\r\n\r\nNext, let’s create a new directory for our RainLoop webmail installation. In our example, we will use \/var\/www\/rainloop<\/code>, but you can also choose a different location.<\/p>\r\n\r\n\r\n\r\nTo create the rainloop<\/code> directory, run the following command:<\/p>\r\n\r\n\r\n\r\nsudo mkdir \/var\/www\/rainloop<\/pre>\r\n\r\n\r\n\r\nTo extract the files into this new directory, run the following command:<\/p>\r\n\r\n\r\n\r\n
unzip rainloop-community-latest.zip -d \/var\/www\/rainloop<\/pre>\r\n\r\n\r\n\r\n<\/span>Step 3: Set Permissions<\/span><\/h2>\r\n\r\n\r\n\r\nOnce the installation is completed, you will need to set the correct file and directory permissions.<\/p>\r\n\r\n\r\n\r\n
To set the proper read\/write permissions, run the following commands:<\/p>\r\n\r\n\r\n\r\n
cd \/var\/www\/rainloop\r\nfind . -type d -exec chmod 755 {} \\;\r\nfind . -type f -exec chmod 644 {} \\;<\/pre>\r\n\r\n\r\n\r\nThe owner of the files needs to be the user of the web server running on your system. In our example, we are using the Apache web server and Apache runs under the “www-data” user on Ubuntu. To change the owner of the files, you can then run the following commands:<\/p>\r\n\r\n\r\n\r\n
cd \/var\/www\/rainloop\r\nchown -R www-data:www-data .<\/pre>\r\n\r\n\r\n\r\nThe same user should also apply in case you’re using Nginx.<\/p>\r\n\r\n\r\n\r\n