File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 18
18
# curl https://raw.github.com/gitlabhq/gitlab-recipes/master/install/v4/ubuntu_server_1204.sh | sudo domain_var=gitlab.example.com sh
19
19
#
20
20
21
- echo " Host localhost
22
- StrictHostKeyChecking no
23
- UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
24
-
25
21
26
22
# ==
27
23
# == 0. FQDN
34
30
exit
35
31
fi
36
32
33
+ echo " Host localhost
34
+ StrictHostKeyChecking no
35
+ UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
36
+
37
+ echo " Host $domain_var
38
+ StrictHostKeyChecking no
39
+ UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config
40
+
37
41
38
42
# ==
39
43
# == 1. Packages
@@ -149,6 +153,7 @@ sudo -u gitlab -H cp config/gitlab.yml.example config/gitlab.yml
149
153
sudo -u gitlab -H cp config/database.yml.mysql config/database.yml
150
154
sudo sed -i ' s/"secure password"/"' $userPassword ' "/' /home/gitlab/gitlab/config/database.yml # Insert the mysql root password.
151
155
sudo sed -i " s/ host: localhost/ host: $domain_var /" /home/gitlab/gitlab/config/gitlab.yml
156
+ sudo sed -i " s/ssh_host: localhost/ssh_host: $domain_var /" /home/gitlab/gitlab/config/gitlab.yml
152
157
sudo sed -i " s/notify@localhost/notify@$domain_var /" /home/gitlab/gitlab/config/gitlab.yml
153
158
154
159
# Copy the example Unicorn config
You can’t perform that action at this time.
0 commit comments