mkdir /tmp/gitĪfter doing this, you will need to download and install Ruby on your CentOS VPS. At the moment of writing, the latest version available is 2.1.3. It should look like this: Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin Step 4: Download Git sourceĭownload Git source and extract it in your ‘/tmp’ directory. Now edit the ‘/etc/sudoers’ file and add ‘/usr/local/bin’ at the end of: Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin Yum -y install nginx zlib-devel openssl-devel git redis perl-CPAN ncurses-devel gdbm-devel glibc-devel tcl-devel curl-devel byacc db4-devel sqlite-devel libxml2 libxml2-devel libffi libffi-devel libxslt libxslt-devel libyaml libyaml-devel libicu libicu-devel system-config-firewall-tui sudo wget crontabs gettext perl-Time-HiRes cmake gettext-devel readline readline-devel libcom_err-devel.i686 libcom_err-devel.x86_64 expat-devel logwatch logrotate patchĬreate a system user for GitLab: adduser -shell /bin/bash -home-dir /home/git/ git Next thing you need to do is update all your system software, remove the unnecessary packages and install the required packages. Rpm -import /etc/pki/rpm-gpg/RPM-GPG-KEY-puias Step 2: Installing the required packages Wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-puias Wget -O /etc//PUIAS_6_computational.repo Rpm -import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 You can do this using the following commands: wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 The first step is to add the required repositories to your system. Step 1: Add the required repositories to your system When it comes to this tutorial, we are using our CentOS 6 64bit full template. You will need to have MySQL or PostgreSL and Redis. This makes our SSD 2 VPS hosting plan suitable for your needs. GitLab requires 2 CPU cores and 2GB of RAM so it can support up to 500 users. To run GitLab on your server you will need to have Ruby 2.0 or 2.1 installed on your server. Installing GitLab on CentOS 7 is fairly easy task and it should take 10 minutes for the installation. For instructions about how to install GitLab on an Ubuntu VPS, you can check our Install GitLab on Debian tutorial. Today we will show you how to install GitLab on your CentOS VPS. It is used by more than 100,000 organizations worldwide. GitLab is a self-hosted git repository management system. We’ll show you how to install GitLab on CentOS 7.
0 Comments
Leave a Reply. |