Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS / Debian configuration Gitlab 7.1x to build self Git repository     - How to create a secure and easy to remember password (Linux)

- Why you should choose Python Programming (Programming)

- Smooth upgrade to OpenSSH 6.1 Procedure (Linux)

- Oracle can not change the tablespace to backup mode in non-archive mode (Database)

- CentOS 6.5 x86_64 system customized automated deployment (Linux)

- Vagrant Getting Start (Linux)

- Red Hat Linux mount U disk (Linux)

- Zend Studio PHP syntax color scheme to export (Linux)

- MySQL partition table Comments (Database)

- Ten SCP transfer command example (Linux)

- Python context managers (Programming)

- RVM installation instructions (Linux)

- Ten minutes to find out the character set and character encoding (Linux)

- Oracle 11g em start newspaper site's security certificate has a solution to the problem (Database)

- How to use the tab in Vim carried Python code completion (Linux)

- Oracle Bug caused by the collection of AWR Snapshot fault (Database)

- Linux Getting Started tutorial: Ubuntu 14.04 in the installation Sogou Pinyin (Linux)

- How to Install 3.16.7 CKT2 kernel in Ubuntu 14.10, Ubuntu 14.04 and its derivative versions (Linux)

- Linux kernel log --dmesg (Linux)

- Bash mathematical extension (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:      
 
- Linux Basics Tutorial: Linux Kickstart automated installation (Linux)
- Network security system (Network)
- Java programmers talk about those advanced knowledge and direction (Programming)
- JVM garbage collector and memory allocation strategy (Programming)
- High-performance JavaScript reflows and repaints (Programming)
- The Definitive Guide to Linux NAT network connection (Linux)
- How to enhance the security of Linux systems (Linux)
- How to allow users to access only a specific database (MSSQL) (Database)
- Linux find command usage practices (Linux)
- Database start listening TNS-12537, TNS-12560 error (Database)
- error 1819 (HY000): your password does not satisfy the current policy requirements (Database)
- How to install Linux Kernel 4.4 on Ubuntu (Linux)
- Docker installation under CentOS7 (Linux)
- Father of Python: Why Python zero-based index (Programming)
- Linux operating system security management skills (Linux)
- Oracle user password problem (Database)
- LaTeX Getting Started Tutorial (Linux)
- Python Dir find a folder several files (Programming)
- 10 important Linux ps command combat (Linux)
- How to release the cache memory on Linux (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.