Bonjour j'ai installé gitlab sur un serveur ubuntu cependant je ne peux pas l'utiliser pour le moment. Je dois créer un vhost.
Chemin d'installation gitlab :
Chemin web :/home/git/gitlab/public/
J'ai créé un fichier gitlab.conf dans /etc/apache2/sites-available/
Code : Sélectionner tout - Visualiser dans une fenêtre à part /var/www/gitlab/
Contenu :
Fichier Hosts /etc/hosts:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 <VirtualHost *:80> ServerAdmin webmaster@ks3309999.kimsufi.com ServerName ks3309999.kimsufi.com <Directory /gitlab> Order Deny,Allow Deny from All ServerAlias ci ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPreserveHost on ProxyPass / http://localhost:8080/ </Directory> </VirtualHost>
Je n'ai rien mis
Fichier /home/git/gitlab/config/gitlab.yml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 # # 1. GitLab app settings # ========================== ## GitLab settings gitlab: ## Web server settings host: ks3309999.kimsufi.com port: 8080 https: false relative_url_root: /gitlab
Fichier /home/git/gitlab/config/unicorn.rb
Que dois faire de plus pour que gitlab fonctionne ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 # Help ensure your application will always spawn in the symlinked # "current" directory that Capistrano sets up. working_directory "/home/git/gitlab" # available in 0.94.0+ # listen on both a Unix domain socket and a TCP port, # we use a shorter backlog for quicker failover when busy listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 listen "127.0.0.1:8080", :tcp_nopush => true
au moment de redémarrer apache j'ai ce message :
Merci
Partager