This shows you the differences between two versions of the page.
tutorials:gitlab [2013/02/22 18:58] razvan |
tutorials:gitlab [2020/07/20 09:16] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | = GitLab Installation = | ||
- | * In order to install GitLab follow instructions here: https:// | ||
- | ** At end of step 6, sidekiq won't be checked:< | ||
- | Checking Sidekiq ... | ||
- | |||
- | Running? ... no | ||
- | Try fixing it: | ||
- | sudo -u gitlab -H bundle exec rake sidekiq: | ||
- | For more information see: | ||
- | doc/ | ||
- | see log/ | ||
- | Please fix the error above and rerun the checks. | ||
- | |||
- | 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}/ | ||
- | </ | ||
- | </ |