centos8安装gitlab
1,安装依赖
yum install -y curl policycoreutils-python openssh-server
centos8没有policycoreutils-python yum源,不用管
2,启动ssh并设置为开机自启动
systemctl enable sshd
systemctl start sshd
3,添加http服务到firewalld,pemmanent表示永久生效,若不加–permanent系统下次启动后就会失效
systemctl start firewalld
原创
2020-09-11 10:24:33 ·
1153 阅读 ·
0 评论