Commit 0f87b844 authored by Chris Croome's avatar Chris Croome

README updated, see #4

parent 220b1e81
## Install
Ansible Playbook to install [Nextcloud](https://nextcloud.com/), first install python and run a Playbook to create suders and add your public `ssh` keys (if the server is being set up to run on a Webarchitects VPS then please also run the [Ansible Playbook](https://git.coop/webarch/ansible) and an appropriate sudoers one) and then:
Ansible Playbook to install [Nextcloud](https://nextcloud.com/), some roles are pulled in using Ansible Galaxy, see the `requirements.yml` file, they can be downloaded / updated by running this command before running a playbook:
```bash
ansible-galaxy install -r requirements.yml --force -p roles
```
First install python and run a Playbook to create suders and add your public `ssh` keys (if the server is being set up to run on a Webarchitects VPS then please also run the [Ansible Playbook](https://git.coop/webarch/ansible) and an appropriate sudoers one) and then:
```bash
export SERVERNAME="nextcloud.example.org"
ansible-galaxy install -r requirements.yml --force
ansible-playbook nextcloud.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
```
......@@ -15,21 +23,17 @@ If you want the [Antivirus for files app](https://apps.nextcloud.com/apps/files_
```bash
export SERVERNAME="nextcloud.example.org"
ansible-galaxy install -r requirements.yml --force
ansible-playbook clamav.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}"
```
### Collabora
This role depends on the [Webarchitects Docker repo](https://git.coop/webarch/docker) and this Ansible role can be included and updated by running the following command before running the Playbook:
```bash
ansible-galaxy install -r requirements.yml --force -p roles
```
If you want [Collabora](https://nextcloud.com/collaboraonline/) then make sure to set a hostname up for Collabora, eg `collabora.nextcloud.example.org` and point it at the same IP address as you set for `nextcloud.example.org` and then run:
```bash
export SERVERNAME="nextcloud.example.org"
ansible-galaxy install -r requirements.yml --force -p roles
ansible-playbook collabora.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
```
......@@ -39,6 +43,7 @@ A TURN (Traversal Using Relay NAT) server is needed for [Nextcloud Talk](https:/
```bash
export SERVERNAME="nextcloud.example.org"
ansible-galaxy install -r requirements.yml --force -p roles
ansible-playbook coturn.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
```
......@@ -48,6 +53,7 @@ If you want to use [JavaScript XMPP Chat](https://apps.nextcloud.com/apps/ojsxc)
```bash
export SERVERNAME="nextcloud.example.org"
ansible-galaxy install -r requirements.yml --force -p roles
ansible-playbook prosody.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
```
......@@ -99,6 +105,7 @@ To just upgrade Collabora Online either re-run the Collabora Playbook:
```bash
export SERVERNAME="nextcloud.example.org"
ansible-galaxy install -r requirements.yml --force -p roles
ansible-playbook collabora.yml -i ${SERVERNAME}, -e "hostname=${SERVERNAME}" -v
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment