gitlab 安装
2016-09-01 21:15
169 查看
sudo yum install curl openssh-server openssh-clients postfix cronie sudo service postfix start sudo chkconfig postfix on sudo lokkit -s http -s ssh //centos6.7 需要启动ip6tables ,/etc/modprobe.d/ipv6-off.conf
注释掉下面2项
#options ipv6 disable=1 #alias ipv6 off
reboot 重启服务器 service ip6tables start
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash sudo yum install gitlab-cecurl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/6/gitlab-ce-XXX.rpm/download//可使用镜像下载href="https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/" target=_blank>https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/ rpm -i gitlab-ce-XXX.rpmsudo gitlab-ctl reconfigure 、、启动服务修改gitlab端口:vim /var/opt/gitlab/nginx/conf/gitlab-http.conf server: 8081生成公钥:ssh-keygen -t rsa -C "admin@example.com"cat /root/.ssh/id_rsa.pub
相关文章推荐
- js加入购物车抛物线动画
- Junit 测试方法排序
- Linux下修改Cache过大问题
- 你真的了解一段Java程序的生命史吗
- Cocos2d-x的设计模式
- android中IO流的小总结上
- JavaScript 类型 及 类型转换
- huffman编码实现
- PHP代码,拒绝频繁访问
- 【MySQL 09】常用函数
- PHP代码,拒绝频繁访问
- 堆排序(HEAPSORT)
- js写全选按钮、全不选按钮、反选按钮、全选全不选复选框代码
- java面试题
- C#的第7课内容
- 使用e.printStackTrace(PrintWriter s)对异常信息处理
- POJ 1753 Flip Game
- 剑指Offer30 从1到n整数出现1的个数
- UGUI垂直滚动视图的做法
- iOS_应用TouchID解锁