|
@@ -67,7 +67,7 @@ Installation
|
67
|
67
|
|
68
|
68
|
The following steps are done on the remote server by `ssh`ing into it and running these commands.
|
69
|
69
|
|
70
|
|
-### 1. Install required packages
|
|
70
|
+### 1. Install required packages e.g `aptitude` is required on Debian
|
71
|
71
|
|
72
|
72
|
apt-get install sudo
|
73
|
73
|
|
|
@@ -115,6 +115,7 @@ Ansible (the tool setting up your server) runs locally on your computer and send
|
115
|
115
|
Modify the settings in the `group_vars/sovereign` folder to your liking. If you want to see how they’re used in context, just search for the corresponding string.
|
116
|
116
|
All of the variables in `group_vars/sovereign` must be set for sovereign to function.
|
117
|
117
|
|
|
118
|
+- Mail
|
118
|
119
|
Setting `password_hash` for your mail users is a bit tricky. You can generate one using [doveadm-pw](http://wiki2.dovecot.org/Tools/Doveadm/Pw).
|
119
|
120
|
|
120
|
121
|
# doveadm pw -p'YOUR_PASSWORD' -s SHA512-CRYPT | sed -e 's/{.*}//'
|
|
@@ -130,6 +131,7 @@ On OS X and other platforms the [passlib](https://pythonhosted.org/passlib/) pac
|
130
|
131
|
|
131
|
132
|
python -c 'import passlib.hash; print(passlib.hash.sha512_crypt.encrypt("password", rounds=5000))'
|
132
|
133
|
|
|
134
|
+- ZNC
|
133
|
135
|
Same for the IRC password hash…
|
134
|
136
|
|
135
|
137
|
# znc --makepass
|
|
@@ -155,6 +157,7 @@ On OS X and other platforms the passlib:https://pythonhosted.org/passlib/ packag
|
155
|
157
|
|
156
|
158
|
python -c 'import passlib.hash; print("irc_password_salt: {}\nirc_password_hash: {}".format(*passlib.hash.sha256_crypt.encrypt("password", rounds=5000).split("$")[2:]))'
|
157
|
159
|
|
|
160
|
+- Git
|
158
|
161
|
For Git hosting, copy your public key into place:
|
159
|
162
|
|
160
|
163
|
cp ~/.ssh/id_rsa.pub roles/git/files/gitolite.pub
|