## Instructions to replicate/install, and configure CommonsCloud
A step by step howto replicate CommonsCloud
### 1. Install Ansible
We use Ansible to provision our servers.
Before we begin you need to [[ commonscloud/despliegue/ansible/ | install Ansible ]] and do some configurations on youw workstation/Laptop
### 2. Add Monitoring with Zabbix
A handful of servers can be difficult to monitor. We employ Zabbix to monitor events and manage alerts.
Continue to [[ commonscloud/monitoring/zabbix/ | set up a Zabbix server ]]
### 3. Install LDAP provider and web interface
CommonsCloud uses LDAP to authenticate users. The first step to replicate CommonsCloud is to install the [[ commonscloud/despliegue/ldap/ | LDAP server and the onboarding software ]].
Before continuing you should have.
1. Created a user with sudo permission on a server
2. Added the server to the Zabbix host list
3. Synchronized the LDAP database on the server
## 4. Backups
We use borg-backup to make incremental backups of important data of our servers.
Configure the backup server.
## Base configuration. (defunct)
The [[ https://phabricator.femprocomuns.cat/w/commonscloud/despliegue/base-config/ | first configuration steps ]] on a new server. Hostname, firewall, smtp,..