gitlab 一键安装支持腾讯云服务器 腾讯云Ubuntu配置gitlab

其实就是按照下面的步骤就可以安装成功了 



Install a GitLab CE Omnibus package on
Ubuntu 14.04 
 Check if your server meets the hardware requirements. GitLab packages are built for 64bit systems. For 32bit OS, consider alternative installation methods.
 
1. Install and configure the necessary dependencies
 
If you install Postfix to send email please select 'Internet Site' during setup. Instead of using Postfix you can also use Sendmail or configure a custom SMTP server. If you wish to use Exim, please configure it as an SMTP server.
 
On Centos 6 and 7, the commands below will also open HTTP and SSH access in the system firewall.
 
sudo apt-get install curl openssh-server ca-certificates postfix

2. Add the GitLab package server and install the package(亚马逊云在国内被墙 需要代理才可以安装)
 
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

(https://packages.gitlab.com/gitlab/gitlab-ce  这里可以下载到安装文件 腾讯云可以直接下载 不需要翻墙)
 
sudo apt-get install gitlab-ce

If you are not comfortable installing the repository through a piped script, you can find the entire script here.

3. Configure and start GitLab
 
sudo gitlab-ctl reconfigure

4. Browse to the hostname and login
 
Username: root 
Password: 5iveL!fe
---------
老版官方教程 提供安装方法:


这样下载好了算是开始安装了 稍安勿躁 安装运行中
wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.2.1-omnibus-1_amd64.deb
sudo apt-get install openssh-server
sudo apt-get install postfix
sudo dpkg -i gitlab_7.2.1-omnibus-1_amd64.deb
 



出现上面的画面说明安装基本上成功了,然后对GitLab进行重配置即可:
 
输入下面的命令:
sudo gitlab-ctl reconfigure



 

初始化配置 然后就是等等。。。。。





输入服务器IP 就可以登录了
Username: root 
Password: 5iveL!fe
-------------出现的上面的界面说明安装成功了--------

ubuntu 常用命令(安装最常用的桌面)

sudo apt-get install gnome-shell

网友观点

上一篇:没有了