Steps to install GitLab on CentOS system

  
                

GitLab is an open source project for warehouse management systems. It is usually installed on Ubuntu and Debian systems. Of course, it can also be installed on CentOS system. Today, Xiaobian wants to introduce GitLab installation under CentOS system and GitLab installation. Before the configuration, let's learn together.

Pre claim

and sure closing iptable selinux

system described herein is installed centos 6.2 64-bit system, installed in the machine
dell r410

1. Install epel and basic dependencies and software

cd /tmp

wget http://download.Fedoraproject.org/pub/epel/6/i386/epel-release -6-8.noarch.rpm

1rpm -Uvh epel-release-6-8.noarch.rpm

2yum install -y readline-devel libyaml-devel gdbm-devel ncurses-devel Redis openssl-devel

3zlib-devel gcc gcc-c++ make autoconf readline-devel curl-devel expat-devel gettext-devel

4tk-devel libxml2-devel libffi-devel libxslt-devel libicu -devel httpd httpd-devel gitolite git-all python-devel python-pip sqlite-devel sendmail vim mysql-devel mysql-server patch libyaml* pcre-devel

2, install ruby ​​(general default installation is 1.8 , the official request is 1.9 or more)

mkdir /tmp/ruby && cd /tmp/ruby

curl --progress http://ftp.ruby-lang .org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz

Copyright © Windows knowledge All Rights Reserved