How To Install Ruby on Rails on CentOS 7

Install Ruby on Rails on CentOS 7

In this tutorial we will show you how to install and configuration of Ruby on Rails on your CentOS 7 server. For those of you who didn’t know, Ruby on Rails (RoR) is a framework written in the Ruby programming language that allows you to use Ruby in combination with HTML, CSS, and similar programming languages. It is used by many developers since it makes the application development very simple.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Ruby on Rails on a CentOS 7 server.

Install Ruby on Rails on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Rbenv.

Rbenv is a ruby version management tool. We will use this to install and manage our Ruby installation. So let’s start the installation of rbenv:

Now we are ready to install rbenv. The easiest way to do that is to run these commands:

This installs rbenv into your home directory, and sets the appropriate environment variables that will allow rbenv to the active version of Ruby.

Step 3. Installing Ruby.

You need to determine the version of Ruby that you need. You can list available Ruby versions for installation with the following command:

As we can see on the list that the latest stable version is 2.3.1, you can install Ruby using the following command:

You can verify the installation using the command below. It will show you the version and details of the installation:

If you do not want rubygems to install the documentation for each package locally, run the below command:

Now, Install the bundler gem which is used to manage your application dependencies using the following commands:

Step 4. Installing Rails.

To install Rails on your system you can run the following command:

After installing the any package through gems it is important to run the following command so that it can install shims for all Ruby executables known to rbenv, which will allow you to use the executables:

To check the version of Rails, you can execute the command below:

Step 5. Installing JavaScript Runtime.

A few Rails features, such as the asset pipeline, depend on a Javascript runtime. We will install Node.js to provide this functionality:

Step 6. Create test application.

To make sure that the Ruby on Rails installation completed successfully, We can create a test application by following the steps below:

Now start your Rails server using the following command:

Visit http://Your-Server-IP:3000 from your browser. If you see the “Welcome aboard” message, your Ruby on Rails installation is successful.

Install Ruby on Rails on CentOS 7

Congratulation’s! You have successfully installed Ruby on Rails. Thanks for using this tutorial for installing Ruby on Rails in CentOS 7 systems. For additional help or useful information, we recommend you to check the official Ruby on Rails web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Save

Save

Save

Save

How To Install MediaWiki on Ubuntu 16.04

Install MediaWiki on Ubuntu 16.04

In this tutorial we will show you how to install and configuration of MediaWiki on your Ubuntu 16.04 server. For those of you who didn’t know,  MediaWiki is a free and open source wiki software, used to power wiki websites such as Wikipedia, Wiktionary and Commons, developed by the Wikimedia Foundation and others. It is written in the PHP programming language and uses a backend database.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation MediaWiki on a Ubuntu 16.04 (Xenial Xerus) server.

Install MediaWiki on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Install LAMP (Linux, Apache, MariaDB, PHP) server.

A Ubuntu 16.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also install all required PHP modules:

Step 3. Installing MediaWiki.

First thing to do is to go to MediaWiki’s download page and download the latest stable version of MediaWiki, At the moment of writing this article it is version 1.8.7:

Unpack the MediaWiki archive to the document root directory on your server:

We will need to change some folders permissions:

Step 4. Configuring MariaDB for MediaWiki.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

Configure it like this:

Next we will need to log in to the MariaDB console and create a database for the MediaWiki. Run the following command:

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for MediaWiki installation:

Step 5. Configuring Apache web server for MediaWiki.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘mediawiki.conf’ on your virtual server:

Add the following lines:

Now, we can restart Apache web server so that the changes take place:

Step 6. Accessing MediaWiki.

MediaWiki will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Install MediaWiki on Ubuntu 16.04

At the end of the installation, you will need to upload the file to /var/www/html. You can do that via FTP, but to speed up the process, just open the downloaded file with a text editor, copy all the content from it and paste it to a new LocalSettings.php file that you can create using the following command:

Congratulation’s! You have successfully installed MediaWiki. Thanks for using this tutorial for installing MediaWiki in Ubuntu 16.04 LTS (Xenial Xerus) systems. For additional help or useful information, we recommend you to check the official MediaWiki web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Save

How To Install Apache JMeter on CentOS 7

Install Apache JMeter on CentOS 7

In this tutorial we will show you how to install and configuration of Apache JMeter on your CentOS 7 server. For those of you who didn’t know, The Apache JMeter application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Apache JMeter on a CentOS 7 server.

Install Apache JMeter on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Java.

If you do not have Java installed, you can follow our guide here.

Step 3. Installing Apache JMeter.

First thing to do is to go to Apache JMeter’s download page and download the latest stable version of Apache JMeter, At the moment of writing this article it is version 3.0:

Unpack the JMeter archive to the document root directory on your server:

Finally, the JMeter software  will appear on the screen. Optionally if you are using Debian or Ubuntu you can use apt-get to download the latest version like this:

Congratulation’s! You have successfully installed Apache JMeter. Thanks for using this tutorial for installing Apache JMeter server on CentOS 7 system. For additional help or useful information, we recommend you to check the official Apache JMeter web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install phpRedisAdmin on CentOS 7

Install phpRedisAdmin on CentOS 7

For those of you who didn’t know, phpRedisAdmin is a simple web interface to manage Redis databases. Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. Redis also supports datatypes such as Transitions, Publish and Subscribe. ‘Redis ’ is considered more powerful than ‘Memcache’ . It would be smart to bring ‘Redis’ into practice and put ‘Memcache’ down for a while.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation phpRedisAdmin on a CentOS 7 server.

Install phpRedisAdmin on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Install Redis server.

If you do not have Redis server installed, you can follow our guide here.

Step 3. Install LAMP server.

A CentOS 7 LAMP stack server is required. If you do not have LAMP installed, you can follow our guide here. Also install required PHP modules:

Create a virtual host for phpRedisAdmin:

Add the following lines:

Step 4. Installing phpRedisAdmin.

First, Download phpRedisAdmin using git:

You may also want to copy includes/config.sample.inc.php to includes/config.inc.php and edit it with your specific redis configuration:

Move the directory to the virtual host location we setup earlier:

Restart the apache service for the changes to take effects:

Step 5. Accessing phpRedisAdmin.

phpRedisAdmin will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip. If you are using a firewall, please open port 80 to enable access to the control panel.

Install phpRedisAdmin on CentOS 7

Congratulation’s! You have successfully installed phpRedisAdmin. Thanks for using this tutorial for installing phpRedisAdmin server on CentOS 7 system. For additional help or useful information, we recommend you to check the official Redis web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Open Source Social Network on Ubuntu 16.04

Install Open Source Social Network on Ubuntu 16.04

In this tutorial we will show you how to install and configuration of Open Source Social Network on your Ubuntu 16.04 server. For those of you who didn’t know, Opensource-Socialnetwork (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Open Source Social Network (OSSN) on a Ubuntu 16.04 (Xenial Xerus) server.

Install Open Source Social Network on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Install LAMP (Linux, Apache, MariaDB, PHP) server.

A Ubuntu 16.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also install all required PHP modules:

Step 3. Installing Open Source Social Network.

First thing to do is to go to OSSN’s download page and download the latest stable version of OSSN, At the moment of writing this article it is version 4.2:

We will need to change some folders permissions:

Step 4. Configuring MariaDB for Open Source Social Network.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

Configure it like this:

Next we will need to log in to the MariaDB console and create a database for the OSSN. Run the following command:

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for OSSN installation:

Step 5. Configuring Apache web server for Open Source Social Network.

Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘ossn.conf’ on your virtual server:

Add the following lines:

Next, You can edit the PHP configuration file:

And modify these lines:

OSSN also needs a directory for storing the uploaded files such as images. For security reasons we will create this directory outside of the document root directory:

Finally, we can restart Apache web server so that the changes take place:

Step 6. Accessing Open Source Social Network.

Open Source Social Network will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip/ and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel. Log in to the OSSN administration back-end at http://your-domain.com/administrator and configure OSSN according to your needs.

Congratulation’s! You have successfully installed Open Source Social Network. Thanks for using this tutorial for installing Open Source Social Network on Ubuntu 16.04 systems. For additional help or useful information, we recommend you to check the official Open Source Social Network web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Sublime Text 3 on Ubuntu 16.04

Install Sublime Text 3 on Ubuntu 16.04

In this tutorial we will show you how to install and configuration of Sublime Text 3 on your Ubuntu 16.04 server. For those of you who didn’t know, Sublime Text is a cross-platform text and source code editor with a Python API. It is a sophisticated text editor for code, markup and prose. Its functionality is extendable with plugins. Most of the extending packages have free-software licenses and are community-built and maintained.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Sublime Text 3 on a Ubuntu 16.04 (Xenial Xerus) server.

Sublime Text 3 Features

  • “Goto Anything,” quick navigation to files, symbols, or lines
  • “Command palette” uses adaptive matching for quick keyboard invocation of arbitrary commands
  • Simultaneous editing: simultaneously make the same interactive changes to multiple selected areas
  • Python-based plugin API
  • Project-specific preferences
  • Extensive customizability via JSON settings files, including project-specific and platform-specific settings
  • Cross platform (Windows, OS X, Linux)
  • Compatible with many language grammars from Textmate.
  • proprietary software, may be downloaded and evaluated for free, however a license must be purchased for continued use.

Install Sublime Text 3 on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Installing Sublime Text 3.

The Sublime Text 3 is currently in beta. Webupd8 Team has made an installer script into PPA which automatically downloads the Sublime Text 3 archive from its website and installs it on Ubuntu. First, you have to add the PPA to your system, update the local repository index:

After added the PPA, run commands to install the script:

Once installed, open the editor from Unity Dash or Menu. To disable new version notifications, add the following to your User Preferences file (Preferences > Settings – User):

Congratulation’s! You have successfully installed Sublime Text 3. Thanks for using this tutorial for installing Sublime Text editor on Ubuntu 16.04 LTS systems. For additional help or useful information, we recommend you to check the official Sublime Text web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Save

How To Install Mate Desktop on Ubuntu 16.04

Install Mate Desktop on Ubuntu 16.04

In this tutorial we will show you how to install and configuration Mate Desktop on Ubuntu 16.04. For those of you who didn’t know, The MATE Desktop Environment is the continuation of GNOME 2. It provides an intuitive and attractive desktop environment using traditional metaphors for Linux and other Unix-like operating systems. There are several Linux distributions that support the MATE desktop including of course Ubuntu, and there is a dedicated Ubuntu MATE edition for this elegant desktop environment as well.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Mate Desktop on a Ubuntu 16.04 (Xenial Xerus) server.

Install Mate Desktop on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Installing Mate Desktop.

First add the community PPA and this PPA can be used only by Xenial users. And please make sure that idr00t doesn’t provide any guarantee and you understand that you install at your own risk:

Now, type the following command to finally install Mate Desktop:

Wait for a few minutes, depending on your Internet connection speeds for the installation process to finish.

Step 3. Accessing Mate Desktop.

If everything goes OK, logout of your current session or restart your system and choose MATE desktop at the login interface as in the image below.

Install Mate Desktop on Ubuntu 16.04

If you didn’t liked the Mate Desktop, you can remove it completely from your respective Linux distributions using following instructions:

Congratulation’s! You have successfully installed Mate Desktop. Thanks for using this tutorial for installing MATE Desktop Environment on your Ubuntu 16.04 LTS system. For additional help or useful information, we recommend you to check the official Mate Desktop web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Save

How To Install Icinga 2 on Ubuntu 16.04

Install Icinga 2 on Ubuntu 16.04

In this tutorial we will show you how to install and configuration of Icinga 2 on your Ubuntu 16.04 server. For those of you who didn’t know, Icinga 2 is an open source network monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting. Its Scalable and extensible, Icinga2 can monitor large, complex environments across multiple locations.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Icinga network monitoring on a Ubuntu 16.04 (Xenial Xerus) server.

Icinga 2 Features

  • Monitoring of network services (SMTP, POP3, HTTP, NNTP, ping, etc.)
  • Monitoring of host resources (CPU load, disk usage, etc.)
  • Monitoring of server components (switches, routers, temperature and humidity sensors, etc.)
  • Simple plug-in design that allows users to easily develop their own service checks,
  • Parallelized service checks.
  • Ability to define network host hierarchy using “parent” hosts, allowing detection of and distinction between hosts that are down and those that are unreachable.
  • Ability to define event handlers to be run during service or host events for proactive problem resolution.
  • Notification of contact persons when service or host problems occur and get resolved (via email, pager, or user-defined method).
  • Escalation of alerts to other users or communication channels.
  • Two optional user interfaces (Icinga Classic UI and Icinga Web) for visualization of host and service status, network maps, reports, logs, etc.
  • Icinga Reporting module based on open source Jasper Reports for both Icinga Classic and Icinga Web user interfaces
  • Capacity utilization reporting.
  • Performance graphing via add-ons such as PNP4Nagios, NagiosGrapher and InGraph.

Install Icinga 2 on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Install LAMP (Linux, Apache, MariaDB, PHP) server.

A Ubuntu 16.04 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also install all required PHP modules:

Step 3. Installing Icinga 2.

First, enable the add-repository feature and add the repository for Icinga with the below commands:

Install Icinga 2 package:

Once the installation is complete. Make sure the service is up and running fine:

By default, Icinga2 enables the following features. But we can confirm the enabled settings by running this command as below:

Step 3. Installing Icinga2 plugin.

Icinga2 will collect the service information based on the monitoring plugins. So, we need to install nagios plugin using below command:

Next, you need to install the IDO module which is crucial for the Icinga 2 web interface. It will export all configuration and status information into its database. Execute the following command:

Then restart Icinga 2 for the changes to take effect:

Once you enabled the IDO modules, Icinga 2 places the new configuration file at /etc/icinga2/features-enabled/ido-mysql.conf in which we need to update the database credentials manually:

Update the above file shown like below:

Step 4. Configuring MariaDB for Icinga 2.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

Configure it like this:

Next we will need to log in to the MariaDB console and create a database for the Icinga 2. Run the following command:

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for Icinga 2 installation:

Step 5. Installing Icinga 2 Web.

After creating the database, we can install the Web interface plugin and configure it one by one:

Step 6. Accessing Icinga 2.

Icinga2 will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/icingaweb2/setup or http://server-ip/icingaweb2/setup and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Install Icinga 2 on Ubuntu 16.04

Congratulation’s! You have successfully installed Icinga 2. Thanks for using this tutorial for installing Icinga 2 network monitoring on Ubuntu 16.04 LTS systems. For additional help or useful information, we recommend you to check the official Icinga 2 web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Save

Save

Save

How To Install Roundcube Webmail on CentOS 7

Install Roundcube Webmail on CentOS 7

In this tutorial we will show you how to install and configuration of Roundcube Webmail on your CentOS 7 server. For those of you who didn’t know, Roundcube is a web application which can be used to access your emails from a web browser. It is a free and open source software tool by Roundcube Webmail project. It has a clean user interface and provides many features like full support for MIME and HTML messages, multilingual capabilities, find-as-you-type address book, threaded message listing, spell checking and many more.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Roundcube Webmail on a CentOS 7 server.

Roundcube Webmail Features

  • Multilingual capabilities
  • Find-as-you-type address book
  • Richtext/HTML message composing
  • Searching messages and contacts
  • Canned response templatesNew!
  • Int. domain names (IDNA)
  • Shared folders and ACL
  • Full featured address book
  • Extensible using the Plug-in API
  • Many more

Install Roundcube Webmail on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Install LAMP server.

A CentOS 7 LAMP stack server is required. If you do not have LAMP installed, you can follow our guide here. Also install required PHP modules:

Step 3. Installing Roundcube Webmail.

First thing to do is to go to Roundcube’s download page and download the latest stable version of Roundcube, At the moment of writing this article it is version 1.1.4:

Unpack the Roundcube archive to the document root directory on your server:

We will need to change some folders permissions:

Step 4. Configuring MariaDB for Roundcube Webmail.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

Configure it like this:

Next we will need to log in to the MariaDB console and create a database for the Roundcube Webmail. Run the following command:

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for Roundcube Webmail installation:

Step 5. Start Roundcube installation using web browser installer.

Roundcube Webmai will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/roundcube/installer or http://server-ip/roundcube/installer and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

After installation complete Remove the installer directory from your web server document root ( /var/www/html/roundcube ):

Now access your account using Roundcube, Navigate to http://yourdomain.com/roundcube and log in using your email account’s username and password. If your configuration is functional, Roundcube will allow you to receive, read and send emails from inside and outside of your domain name.

Congratulation’s! You have successfully installed Roundcube Webmail. Thanks for using this tutorial for installing Roundcube Webmail on your CentOS 7 system. For additional help or useful information, we recommend you to check the official Roundcube web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Save

Save

How To Install Git on CentOS 7

Install Git on CentOS 7

In this tutorial we will show you how to install and configuration of Git on your CentOS 7 server. For those of you who didn’t know, Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.  Git v2.10.0 comes with the large number of updates verses previous release 2.9.3. It is designed to handle a small to very large projects with speed and efficiency.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Git on a CentOS 7 server.

Install Git on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Git.

Method 1 — Install Git with Yum

Run the following commands in for installation Git via yum:

Method 2 — Install Git from Source

Before installing Git from source code, make sure you have already installed required packages on your system:

Once the dependencies have been installed then we need to find out and download the latest version of Git software, At the moment of writing this article it is version 2.10.0:

After downloading and extracting Git source code, Use following command to compile source code:

To check current version installed of Git use following command:

Congratulation’s! You have successfully installed Git. Thanks for using this tutorial for installing Git in CentOS 7 systems. For additional help or useful information, we recommend you to check the official Git web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save