niombux.blogg.se

How to install gitlab on ubuntu 16.04
How to install gitlab on ubuntu 16.04









Here's a good summary on the history of SMTP ports (this is the material I like reading because reasons). I can verify that using telnet.Ĭhecking if port 25 is blocked: :~$ telnet 25 SMTP's default port is 25, but my ISP is probably blocking it. Anyway, here's how I set up Gmail as a relay. I didn't really want to go through the hassle of setting up a fully decked-out mail server. This post assumes you have the packages postfix and mailutils installed and you're using Ubuntu 16.04 bc I don't know if it's the same in other distros. Sudo vim /etc/apache2/sites-available/gitlab.Using Gmail as a Postfix relay on Ubuntu 16.04 for GitLab 19 February 2018 by Sudo a2enmod proxy sudo a2enmod rewrite sudo a2enmod proxy_http 6) Create Apache Config for Gitlab Sudo gitlab-ctl reconfigure 6) Enable Apache mod_proxy & mod_rewrite Gitlab_workhorse_options="-listenUmask 0 -listenNetwork tcp -listenAddr 127.0.0.1:8181 -authBackend " 5) Reload the new Gitlab configuration gitlab_rails = Ĭhange "gitlab_workhorse = "unix" to gitlab_workhorse = "tcp"Ĭhange gitlab_workhorse = "/var/opt/gitlab/gitlab-workhorse/socket" to gitlab_workhorse = "127.0.0.1:8181"Ĭhange "unicorn = 8080" to "unicorn = 8082" 4.5) Update Gitlab ports Sudo gitlab-ctl reconfigure 4) Configure Gitlab to use ApacheĬhange "nginx = true" to "nginx = false"Ĭhange "web_server = " to "web_server = "Ĭhange "gitlab_rails" to your web servers IP address. Sudo apt-get install gitlab-ce 3) Configure gitlab Sudo apt-get install curl openssh-server ca-certificates postfix 2) Download & Install Gitlab











How to install gitlab on ubuntu 16.04