ps: 修改ip
_gitlab_conf() {yum -y install epel-releaseyum -y install gityum -y install curl openssh-server openssh-clients postfix cronie policycoreutils-python-utilssystemctl enable --now postfixcd /usr/src/wget https://mirrors.bfsu.edu.cn/gitlab-ce/yum/el8/gitlab-ce-14.3.2-ce.0.el8.x86_64.rpmrpm -ivh gitlab-ce-14.3.2-ce.0.el8.x86_64.rpmsed -i 's|^external_url|#external_url|' /etc/gitlab/gitlab.rbcat >> /etc/gitlab/gitlab.rb <<EOFexternal_url 'http://192.168.143.102'EOFgitlab-ctl reconfigurecat /etc/gitlab/initial_root_password}_gitlab_conf
