Gitlab: Difference between revisions

From Piszczynski
No edit summary
No edit summary
 
Line 12: Line 12:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
</syntaxhighlight>install gitlab<syntaxhighlight lang="bash">
</syntaxhighlight>install gitlab<syntaxhighlight lang="bash">
sudo yum install gitlab-ce -y
sudo apt install gitlab-ce -y
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 10:42, 10 September 2024

Install gitlab

Start by installing postfix

sudo apt install postfix -y

sudo service postfix start

sudo chkconfig postfix on


Run install configuration script:

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

install gitlab

sudo apt install gitlab-ce -y

Configure Gitlab

sudo gitlab-ctl reconfigure

get the password from the install:

sudo cat /etc/gitlab/initial_root_password