SysInfo
[Root@10 gitlab]# Cat/etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[Root@10 gitlab]# Uname-a
Linux gitlab 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 22:10:57 UTC 2015 x86_64 x86_64 x86_64 gnu/linux
Install Gitlab
Download a new Gitlab installation package
Yum Install Curl Policycoreutils openssh-server openssh-clients
Install the installation package, 8.10.6
Yum localinstall Yum Install gitlab-ce-8.10.6-ce.0.el7.x86_64.rpm-y
Configuration
Gitlab-ctl Reconfigure
Password
Root
5ivel!fe
View status
[Root@localhost ~]# gitlab-ctl Status
Run:gitlab-workhorse: (PID 23393) 159s; Run:log: (PID 23195) 175s
Run:logrotate: (PID 23352) 167s; Run:log: (PID 23351) 167s
Run:nginx: (PID 23240) 173s; Run:log: (PID 23239) 173s
Run:postgresql: (PID 22953) 205s; Run:log: (PID 22952) 205s
Run:redis: (PID 22816) 211s; Run:log: (PID 22815) 211s
Run:sidekiq: (PID 23151) 181s; Run:log: (PID 23150) 181s
Run:unicorn: (PID 23421) 147s; Run:log: (PID 23094) 183s
Reboot
[Root@localhost ~]# gitlab-ctl Restart
Ok:run:gitlab-workhorse: (pid 23646) 0s
Ok:run:logrotate: (pid 23654) 1s
Ok:run:nginx: (pid 23661) 0s
Ok:run:postgresql: (pid 23671) 0s
Ok:run:redis: (pid 23680) 0s
Ok:run:sidekiq: (pid 23685) 0s
Ok:run:unicorn: (pid 23690) 1s
View Nginx Log
[Root@localhost ~]# gitlab-ctl Tail nginx
==>/var/log/gitlab/nginx/current <==
==>/var/log/gitlab/nginx/error.log <==
==>/var/log/gitlab/nginx/gitlab_access.log <==
==>/var/log/gitlab/nginx/gitlab_error.log <==
^[[a^c/opt/gitlab/embedded/bin/omnibus-ctl:interrupt
View Log
[Root@localhost ~]# gitlab-ctl Tail PostgreSQL
2016-08-20_10:32:51.75539 log:received Fast Shutdown request
2016-08-20_10:32:51.75541 log:aborting any active transactions
2016-08-20_10:32:51.75542 log:autovacuum launcher shutting down
2016-08-20_10:32:51.75651 fatal:terminating connection due to Administrator command
2016-08-20_10:32:51.75861 fatal:terminating connection due to Administrator command
2016-08-20_10:32:51.76010 log:shutting Down
2016-08-20_10:32:52.04671 log:database system is shut down
2016-08-20_10:32:52.14372 log:database system is shut down at 2016-08-20 10:32:52 GMT
2016-08-20_10:32:52.18627 log:database System is ready to accept connections
2016-08-20_10:32:52.18628 log:autovacuum Launcher started
Gitlab default installation directory in/opt/gitlab/
This will be installed in a git@localhost:root/master.git form to show
Vim/etc/gitlab/gitlab.rb
External_url ' http://10.10.239.222 '
The modifications are done once configured: Gitlab-ctl reconfigure