2018-08-08 09:07:02 +02:00
# Installing
2018-09-08 23:23:34 +02:00
If you've [configured your DNS ](configuring-dns.md ) and have [configured the playbook ](configuring-playbook.md ), you can start the installation procedure.
2018-08-08 09:07:02 +02:00
Run this as-is to set up a server:
```bash
ansible-playbook -i inventory/hosts setup.yml --tags=setup-all
```
This **doesn't start any services just yet** (another step does this later - below).
Feel free to **re-run this any time** you think something is off with the server configuration.
2018-09-17 09:51:46 +02:00
## Things you might want to do after installing
2018-08-08 09:07:02 +02:00
After installing, but before starting the services, you may want to do additional things like:
- [Importing an existing SQLite database (from another installation) ](importing-sqlite.md ) (optional)
- [Restoring `media_store` data files from an existing installation ](restoring-media-store.md ) (optional)
2018-09-17 09:51:46 +02:00
## Starting the services
2018-08-08 09:07:02 +02:00
When you're ready to start the Matrix services (and set them up to auto-start in the future):
```bash
ansible-playbook -i inventory/hosts setup.yml --tags=start
```
2018-09-17 09:51:46 +02:00
Now that the services are running, you might want to:
- [create your first user account ](registering-users.md )
2018-10-21 11:58:25 +02:00
- or **finalize the installation process** by [Configuring service discovery via .well-known ](configuring-well-known.md )
2018-12-11 18:15:09 +02:00
- or [Check if services work ](maintenance-checking-services.md )
- or learn how to [upgrade your services when new versions are released ](maintenance-upgrading-services.md )