博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

Gitlab安装过程

Posted on 2019-11-04 11:52  生鱼片  阅读(164)  评论(0编辑  收藏  举报
sudo yum install -y curl policycoreutils-pythonopenssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
yum install firewalld systemd -y
service firewalld start
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
yum install policycoreutils-python
rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
vim  /etc/gitlab/gitlab.rb(修改external_url -> 服务器http://IP:端口)
gitlab-ctl reconfigure
gitlab-ctl restart