Ubuntu 14.04下安装GitLab
2016-03-02 00:35
351 查看
0、硬件要求
官方要求:http://doc.gitlab.com/ce/install/requirements.html
2 cores is the recommended number of cores and supports up to 500 users
4 cores supports up to 2,000 users
8 cores supports up to 5,000 users
16 cores supports up to 10,000 users
32 cores supports up to 20,000 users
64 cores supports up to 40,000 users
512MB RAM + 1.5GB of swap is the absolute minimum but we strongly advise against this amount of memory. See the unicorn worker section below for more advice.
1GB RAM + 1GB swap supports up to 100 users but it will be very slow
2GB RAM is the recommended memory size for all installations and supports up to 100 users
4GB RAM supports up to 1,000 users
8GB RAM supports up to 2,000 users
16GB RAM supports up to 4,000 users
32GB RAM supports up to 8,000 users
64GB RAM supports up to 16,000 users
128GB RAM supports up to 32,000 users
实验结果:
A、单核1G的阿里云主机,经常提示内存不足,前端表现为500错误。
B、本地虚拟机单核1G,经常卡顿,一个页面要加载很久才能出来。
C、本地虚拟机双核2G,完美运行无卡顿。
1、官方安装方法
https://about.gitlab.com/downloads/#ubuntu1404
2、手工下载安装
https://about.gitlab.com/downloads/archives/
wget -c https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo dpkg -i gitlab-ce_7.10.5-omnibus-1_amd64.deb
sudo gitlab-ctl reconfigure
#80则可以不用写端口号
external_url 'http://git.xxx.com:8080'
修改上述配置
再次执行:sudo gitlab-ctl reconfigure
使用:
官方要求:http://doc.gitlab.com/ce/install/requirements.html
CPU
1 core works supports up to 100 users but the application can be a bit slower due to having all workers and background jobs running on the same core2 cores is the recommended number of cores and supports up to 500 users
4 cores supports up to 2,000 users
8 cores supports up to 5,000 users
16 cores supports up to 10,000 users
32 cores supports up to 20,000 users
64 cores supports up to 40,000 users
Memory
You need at least 2GB of addressable memory (RAM + swap) to install and use GitLab! With less memory GitLab will give strange errors during the reconfigure run and 500 errors during usage.512MB RAM + 1.5GB of swap is the absolute minimum but we strongly advise against this amount of memory. See the unicorn worker section below for more advice.
1GB RAM + 1GB swap supports up to 100 users but it will be very slow
2GB RAM is the recommended memory size for all installations and supports up to 100 users
4GB RAM supports up to 1,000 users
8GB RAM supports up to 2,000 users
16GB RAM supports up to 4,000 users
32GB RAM supports up to 8,000 users
64GB RAM supports up to 16,000 users
128GB RAM supports up to 32,000 users
实验结果:
A、单核1G的阿里云主机,经常提示内存不足,前端表现为500错误。
B、本地虚拟机单核1G,经常卡顿,一个页面要加载很久才能出来。
C、本地虚拟机双核2G,完美运行无卡顿。
1、官方安装方法
https://about.gitlab.com/downloads/#ubuntu1404
2、手工下载安装
https://about.gitlab.com/downloads/archives/
wget -c https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo dpkg -i gitlab-ce_7.10.5-omnibus-1_amd64.deb
sudo mkdir -p /etc/gitlab sudo touch /etc/gitlab/gitlab.rb sudo chmod 600 /etc/gitlab/gitlab.rb sudo vi /etc/gitlab/gitlab.rb
sudo gitlab-ctl reconfigure
#80则可以不用写端口号
external_url 'http://git.xxx.com:8080'
修改上述配置
再次执行:sudo gitlab-ctl reconfigure
使用:
sudo gitlab-ctl status 查看状态
相关文章推荐
- 学习Linux决心书
- [LeetCode]332 航程重建
- 学习Linux决心书
- OSX下面用ffmpeg抓取桌面以及摄像头推流进行直播
- PyQt4百行代码自制密码管理器(三):数据库引入
- leetcode;Trapping Rain Water
- 模块
- webview过滤广告
- 喝酒出友人,微信出情人!
- CSS学习(四)-css边框样式(下)
- spring 源码研究---core包总结一
- 边看书边做边发挥-图书软件-2
- 2015年蓝桥杯省赛B组C/C++(试题+答案)前几题
- 区别increment/decrement操作符的前置(prefix)和后置(postfix)形式
- java.io.Serializable序列化浅析
- 对象已死吗?
- 原型的标准
- 2014第五届蓝桥杯C++B组第七题
- c语言:用函数找大数
- c语言面试题1