Gitlab: Difference between revisions

From Piszczynski
No edit summary
No edit summary
Line 11: Line 11:
Run install configuration script:<syntaxhighlight lang="bash">
Run install configuration script:<syntaxhighlight lang="bash">
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>install gitlab<syntaxhighlight lang="bash">
 
sudo yum install gitlab-ce -y
sudo yum install gitlab-ce -y
</syntaxhighlight>


 
Configure Gitlab<syntaxhighlight lang="bash">
Configure Gitlab
 
sudo gitlab-ctl reconfigure
sudo gitlab-ctl reconfigure
</syntaxhighlight>get the password from the install:<syntaxhighlight lang="bash">
sudo cat /etc/gitlab/initial_root_password
</syntaxhighlight>

Revision as of 10:10, 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 yum install gitlab-ce -y

Configure Gitlab

sudo gitlab-ctl reconfigure

get the password from the install:

sudo cat /etc/gitlab/initial_root_password