Commit 52ffc162 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Update docs. Refactor with expands

parent 6bb76ced
...@@ -10,25 +10,32 @@ The easiest method of installation and update is to use docker and docker-compos ...@@ -10,25 +10,32 @@ The easiest method of installation and update is to use docker and docker-compos
### Docker install ### Docker install
#### Install python-pip for Centos/RHEL #### Install python-pip
<details>
<summary>CentOS/RHEL </summary>
``` <pre><code>
yum install python-setuptools yum install python-setuptools
easy_install pip easy_install pip
``` </code></pre>
</details>
#### How to install python-pip for Debian/Ubuntu <details>
``` <summary>Debian/Ubuntu</summary>
apt update; apt install --no-install-recommends python-pip curl
```
Install docker daemon <pre><code>
apt update
apt install --no-install-recommends python-pip curl
</code></pre>
</details>
#### Install docker daemon
``` ```
curl https://get.docker.com | sudo sh curl https://get.docker.com | sudo sh
systemctl start docker systemctl start docker
``` ```
Install docker compose #### Install docker compose
``` ```
pip install docker-compose pip install docker-compose
mkdir /etc/docker-compose/tower -p mkdir /etc/docker-compose/tower -p
...@@ -37,18 +44,24 @@ mkdir /etc/docker-compose/tower -p ...@@ -37,18 +44,24 @@ mkdir /etc/docker-compose/tower -p
### Setup tower ### Setup tower
Place `docker-compose.yml` from project root to `/etc/docker-compose/tower` Place `docker-compose.yml` from project root to `/etc/docker-compose/tower`
``` ```
cd /etc/docker-compose/tower
curl https://code.getnoc.com/noc/tower/raw/master/docker-compose.yml > /etc/docker-compose/tower/docker-compose.yml curl https://code.getnoc.com/noc/tower/raw/master/docker-compose.yml > /etc/docker-compose/tower/docker-compose.yml
cd /etc/docker-compose/tower
docker-compose up -d docker-compose up -d
``` ```
That it. That it.
Also you can choose the loong way of manual installation <details>
* [Debian](docs/Debian.md) <summary>Also you can choose the long way of manual installation </summary>
* [Centos](docs/CentOS.md) These details will remain hidden until expanded.
* [Ubuntu](docs/Ubuntu.md)
* [Red Hat](docs/RHEL.md) <ul dir="auto">
* [FreeBSD](docs/FreeBSD.md) <li><a href="/noc/tower/blob/master/docs/Debian.md">Debian</a></li>
<li><a href="/noc/tower/blob/master/docs/CentOS.md">Centos</a></li>
<li><a href="/noc/tower/blob/master/docs/Ubuntu.md">Ubuntu</a></li>
<li><a href="/noc/tower/blob/master/docs/RHEL.md">Red Hat</a></li>
<li><a href="/noc/tower/blob/master/docs/FreeBSD.md">FreeBSD</a></li>
</ul>
</details>
## Prepare nodes ## Prepare nodes
......
Supports Markdown
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