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

Update docs. Refactor with expands

parent 6bb76ced
Pipeline #4411 passed with stages
in 3 minutes and 39 seconds
......@@ -10,25 +10,32 @@ The easiest method of installation and update is to use docker and docker-compos
### Docker install
#### Install python-pip for Centos/RHEL
#### Install python-pip
<details>
<summary>CentOS/RHEL </summary>
```
<pre><code>
yum install python-setuptools
easy_install pip
```
</code></pre>
</details>
#### How to install python-pip for Debian/Ubuntu
```
apt update; apt install --no-install-recommends python-pip curl
```
<details>
<summary>Debian/Ubuntu</summary>
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
systemctl start docker
```
Install docker compose
#### Install docker compose
```
pip install docker-compose
mkdir /etc/docker-compose/tower -p
......@@ -37,18 +44,24 @@ mkdir /etc/docker-compose/tower -p
### Setup 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
cd /etc/docker-compose/tower
docker-compose up -d
```
That it.
Also you can choose the loong way of manual installation
* [Debian](docs/Debian.md)
* [Centos](docs/CentOS.md)
* [Ubuntu](docs/Ubuntu.md)
* [Red Hat](docs/RHEL.md)
* [FreeBSD](docs/FreeBSD.md)
<details>
<summary>Also you can choose the long way of manual installation </summary>
These details will remain hidden until expanded.
<ul dir="auto">
<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
......
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