centos7安装gitlab
- 安装依赖:
yum -y install curl policycoreutils-python openssh-server systemctl enable sshd systemctl start sshd yum -y install postfix systemctl enable postfix systemctl start postfix firewall-cmd --permanent --add-service=http systemctl reload firewalld
- 安装:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | bash yum -y install gitlab-ee
- 启动:
a. 加载配置:gitlab-ctl reconfigure
b. 启动:
gitlab-ctl start
- 常用命令:
a. 加载配置:gitlab-ctl reconfigure
b. 启动:
gitlab-ctl start
c. 停止:
gitlab-ctl stop
d. 重启:
gitlab-ctl restart
e. 查看状态:
gitlab-ctl status
- 修改密码并登录:
访问:172.20.10.11 用户名:root