This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
tutorials:gitlab [2013/02/22 18:04] razvan created |
tutorials:gitlab [2020/07/20 09:16] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | = GitLab Installation = | + | ====== GitLab Installation |
| - | * In order to install GitLab follow instructions here: https:// | + | |
| - | ** At end of step 6, sidekiq won't be checked:< | + | * At end of step 6, sidekiq won't be checked:< |
| Checking Sidekiq ... | Checking Sidekiq ... | ||
| Line 14: | Line 14: | ||
| Checking Sidekiq ... Finished | Checking Sidekiq ... Finished | ||
| + | </ | ||
| + | * You have to create the {{{tmp/ | ||
| + | sudo -u gitlab -H mkdir tmp/pids/ | ||
| + | sudo chmod -R u+rwX tmp/pids/ | ||
| + | </ | ||
| + | * And then restart sidekiq:< | ||
| + | sudo -u gitlab -H bundle exec rake sidekiq: | ||
| + | </ | ||
| + | * I use Apache in conjunction with unicorn. | ||
| + | * Configure unicorn to listen to TCP connections:< | ||
| + | - listen 8080 # listen to port 8080 on all TCP interfaces | ||
| + | listen " | ||
| + | listen "# | ||
| + | </ | ||
| + | * Configure Apache in conjunction with unicorn:< | ||
| + | < | ||
| + | ServerName houdini.cs.pub.ro | ||
| + | ServerAdmin webmaster@houdini.cs.pub.ro | ||
| + | |||
| + | DocumentRoot / | ||
| + | < | ||
| + | AllowOverride All | ||
| + | Options -MultiViews | ||
| + | </ | ||
| + | |||
| + | <Proxy balancer:// | ||
| + | BalancerMember http:// | ||
| + | </ | ||
| + | |||
| + | RewriteEngine on | ||
| + | RewriteCond %{DOCUMENT_ROOT}/ | ||
| + | RewriteRule ^/(.*)$ balancer:// | ||
| + | |||
| + | ProxyPass /uploads ! | ||
| + | ProxyPass / balancer:// | ||
| + | ProxyPassReverse / balancer:// | ||
| + | ProxyPreserveHost on | ||
| + | |||
| + | <Proxy *> | ||
| + | Order deny,allow | ||
| + | Allow from all | ||
| + | </ | ||
| + | |||
| + | # SSL Engine Switch: | ||
| + | # | ||
| + | SSLEngine on | ||
| + | |||
| + | # | ||
| + | SSLCertificateFile / | ||
| + | SSLCertificateKeyFile / | ||
| + | SSLCertificateChainFile / | ||
| + | |||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | LogLevel warn | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| + | </ | ||
| + | </ | ||
| + | * Populate satellites folder, in {{{/ | ||
| + | sudo -u gitlab -H bundle exec rake gitlab: | ||
| </ | </ | ||