操作系统 :Linux CentOS 7
- 安装文档
- 修改配置文件 ```bash vi /etc/gitlab/gitlab.rb external_url ‘http://192.168.235.128:9090‘ nginx[‘listen_port’] = 9090
vi /var/opt/gitlab/nginx/conf/gitlab-http.conf server { listen *:9090; server_name 192.168.235.128;
- 使配置生效
```bash
gitlab-ctl reconfigure
- 启动停止
gitlab-ctl start
gitlab-ctl status
gitlab-ctl restart