gitlab

Install a GitLab CE Omnibus package on CentOS7

Install and configure the necessary dependencies

1
2
3
4
5
6
7
8
sudo yum install curl policycoreutils openssh-server openssh-clients
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld

Add the GitLab package server and install the package

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
wget https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-8.13.11-ce.0.el7.x86_64.rpm/download
mv download gitlab-ce-8.13.11-ce.0.el7
rpm -i gitlab-ce-8.13.11-ce.0.el7


*. *.
*** ***
***** *****
.****** *******
******** ********
,,,,,,,,,***********,,,,,,,,,
,,,,,,,,,,,*********,,,,,,,,,,,
.,,,,,,,,,,,*******,,,,,,,,,,,,
,,,,,,,,,*****,,,,,,,,,.
,,,,,,,****,,,,,,
.,,,***,,,,
,*,.

_______ __ __ __
/ ____(_) /_/ / ____ _/ /_
/ / __/ / __/ / / __ `/ __ \
/ /_/ / / /_/ /___/ /_/ / /_/ /
\____/_/\__/_____/\__,_/_.___/


gitlab: Thank you for installing GitLab!
gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:

sudo gitlab-ctl reconfigure

gitlab: GitLab should be reachable at http://centos7
gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/ gitlab.rb file
gitlab: And running reconfigure again.
gitlab:
gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab:
It looks like GitLab has not been configured yet; skipping the upgrade script.

Configure and start GitLab

1
sudo gitlab-ctl reconfigure

Browse to the hostname and login

80端口直接访问即可.root/**

Basic

image
image
image
image

邵志鹏 wechat
扫一扫上面的二维码关注我的公众号
0%