2019년 2월 21일 목요일

Install gitlab ce on Ubuntu / virtualbox

 $ cd /tmp
 $ sudo apt-get update
 $ sudo apt-get install -y curl openssh-server ca-certificates
 $ sudo apt-get install -y postfix
 $ sudo curl  -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
 $ sudo bash /tmp/script.deb.sh
 $ less /tmp/script.deb.sh
 $ sudo apt install gitlab-ce


 $ sudo ufw status
 $ sudo ufw enable
 $ sudo ufw status
 $ sudo ufw allow http
 $ sudo ufw allow https
 $ sudo ufw allow OpenSSH
 $ sudo ufw status

$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
80/tcp                     ALLOW       Anywhere
443/tcp                    ALLOW       Anywhere
OpenSSH                    ALLOW       Anywhere
80/tcp (v6)                ALLOW       Anywhere (v6)
443/tcp (v6)               ALLOW       Anywhere (v6)
OpenSSH (v6)               ALLOW       Anywhere (v6)

$ // change external_url and letsencrypt in /etc/gitlab/gitlab.rb file
$ sudo gitlab-ctl reconfigure

(*) ref : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-gitlab-on-ubuntu-18-04

댓글 없음:

댓글 쓰기