乱读天书, 不求甚解
周祎骏的个人云笔记
Toggle navigation
乱读天书, 不求甚解
主页
Linux:系统配置
Linux:用户管理
Linux:优化排错
Linux:进程调度
Linux:文件系统
Linux:网络
Linux:系统服务
Linux:安全
Linux:内核
容器:Docker
容器:containerd
容器编排:Kubernetes
IAC:Terraform
大数据:Hadoop
大数据:Zookeeper
大数据:Hbase
消息队列:rsyslog
消息队列:kafka
数据库:MySQL
数据库:MongoDB
搜索引擎:Elasticsearch
时序数据库:OpenTSDB
网站服务:Nginx
编程:Bash
编程:Perl
编程:Python
编程:C
编程:JAVA
编程:Rust
版本控制:gitlab
知识管理:docusaurus
常用小工具
关于我
标签
gitlab 0.01 安装gitlab rpm 包
2016-05-30 14:37:47
96
0
0
admin
> gitlab 是现在最流行的代码仓库&版本控制系统,可以帮助你跟踪代码的变化。这里介绍如何安装服务端RPM 包。 官网文档: http://docs.gitlab.com/ce/ http://docs.gitlab.com/omnibus/ #解决依赖关系 > CENTOS6 安装文档:https://about.gitlab.com/downloads/#centos6 ```bash yum -y install curl openssh-server openssh-clients postfix cronie service postfix start chkconfig postfix on lokkit -s http -s ssh ``` *** #下载官方包 (官方rpm包 包含了NGINX, Postgres, Redis) ```bash #curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/6/gitlab-ce-XXX.rpm/download #中国用户可以到清华的源上去下载https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/ #到这里选择特定安装包 https://packages.gitlab.com/gitlab/gitlab-ce #我们在清华的源上下载 curl -LJO https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-8.8.2-ce.0.el6.x86_64.rpm ``` *** #安装包 ```bash rpm -ivh gitlab-ce-8.8.2-ce.0.el6.x86_64.rpm ``` *** #改配置 ```bash vim /etc/gitlab/gitlab.rb #详细的配置文档 http://docs.gitlab.com/omnibus/settings/configuration.html gitlab-ctl reconfigure #如果机器内存不够会有奇怪的问题(我用512M的虚拟机的时候被坑了) ``` 以下默认配置可能需要注意 external_url '127.0.0.1' #默认地址,修改时候可以加上端口 unicorn['port'] = 8080 redis['port'] = 1234 postgresql['port'] = 2345 unicorn['port'] = 3456 *** #登录 默认用户root,第一次登录会让你设置密码。 *** #启动/停止 gitlab-ctl start/stop/restart
上一篇:
docusaurus 2.0 配置
下一篇:
gitlab 0.11 使用git
文档导航