Commit 5fb2270f authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

noc-tower 0.1a12

parent 310706c0
......@@ -11,6 +11,15 @@ NOC (http://nocproject.org/) installations.
# useradd -d /home/tower -g tower -s /bin/bash -m tower
```
### FreeBSD
```
#!shell
# pkg install -y python2 libffi py27-pip py27-virtualenv py27-sqlite ca_root_nss
# pw groupadd -n tower
# pw useradd -g tower -s /bin/sh -d /home/tower -n tower -m
```
## Installation
- Create Tower directory
......@@ -29,7 +38,7 @@ NOC (http://nocproject.org/) installations.
- Install Tower
```
#!shell
/opt/tower# ./bin/pip install https://cdn.nocproject.org/tower/noc-tower-0.1a10.tar.gz
/opt/tower# ./bin/pip install https://cdn.nocproject.org/tower/noc-tower-0.1a11.tar.gz
/opt/tower# chown -R tower var/
```
- Generate Tower ssh keys
......@@ -44,14 +53,6 @@ NOC (http://nocproject.org/) installations.
/opt/tower# su - tower -c "cd /opt/tower && ./bin/tower-web"
```
### FreeBSD
```
#!shell
# pkg install -y python2 libffi py27-pip py27-virtualenv py27-sqlite ca_root_nss
# pw groupadd -n tower
# pw useradd -g tower -s /bin/sh -d /home/tower -n tower -m
```
## Installation
- Create Tower directory
......@@ -101,4 +102,4 @@ NOC (http://nocproject.org/) installations.
On each node create ansible user (*ansible* by default),
grant it passwordless sudo privileges and copy Tower's
public ssh key (/home/tower/.ssh/id_rsa.pub) to *ansible's*
*authorized_keys* (*/home/ansible/.ssh/authorized_keys*)
\ No newline at end of file
*authorized_keys* (*/home/ansible/.ssh/authorized_keys*)
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