Ech0 - 00 / 00 / 00

Rainloop Setup

Rent a VPS with debian 10+ (or just run it yourself, but make sure it is correctly port forwarded so that public ip points to the machine like a vps).

Once you have ssh'd into your debian server as root, we can start:

Initial Setup

First install all the dependencies:


apt install php7.3 php7.3-common php7.3-curl php7.3-xml php7.3-fpm php7.3-json php7.3-dev php7.3-mysql nginx curl socat unzip -y

Then configure nginx:


wget https://ech1.github.io/blog/servers/rainloop/rainloop.conf -O /etc/nginx/sites-available/rainloop.conf
nano /etc/nginx/sites-available/rainloop.conf

Here make sure you edit the configuration file properly so that the domain name matches your own domain name. once you're done editing the file, hit CTRL+S to save and CTRL+X to exit nano. If you don't have a domain name, just go for a free alternative like DuckDNS.

You can verify it is working by doing the following:

Next we're going to get a free letsencrypt SSL certificate using acme.sh:


wget -O -  https://get.acme.sh | sh
source ~/.bashrc
systemctl stop nginx 
acme.sh --issue --standalone -d ech2.duckdns.org -k 4096
systemctl start nginx 

Next we enable the site:


ln -s /etc/nginx/sites-available/rainloop.conf /etc/nginx/sites-enabled/rainloop.conf
nginx -t
systemctl restart nginx

Once that's done, reload nginx and install rainloop:


cd /opt
wget http://www.rainloop.net/repository/webmail/rainloop-community-latest.zip
unzip rainloop-community-latest.zip -d /var/www/
chown www-data: -R /var/www/

Next configure php7.3-fpm correctly:


cd /etc/php/7.3/

echo 'date.timezone = Europe/Paris' >> fpm/php.ini
echo 'date.timezone = Europe/Paris' >> cli/php.ini

systemctl enable --now php7.3-fpm nginx
systemctl restart php7.3-fpm nginx

Once that's done, simply browse to your website:

You need to browse to the url "https://ech2.duckdns.org/?admin", The default admin password is admin:12345

Once you're logged in, make sure to change the admin password

And you're done! now you simply need to configure rainloop and test if it is working, so log out, and go back to the root directory https://ech2.duckdns.org/:

2



3



My Bunker

Some Address 67120,
Duttlenheim, France.

About Ech0

This cute theme was created to showcase your work in a simple way. Use it wisely.