Linux安装GitLab版本控制软件
系统环境:centos6.5
IP地址:192.168.1.243
内存:至少为1G,之前虚拟机的内存只有512M,安装的时候一直报错,日了Dog了。
安装成功时候把内存改为512M,提示:Whoops, GitLab is taking too much time to respond.
[root@localhost ~]# yum install -y curl openssh-server postftix cronie wget
[root@localhost ~]# yum install -y postfix
[root@localhost ~]# service postfix restart
[root@localhost ~]# chkconfig postfix on
[root@localhost ~]# lokkit -s http -s ssh
[root@localhost ~]# wget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh
[root@localhost ~]# sh script.rpm.sh
[root@localhost ~]# rz 【上传gitlab-ce-8.2.2-ce.0.el6.x86_64.rpm】
[root@localhost ~]# yum install -y gitlab-ce-8.2.2-ce.0.el6.x86_64.rpm
[root@localhost ~]# gitlab-ctl reconfigure
访问:
http://192.168.1.243/
初始密码:
Username: root
Password: 5iveL!fe
修改初始密码。
就可以使用gitlab的后台创建项目和用户。
gitlab的参考文档:
安装完成之后的配置,备份恢复等。