1)包下载地址
gitlab/gitlab-ce - Packages · packages.gitlab.com
2)执行安装命令
rpm -Uvh gitlab-ce-12.4.2-ce.0.el6.x86_64.rpm el6 linux系统版本 需要对应版本包
3)修改配置文件
/etc/gitlab/gitlab.rb
外部访问地址:external_url 'http://192.168.1.2:8888'
邮箱配置-用创建用户之后发送邮件给对应人员
gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "mail.qq.com" gitlab_rails['smtp_port'] = 465 gitlab_rails['smtp_user_name'] = "yourname@qq.com" gitlab_rails['smtp_password'] = "yourpass" gitlab_rails['smtp_domain'] = "qq.com" gitlab_rails['smtp_authentication'] = "login" gitlab_rails['smtp_enable_starttls_auto'] = true gitlab_rails['smtp_tls'] = true gitlab_rails[&