This project allows you to install ecloud services on your own server. It is the same
This project allows you to install ecloud services on your own server. It is a similar
setup that is used on [ecloud.global](https://ecloud.global).
The project is currently in beta. You should have some experience with Linux server
administration if you want to use it. The current setup makes updates difficult,
so manual intervention might be necessary. In the future, we will switch to Ansible
for deployment to simplify this.
for deployment to simplify this. (TBD remove this once ansible is in use)
## Requirements
@@ -25,6 +25,8 @@ For the setup without OnlyOffice, requirements are a bit lower:
Disk space only refers to the basic installation. You will need additional space for any emails,
documents and files you store on the server.
Additionally you will need to have a minimum of one domain registered.
## Installation
### Create Ubuntu VPS
@@ -33,7 +35,14 @@ The project should work with any Ubuntu VPS. Suggestions include [Hetzner](https
or [OVH](https://www.ovh.co.uk/vps/vps-ssd.xml). Hosting at home is also possible in principle,
but you will probably have problems with sending email (most providers will classify your email as spam).
First, create your VPS and point the domain at it. Then set the reverse DNS to the same domain
The below example will use `yourdomain.com` to explain the (initial) DNS setup you need to have for this to work.
TBD this is maybe a bit too technical?
First, create your VPS (note down its IP, 1.2.3.4 in this example) and create two A records in the zone file of your domain on your DNS server (or the corresponding webui of the domain registrar):
- A record from @ -> 1.2.3.4 (@ stands for the main domain itself - but not as a placeholder in this text, literally use @!)
- A record from mail -> 1.2.3.4 (CNAME would NOT be sufficient!)
Then set the reverse DNS of 1.2.3.4 to mail.yourdomain.com.
(this is usually possible in the VPS settings on the hoster's website).
In the following text, `$DOMAIN` refers to the domain that you configured for your selfhosting server.
@@ -45,7 +54,51 @@ Login to server as root. Execute this command and follow its on-screen instructi
The setup script will ask you to input some details of your setup (like your domain name) and to setup additional DNS records (the two A records plus the PTR record were set already above).
Enter your mailserver (management) domain (e.g. domainA.com):
yourdomain.com
Optionally enter additional domain(s) (comma separated, no white spaces) to handle mail for (e.g. domainB.com,domainC.com) or just press enter if you need none: