最新消息:gitlab一定要最少8G内存,现在默认支持中文了

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

最新 小米 698浏览 0评论

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

Install a GitLab CE Omnibus package onUbuntu 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.debsudo apt-get install openssh-serversudo apt-get install postfixsudo dpkg -i gitlab_7.2.1-omnibus-1_amd64.deb

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

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

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

转载请注明:程序员gitgit » gitlab 一键安装支持云服务器 云服务器Ubuntu配置

您必须 登录 才能发表评论!