ubuntu 中搭建gitlab方法
来源:互联网 发布:邪恶吧下载软件 编辑:程序博客网 时间:2024/04/30 08:52
sudo apt-get install -y vim
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server postfix checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev
sudo gem install bundler
sudo adduser --disabled-login --gecos 'GitLab' git
7. GitLab shell
GitLab Shell is a ssh access and repository management software developed specially for GitLab.
13 Initialise Database and Activate Advanced Features
sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production
14 Install Init Script
Download the init script (will be /etc/init.d/gitlab):
Make GitLab start on boot:
sudo update-rc.d gitlab defaults 21
15 Check Application Status
Check if GitLab and its environment are configured correctly:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
To make sure you didn't miss anything run a more thorough check with:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
If all items are green, then congratulations on successfully installing GitLab! However there are still a few steps left.
16 Start Your GitLab Instance
sudo apt-get install nginx
Make sure to edit the config file to match your setup:
sudo service nginx restart
Visit YOUR_SERVER for your first GitLab login. The setup has created an admin account for you. You can use it to log in:
Important Note: Please go over to your profile page and immediately chage the password, so nobody can access your GitLab by using this login information later on.
- ubuntu 中搭建gitlab方法
- Ubuntu搭建GitLab
- Ubuntu搭建GitLab
- ubuntu搭建gitlab服务器
- ubuntu gitlab 搭建
- Ubuntu 搭建gitlab服务器
- gitlab快速搭建方法
- gitlab快速搭建方法
- Ubuntu 16.04操作系统中搭建GitLab服务器的操作记录
- Ubuntu上搭建Gitlab指南(附添加已有Git工程到Gitlab方法)
- ubuntu中gitlab安装
- 在ubuntu上搭建GitLab本地服务器
- Ubuntu 搭建gitlab服务器之二
- Ubuntu 16.04 x64搭建GitLab服务器操作过程
- Ubuntu 16.04 x64搭建GitLab服务器
- Gitlab搭建
- gitlab搭建
- Gitlab搭建
- 特效
- JSTL 表达式与 EL 语言
- 广州传智播客4月份最新开班信息
- maven安装与使用
- 在线备份系统的简明操作
- ubuntu 中搭建gitlab方法
- OFBiz使用自己的静态原型的方法
- Magento EE FPC添加指定动态Block功能
- hdu-1108 最小公倍数
- 需要熟记的git命令
- 对于ToUpper和ToUpperInvariant的性能分析
- 浅析android应用增量升级
- Android应用更新
- 如何隐藏回收站图标