摘要: #cat /etc/yum.repos.d/CentOS-Base.repo [base]name=CentOS-$releasever - Base - mirrors.aliyun.comfailovermethod=prioritybaseurl=https://mirrors.aliyun. 阅读全文
posted @ 2022-10-14 23:39 joechenyao 阅读(149) 评论(0) 推荐(0)
摘要: export GITLAB_HOME=/srv/gitlab sudo docker run --detach \ --hostname gitlab.example.com \ --publish 443:443 --publish 80:80 --publish 2222:22 \ --name 阅读全文
posted @ 2022-10-14 21:41 joechenyao 阅读(199) 评论(0) 推荐(0)
摘要: #!/bin/bash #docker_ce_version='-20.10.10-3.el7' yum install -y yum-utils #rm -rf /etc/yum.repos.d/*bakdir=`date +%F`mkdir -p /etc/yum.repos.d/$bakdir 阅读全文
posted @ 2022-10-14 21:27 joechenyao 阅读(64) 评论(2) 推荐(0)