GitLab镜像手册
  • GitLab镜像手册
  • GitLab镜像手册
    • 镜像组成
    • 镜像获取并验证
    • 开始安装和配置GitLab
    • 常用账号与密码说明
    • 备份
    • 升级
    • 如何远程登录和FTP?
    • 如何重启或关闭服务?
    • 如何进行域名设置?
    • 如何开启HTTPS访问?
    • 如何配置SMTP邮件设置?
    • GitLab常见问题
    • GitLab官方支持资源
    • 历史版本镜像
    • 后记
Powered by GitBook
On this page
  • 镜像组成
  • 默认账号
  • 重启服务命令
  • 修改IP路由
  • 域名配置
  1. GitLab镜像手册

历史版本镜像

PreviousGitLab官方支持资源Next后记

Last updated 7 years ago

GitLab历史版本镜像指10.1.0版本之前的版本,例如8.9.6。历史版本使用的Bitnami提供的GitLab安装包,配置文件路径是使用方式均有不同,请认真阅读如下不同之处。

Bitnami GitLab官方说明文档请参考:

软件版本:Git 2.7.4、Gitlab8.9.6 环境软件:Apache 2.4.23、PostgreSQL 9.5.3、Ruby 2.1.9、Rails 4.2.5.1、RubyGems 1.8.12、ImageMagick 6.7.5 集成软件目录:/data/gitlab-8.9.6 Apache 默认配置目录:/data/gitlab-8.9.6/apache2/conf/ Gitlab目录:/data/gitlab-8.9.6/apps/gitlab

GitLab8.9.6版本默认管理员/密码:websoft9/admin123

Putty到服务器,执行红色命令,重启需要1分钟左右,请耐心等待: ** [root@iZ94bojtvkpZ plone-5.0.2]# cd /data/gitlab-8.9.6 [root@iZ94bojtvkpZ plone-5.0.2]# ./ctlscript.sh restart

找到gitlab-shell下的config.yml文件,将其中的gitlab_url修改一为您当前服务器的公网IP

域名配置:**请,打开/data/gitlab-8.9.6/apps/gitlab/htdocs/config/gitlab.yml文件,搜索test.websoft9.cn替换成您的域名(修改前建议先备份),有两处位置:** … … gitlab: ## Web server settings (note: host is the FQDN, do not include http://) host: test.websoft9.cn port: 80 # Set to 443 if using HTTPS, see installation.md#using-https for additional HTTPS configuration details https: false # Set to true if using HTTPS, see installation.md#using-https for additional HTTPS configuration details … … gitlab: host: test.websoft9.cn port: 80 … …

远程登录到后台服务器
域名配置
https://docs.bitnami.com/virtual-machine/apps/gitlab/
镜像组成
默认账号
重启服务命令
修改IP路由