Edit file /home/gitlab/gitlab/config/unicorn.rb
Find line listen "#{app_dir}/tmp/sockets/gitlab.socket" and comment it.
Uncomment line listen "127.0.0.1:8080"
sudo a2enmod proxysudo a2enmod proxy_balancer
| #!/bin/sh | |
| # | |
| # For each ref, validate the commit. | |
| # | |
| # - It disallows deleting branches without a /. | |
| # - It disallows non fast-forward on branches without a /. | |
| # - It disallows deleting tags without a /. | |
| # - It disallows unannotated tags to be pushed. |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |