In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to install and configure GitLab in CentOS. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
GitLab uses Ruby on Rails, an open source version management system, to implement a self-hosted Git project repository, which can be accessed through the Web interface for public or private projects. It has features similar to Github, the ability to browse source code, manage defects and comments.
Installation
Just follow the online installation guide.
Https://about.gitlab.com/downloads/#centos6
Login configuration
For direct access to the server address, such as http://192.169.1.22/, a login window appears with the user name and password:
Username: root
Password: 5iveL!fe
New project
Click "+" on the navigation bar to go to the create project page
Where namespace is used to determine which project belongs to, you can choose User as your own, or select a group. This will affect the url of the project. For example, if you select the group team1 to create the project Test1, the project Test1 will be visible in this group team1, and the access path is https://domain.com/team1/Test1.
Visibility Level represents the permission level, which can be divided into three categories:
Private is private and can only be accessed by yourself or members of the group.
Internal access by all logged-in users
Public is public and accessible to everyone.
Add SSLKey
The code transfer protocol between git repositories mainly uses ssh protocol. Generally, the git users used when building gitlab do not have a password, so direct ssh cannot be logged in, so you need to use ssh-keygen to upload the public key and use asymmetric encryption to transmit.
Ssh-keygen-t rsa-C "$your_email"
Cat / .ssh/id_rsa.pub
The first command above generates a pair of private keys and public keys, which are stored in ~ / .ssh/id_rsa and ~ / .ssh/id_rsa.pub, respectively. After the end of the command, the save address is asked, and enter directly by default. The second command looks at the public key string and copies it manually.
Click Profile Settings-> SSH Keys-> Add SSH Keys on the panel. Then copy and paste the contents of the id_rsa.pub in the previous step into the input box and save them. You can upload the code now.
Thank you for reading! This is the end of this article on "how to install and configure GitLab in CentOS". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.