Source installation GitLab Steps cumbersome: Need to install a dependency package, Mysql,redis,postfix,ruby,nginx ... After installation, you have to manually configure these software, error -prone-this way does not do tutorial
Environment: CentOS 6.5 X64-minimal
Gillab Official website: https://about.gitlab.com/
Official Installation Tutorial: https://about.gitlab.com/downloads/
Installation method: Gitlab-ce
Officially available Tutorials
As shown: You need to select the installed system version and follow the tutorial to install Gitlab. (If English is better, you can use the official tutorial directly)
1. Install the Configuration dependencies
If you have installed Postfix to send mail, select ' Internet Site ' during installation, or you can use Sendmail or a custom SMTP server to replace Postfix.
If you want to use EXIM, please configure it as SMTP.
On CentOS 6 and 7, the following command also configures the system firewall to open the HTTP and SSH ports.
sudo yum install Curl openssh-server openssh-clients postfix croniesudo service postfix startsudo chkconfig postfix onsudo Lokkit-s http-s SSH
Installation process diagram
2. Add and install the Gitlab package
Curl-ss https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bashsudo yum install Gitlab-ce
Installation process diagram
If you are not accustomed to this way of installing through a pipeline command, you can find the completed installation script here, or you can select the corresponding Gitlab installation package. and install it using the following command
Curl-ljo Https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/6/gitlab-ce-XXX.rpm/downloadrpm-i gitlab-ce-xxx.rpm
3. Configuring and Using Gitlab
sudo gitlab-ctl reconfigure
4. Visit Gitlab
Access the Gitlab host name (IP address, port 80 for example: http://192.168.1.100:80) in the browser
On your first visit, you will be redirected to the password reset page to provide the password for the initial administrator account ...
Enter the password you want and you will be redirected back to the login screen. The user name for the default account is root. Provide the password you created earlier and log in. After logging in, you can change the user name as needed.
GitLab-Linux under GitLab installation tutorial