Gitlab server Construction Under Fedora23 1. Construct-serveropenssh-clientssudosystemctlenablesshdsudosystemctlstartsshd Fedora 23 Gitlab server construction 1. Install and configure the necessary dependencies
sudo yum install curl policycoreutils openssh-server openssh-clientssudo systemctl enable sshdsudo systemctl start sshdsudo yum install postfixsudo systemctl enable postfixsudo systemctl start postfixsudo firewall-cmd --permanent --add-service=httpsudo systemctl reload firewalld
2. Add the GitLab package server and install the package
Download the gitlab-ce-8.5.1-ce.0.el7.x86_64.rpm: http://pan.baidu.com/s/1o6UoN1o through the link below
If you have any ideas, you can download the desired version of "https://packages.gitlab.com/gitlab/gitlab-ce /?#".
After the download is complete, of course it is installed: sudo rpm-I gitlab-ce-8.5.1-ce.0.el7.x86_64.rpm
3. Configure and start GitLab
sudo gitlab-ctl reconfigure
4. Browse to the hostname and login
Username:root
Password:5 iveL! Fe
Access through a browser: http: // localhost or http: // ip
Login successful. You need to change the password for the First Login
Configuration:
Sudo mkdir-p/etc/gitlab
Sudo touch/etc/gitlab. rb
Sudo chmod 600/etc/gitlab. rb
Configuring the external URL for GitLab:
Add the following to the/etc/gitlab. rb file:
External_url "http://gitlab.example.com"
After the configuration is changed, run the following command (the configuration loading takes effect ):
Sudo gitlab-ctl reconfigure
Open, close, and restart a service:
# Start all GitLab components
Sudo gitlab-ctl start
# Stop all GitLab components
sudo gitlab-ctl stop
# Restart all GitLab components
sudo gitlab-ctl restart
For more GitLab tutorials, see the following content::
Install GitLab guide http://www.linuxidc.com/Linux/2015-12/126876.htm in Ubuntu 14.04
How to install Gitlab Chinese http://www.linuxidc.com/Linux/2015-12/126875.htm in Ubuntu Server 14.04
CentOS source code installation GitLab Chinese edition http://www.linuxidc.com/Linux/2015-10/124648.htm
Install GitLab http://www.linuxidc.com/Linux/2012-12/75249.htm on Ubuntu 12.04
GitLab 5.3 upgrade considerations http://www.linuxidc.com/Linux/2013-06/86473.htm
Deploy GitLab (self-managed Git project repository) http://www.linuxidc.com/Linux/2013-06/85754.htm on CentOS
Install the GitLab 6.0.2 http://www.linuxidc.com/Linux/2014-03/97831.htm on RHEL6/CentOS6/ScientificLinux6
CentOS 6.5 GitLab installation tutorial and Related Problem Solving http://www.linuxidc.com/Linux/2014-05/101526.htm
GitLab details: Click here
GitLab's: Click here
For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-02/128758.htm