centos 6.4 gitlab7.6.2安装
来源:互联网 发布:消防制图软件 编辑:程序博客网 时间:2024/04/29 10:50
先根据官方文档https://about.gitlab.com/downloads/
环境是centos6.4
curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.6.2_omnibus.5.3.0.ci-1.el6.x86_64.rpmsudo yum install openssh-serversudo yum install postfixsudo yum install croniesudo service postfix startsudo chkconfig postfix onsudo rpm -i gitlab-7.6.2_omnibus.5.3.0.ci-1.el6.x86_64.rpm
https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.6.2_omnibus.5.3.0.ci-1.el6.x86_64.rpm 被墙了,得翻墙去下,或者去其他源找。
sudo gitlab-ctl reconfiguresudo lokkit -s http -s ssh命令输完基本就可以了,里面自带的postgresql数据库
浏览器登录:
Username: root
Password: 5iveL!fe
再说就是配置https 的问题,要自己生成crt和key。
再说一下安装的配置是在/etc/gitlab/gitlab.rb
运行的环境是在/opt/gitlab下面
项目的各个模块的具体配置和日志是在/var/opt/gitlab下面,包括日志和配置都可以在里面具体看到。但是配置总的文件还是在/etc/gitlab/gitlab.rb,我的理解是通过/etc/gitlab/gitlab.rb下面的配置来控制/var/opt/gitlab下面的配置。
再就是配置https的时候,可以在/var/opt/gitlab/nginx/logs下面查看log 是什么原因。我试了好久不行,然后把etc/gitlab/gitlab.rb里面的ci_external_url "https://ci.example.com"注释掉,把他的配置文件/var/opt/gitlab/nginx/conf/gitlab-ci-http.conf也删掉终于可以了。
#gitlab-ctl reconfigure 命令会执行chef将/etc/gitlab/gitlab.rb添加的参数加入 /var/opt/gitlab/gitlab-rails/etc/gitlab.yml
参考文档: 安装:https://about.gitlab.com/downloads/
ldap配置:http://doc.gitlab.com/ce/integration/ldap.html
参考http://www.w-cun.com/post/gitl_27368.htmyum安装配置ldap:https://www.howtoforge.com/linux_openldap_setup_server_client
0 0
- centos 6.4 gitlab7.6.2安装
- 安装 GitLab7.x
- gitlab7.2安装
- CentOS6安装GitLab7
- ubuntu 14.04 一键安装 gitlab7
- centos6.5 x64 源码编译安装 gitlab7.9.2
- 一键安装gitlab7在rehl6.4上
- 一键安装GitLab7在RHEL6.4上
- 一键安装GitLab7在RHEL6.4上
- 一键安装 gitlab7 on rhel6.4 并设置邮件发送
- Centos 6.4系统下kscope1.6.2安装
- CentOS 6.2 安装samba
- CentOS 6.2安装StarDict
- Centos 6.2安装lnmp
- centos 6.2 安装chrome
- CentOS 6.2安装gnome
- CentOS 6.2 安装教程
- CentOS 6.2 安装教程
- VS2008项目移植到Linux
- hdu 2005 第几天?
- 让页面上的所有链接在新窗口中打开
- 序列化与Writable实现
- ubuntu下配置jdk+eclipse+android sdk
- centos 6.4 gitlab7.6.2安装
- linux下configure,make,make install的意义
- Python 实现简单的二维数组
- DNS反向解析命令nslookup
- linux中tomcat启动错误:java.net.BindException: address already in use <null>:8443
- 通过JVMTI和JNI对JAVA加密
- 创建简单的下拉菜单
- 数据库的三大范式详解
- 创建标签式内容