Gitlab Server SETUP (For fedora23), gitlabfedora23

Source: Internet
Author: User

Gitlab Server SETUP (For fedora23), gitlabfedora23

 

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 gitlab-ce-8.5.1-ce.0.el7.x86_64.rpm through the following link 』:
Http://pan.baidu.com/s/1qXeuiNq

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.