Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pavel Kuzin
tower
Commits
5d5b0e51
Commit
5d5b0e51
authored
May 30, 2017
by
Dmitry Lukhtionov
Browse files
Update Readme.md
parent
23fb2b56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Readme.md
View file @
5d5b0e51
...
...
@@ -53,12 +53,14 @@ Replace /opt/tower/ to directory of your choice
```
-
Create virtualenv
```
#!shell
/opt/tower# virtualenv .
```
-
Install Tower
```
#!shell
/opt/tower# ./bin/pip install --upgrade pip
...
...
@@ -66,6 +68,7 @@ Replace /opt/tower/ to directory of your choice
/opt/tower# chown -R tower var/
```
-
Generate Tower ssh keys
```
#!shell
/opt/tower# su - tower -c "ssh-keygen -t rsa -b 4096"
...
...
@@ -76,6 +79,7 @@ Add user tower to sudo group.
*
For example:
`adduser tower sudo`
*
Select Local installation type with local ip on Nodes screen.
*
Run Tower
```
#!shell
/opt/tower# su - tower -c "cd /opt/tower && ./bin/tower-web"
...
...
@@ -96,7 +100,8 @@ Add user tower to sudo group.
## Prepare nodes
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*
*
grant it passwordless
`sudo`
privileges and copy Tower's public ssh key (
*/home/tower/.ssh/id_rsa.pub*
) to
*ansible's*
```
#!shell
/opt/tower# su - tower -c "ssh-copy-id node_ip"
...
...
@@ -112,8 +117,6 @@ rhel_subscription_username: ""
rhel_subscription_password: ""
```
## FreeBSD Only
*
Add
*ansible*
user to /usr/local/etc/sudoers files in each nodes
## Proxy
In cause of using proxy for internet acces you should set proxy settings to
`/home/tower/.hgrc`
that way
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment