Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS / Debian configuration Gitlab 7.1x to build self Git repository     - Tmux Getting Start (Linux)

- NIC configuration parameters under Linux (Linux)

- Linux command to view the system status (Linux)

- Linux --- manual release system cache (Linux)

- CentOS / RedHat system partition essential requirements and partition scheme (Linux)

- Linux iptables firewall and vsftpd to resolve the issue (Linux)

- Zabbix configure DataGuard monitoring (Database)

- Common data structures and functions of Linux process scheduling (Programming)

- Shell generated using automated configuration script Orabbix (Database)

- iOS used in the development --UITabBarController tag controller (Programming)

- Spring loaded container finishes executing a method (Programming)

- Android memory optimization of the disk cache (Linux)

- Linux usage in echo (Linux)

- tar decompression problems gzip: stdin: not in gzip format (Linux)

- CentOS6 installed Tomcat (Server)

- socket busy poll of Linux kernel 3.11 to avoid sleep switch (Linux)

- OpenNMS compile under Linux (Server)

- The best tools and techniques to find data on a Unix system (Linux)

- Pydev installed and configured on the Eclipse (Linux)

- WEB-based Android Remote Tools Python implementation (Programming)

 
         
  CentOS / Debian configuration Gitlab 7.1x to build self Git repository
     
  Add Date : 2018-11-21      
         
         
         
  Preface: for some reason the company's history, there is still a lot of code csv / svn on new projects had to walk the same time, github of enterprise price 2500 $ / y / 10p for changing programs and staff. also inappropriate. in order to allow some not accustomed to using linux developers use git, abandoned before gitolite server, and then use gitlab to build.

www.gitlab.com is gitlab warehouse, the previous version of history, you need to configure gitolite, then end with a server to support web functionality. The new package has achieved a key.

-download

Use https://about.gitlab.com/downloads/ to select the corresponding version
Wget directly after running a script can be a key.

The official version is very unfriendly, a key Bahrain, nothing configuration with a long time, find an address or repo domain.com ...

gitlab also supports installed separately, you specify the server, the database, if a device a, 7 process to go down, and too cumbersome. So we change the company out, bitnami out a key package.

Address https://bitnami.com/stack/gitlab/installer

Can be selected according to the system is 32 or 64bit, it is recommended to use recommended version.

Downloaded to the server, the 80-port server to go to the next check whether to occupy. Stopped nginx or apache / httpd
Them to 808x. I am here to use a fully qualified domain name to use gitlab,
e.g: http: //dev.domain.org

Before installation, delete the accounts already have git and git's home directory to ensure the system is clean.


[Root@www.linuxidc.com] # wget https://downloads.bitnami.com/files/stacks/gitlab/7.11.4-0/bitnami-gitlab-7.11.4-0-linux-x64-installer.run
--2015-06-09 19: 31: 19-- https://downloads.bitnami.com/files/stacks/gitlab/7.11.4-0/bitnami-gitlab-7.11.4-0-linux-x64- installer.run
Resolving downloads.bitnami.com ... 216.235.167.23
Connecting to downloads.bitnami.com | 216.235.167.23 |: 443 ... connected.
HTTP request sent, awaiting response ... 200 OK
Length: 311542012 (297M) [application / x-makeself]
Saving to: "bitnami-gitlab-7.11.4-0-linux-x64-installer.run"

100% [=============================================== ================================================== ================================================== ========>] 311,542,012 2.06M / s in 2m 40s

2015-06-09 19:34:05 (1.86 MB / s) - "bitnami-gitlab-7.11.4-0-linux-x64-installer.run" saved [311542012/311542012]

[Root @ fca-vm-demo-opt] # chmod a + x bitnami-gitlab-7.11.4-0-linux-x64-installer.run

[Root @ fca-vm-demo-opt] # ./bitnami-gitlab-7.11.4-0-linux-x64-installer.run
.. The installer detects that exists a 'git' user in the system This installer will change the configuration for this user Do you want to continue the installation [y / N]:? Y

.. The installer detects that exists a 'gitlab_ci' user in the system This installer will change the configuration for this user Do you want to continue the installation [y / N]:? Y

-------------------------------------------------- --------------------------
Welcome to the Bitnami Gitlab Stack Setup Wizard.

-------------------------------------------------- --------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

PhpPgAdmin [Y / n]: Y

GitLab: Y (Can not be edited)

GitLab CI [Y / n]: Y

Is the selection above correct [Y / n]:? Y

-------------------------------------------------- --------------------------
Installation folder

Please, choose a folder to install Bitnami Gitlab Stack

Select a folder [/opt/gitlab-7.11.4-0]: / opt / bitnami

-------------------------------------------------- --------------------------
Create Admin account

Bitnami Gitlab Stack admin user creation

Email Address [user@example.com]: rainysia@gmail.com

Login [user]: rainysia

Password:
Please confirm your password:

-------------------------------------------------- --------------------------
Hostname that will be used to create internal URLs. If this value is incorrect,
you may be unable to access your Gitlab installation from other computers. It is
advisable to use a Domain instead of an IP address for compatibility with
different browsers.

Domain [127.0.0.1]: dev.domain.org
Do you want to configure mail support [y / N]:? N

-------------------------------------------------- --------------------------
Setup is now ready to begin installing Bitnami Gitlab Stack on your computer.

Do you want to continue [Y / n]:? Y

-------------------------------------------------- --------------------------
Please wait while Setup installs Bitnami Gitlab Stack on your computer.

 Installing
 ______________ ______________ 0% 50% 100%
 #########################################

-------------------------------------------------- --------------------------
Setup has finished installing Bitnami Gitlab Stack on your computer.

Info: To access the Bitnami Gitlab Stack, go to
http://dev.domain.org:80 from your browser.
Press [Enter] to continue:


This installed a middle-prone areas, git original account, and each gitlab git's home directory, and / var / opt gitlab directory, I do not have set up mail server

The use of very simple
There are a few instructions for use,

gitlab does not support the initial repo, so you need to use a https: // git repositories to import.
After you configure ssh key, in / profile this inside / profile / key e.g: http: //dev.domain.org/profile/keys
To ensure that you use the user's ssh key warehouse is id_ras.pub key
When the pulling directly git@dev.domain.org: username / project_name.git, if it is read, you can go http.
Because there is no port or take the other level 2, level 3 domains, you need to go to other ports, you need to reconfigure the domain where the entire gitlab in / opt / under, which is the application of apps, ctlscript.sh configuration weight set restart shell
     
         
         
         
  More:      
 
- Autojump: an advanced cd command in the Linux file system fast navigation (Linux)
- How to install CentOS CentOS web page (Server)
- Linux operation and maintenance engineers face questions Intermediate (Linux)
- Generated characters using Java Videos (Programming)
- Create several practical points of high security PHP site (Linux)
- Talk about the Linux folder permissions issue again (Linux)
- How do I delete a NEEDS RECOVERY rollback state of undo tablespace (Database)
- How to identify memory leaks in Java (Programming)
- Oracle View index and use indexes Precautions (Database)
- MongoDB 3.2 Cluster Setup (Database)
- Java precision four operations (Programming)
- Use OpenSSL for RSA encryption and decryption (Linux)
- Eclipse-ee Tomcat browser can not start Tomcat, and Web project service deployment (Server)
- CentOS7 management of systemd (Linux)
- Linux VMware virtual machine after the cloning of the card can not start to solve (Linux)
- The text formatting tools awk Linux system (Linux)
- ApacheDS configuration of users and user groups to achieve SSO (Server)
- Android use canvas board painting (Programming)
- Scope of variables in C # (Programming)
- Oracle to read and modify the data block process (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.