(Created page with "== Install gitlab == Start by installing postfix sudo apt install postfix -y sudo service postfix start sudo chkconfig postfix on Run install configuration script: curl <nowiki>https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh</nowiki> | sudo bash install gitlab sudo yum install gitlab-ce -y Configure Gitlab sudo gitlab-ctl reconfigure") |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Install gitlab == | == Install gitlab == | ||
Start by installing postfix | Start by installing postfix<syntaxhighlight lang="bash"> | ||
sudo apt install postfix -y | sudo apt install postfix -y | ||
| Line 7: | Line 6: | ||
sudo chkconfig postfix on | sudo chkconfig postfix on | ||
</syntaxhighlight> | |||
Run install configuration script: | Run install configuration script:<syntaxhighlight lang="bash"> | ||
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash | |||
curl | </syntaxhighlight>install gitlab<syntaxhighlight lang="bash"> | ||
sudo apt install gitlab-ce -y | |||
install gitlab | </syntaxhighlight> | ||
sudo | |||
Configure Gitlab<syntaxhighlight lang="bash"> | |||
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> | |||
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