centos7.3安装gitlab
来源:互联网 发布:软件冗余技术 编辑:程序博客网 时间:2024/05/22 12:39
依赖环境
yum -y install curl policycoreutils policycoreutils-python openssh-server openssh-clients postfix git
启动postfix
systemctl start postfix
systemctl enable postfix
在线安装gitlab
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
vi /etc/gitlab/gitlab.rb
14 external_url 'http://ip:端口(提示默认是80端口)
配置gitlab
gitlab-ctl reconfigure
gitlab-ctl start
gitlab-ctl status
查看gitlab
grep "^external_url" /etc/gitlab/gitlab.rb
external_url 'http://ip:端口
首次访问GitLab,系统会让你重新设置管理员的密码,设置成功后会返回登录界面.
默认的管理员账号是root,如果你想更改默认管理员账号,请输入上面设置的新密码登录系统后修改帐号名.
http://IP:端口 (root/自己的密码)
yum -y install curl policycoreutils policycoreutils-python openssh-server openssh-clients postfix git
启动postfix
systemctl start postfix
systemctl enable postfix
在线安装gitlab
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
yum install -y gitlab-ce
在线安装或者gitlab
curl -sS http://packages.gitlab.com.cn/install/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce
wget https://packages.gitlab.com/gitlab/gitlab-ce/el/7/x86_64/gitlab-ce-9.2.2-ce.0.el7.x86_64.rpm
vi /etc/gitlab/gitlab.rb
14 external_url 'http://ip:端口(提示默认是80端口)
配置gitlab
gitlab-ctl reconfigure
gitlab-ctl start
gitlab-ctl status
查看gitlab
grep "^external_url" /etc/gitlab/gitlab.rb
external_url 'http://ip:端口
首次访问GitLab,系统会让你重新设置管理员的密码,设置成功后会返回登录界面.
默认的管理员账号是root,如果你想更改默认管理员账号,请输入上面设置的新密码登录系统后修改帐号名.
http://IP:端口 (root/自己的密码)
阅读全文
0 0
- centos7.3安装gitlab
- 最新gitlab在CentOs7.3中的安装
- CentOS7下安装GitLab
- CentOS7 安装配置GitLab
- CentOS7下安装GitLab
- Centos7安装gitlab
- CentOS7 安装GitLab
- Centos7安装配置gitlab
- Centos7安装Gitlab
- CentOS7 安装 gitlab
- centos7 安装gitlab
- centOS7-64 安装gitlab
- centos7安装gitlab
- CentOS7下安装GitLab
- centos7 gitlab安装
- CentOS7安装GitLab的步骤
- centos7安装部署gitlab服务器
- 14、centos7安装bitnami gitlab
- vs2013一次配置opencv永久使用
- LeetCode 283.Move Zeroes
- 安卓学习第四天
- 4356: 情人节的阻击
- leetcode 420. Strong Password Checker 密码强度检查器
- centos7.3安装gitlab
- RateLimiter限流
- mysql_insert 动态值设置表达式
- SpringBoot在利用JDBCTemplate连接数据库的时候报错Incorrect column count: expected 1, actual 3] with root cause
- SpringMVC+redis整合
- 周报总结
- 【个人笔记】python input() xx is not defined
- $.ajax同步请求
- HTTP协议【详解】——经典面试题