Found 24 Articles for Centos 7

How to install the latest version of Git on CentOS 7.x/6.x?

Mukul Latiyan
Updated on 30-Jul-2021 08:45:33
Installing the latest version of Git on CentOS can be done in many ways. Below are three approaches for the same.Approach 1Commandsyum install epel-release yum remove git rpm -U yum install git2u git --versionOutputimmukul@192 lib % git --version git version 2.29.2Approach 2Commandsyum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker export GIT_VERSION=2.29.2 mkdir /root/git cd /root/git wget "" tar xvzf "git-2.29.2.tar.gz" cd git-2.29.2 make prefix=/usr/local all make prefix=/usr/local install yum remove -y git git --versionOutputimmukul@192 git-2.29.2 % git --version git version 2.29.2Approach 3Commandssudo yum -y install sudo yum install git git --versionOutputimmukul@192 git-2.29.2 % ... Read More

How to Install and Configure Ansible on CentOS 7

Sharon Christine
Updated on 23-Jan-2020 10:26:41
In this article, we will learn how to configure Ansible on CentOS 7 which is an Automation configuration management system. This system can control a large number of client machines with an easy administration, which can be automated from a central location.Ansible communicates over SSH tunnels and it doesn’t need to install any software on the client machine and it can retrieve information from the remote ansible machines which issues commands and copies the files.The Ansible configuration files mainly use the YAML data formation as it can be due to expressive and similarity of popular languages. The clients can be ... Read More

How to Install and Configure MS SQL (Beta) on CentOS 7

Samual Sam
Updated on 23-Jan-2020 07:57:45
In this article, we will learn about – How to install and configure MS SQL on CentOS 7. Microsoft has recently announced that they are planning to release the MS SQL for Linux. Specially the beta versions for RedHat enterprises Linux, Centos & Ubuntu but only with 64-bit editions.PrerequisitesA machine with a minimum of 4 GB RAM and 30 GB Hard disk space.A machine installed with CentOS 7.A user with root privileges or root user.MS SQL Server installation on CentOSSince MS SQL is not available with the default CentOS repository, we needed to add the MS SSQL repository details to ... Read More

How To Configure and Secure SFTP Without Providing Shell Access on CentOS 7

Sharon Christine
Updated on 23-Jan-2020 07:28:19
In this article we will learn about how to configure SFTP without enabling the shell access on CentOS 7, SSH File Transfer Protocol (SFTP) which is a secure way to transferring files from servers to a server using the SSH encrypted connections, which is a different protocol from File Transfer Protocol (FTP) that is supported by all the FTP clients.SFTP can be configured by using default configurations on all the servers which had the SSH access enabled on the machine. SFTP is a secure and easiest way to use, which has a disadvantage in the standard configuration, which allows terminal ... Read More

How to Enable and Install Third Party Packages Using EPEL Repository on CentOS/RHEL

Sharon Christine
Updated on 21-Jan-2020 10:42:03
In this article we shall try to learn, how to add EPEL Repository for Linux. EPEL (Extra Package for Enterprise Linux) is an open source and free community based repository from the Fedora community team which provides high quality and good add-on software’s for Linux distributions. It has Red Hat Enter Linux, CentOS, Scientific Linux and most of the repositories which are maintained by the Fedora team only.Why we use EPEL Repositories for PackagesProvides a lot of open source packages which are installed using yum.EPEL repositories are open source and they are 100% free to use.There will not be any ... Read More

How to Create/Add a New Virtual Disk for an Existing Linux Virtual Machine

karthikeya Boyini
Updated on 21-Jan-2020 10:27:50
This article helps you to create and add a new virtual disk to an existing Linux virtual machine on VMware. Here are some steps for adding a new SCSI based virtual disk on a CentOS Linux virtual machine. We are assuming that you are already familiar with Linux system administration skills and having knowledge of vCenter Server or vSphere Client. For a full description of the utilities mentioned in this article, please refer to the manuals.SolutionTo add a new virtual disk for an existing Linux virtual machine, Log in as root on your Linux virtual machine. Run this below command ... Read More

How to Configure Nagios Server for Monitoring Apache Server

karthikeya Boyini
Updated on 21-Jan-2020 10:00:03
In this article, we will be covering about the installation of Nagios 4, a very popular and open source monitoring tool on Centos 6.7. We shall cover some basic configuration steps which might be useful to monitor a host of resources via the web interface. Here, we shall also utilize the Nagios Remote Plugin Executor (NRPE) that is installed as an agent on remote hosts to monitor the local resources of Servers/clients.Nagios is useful for keeping an inventory of your servers, and making sure your critical services are up and running. Using a monitoring system, Nagios is an essential tool ... Read More

How To Configure mod_rewrite for Apache on CentOS 7

Sharon Christine
Updated on 21-Jan-2020 09:49:30
In this article, we will learn about how to configure the mod_rewrite for Apache on CentOS 7, Apache is a very popular web server which allows us to customize and enable its capabilities and disable them. if we now needed more, the Apache administrator has permissions to change according to our needs of the web application.PrerequisitesWe needed a Linux machine installed with CentOS 7.We need a non-root user with sudo permissions.Installing the Apache Web ServerWe will install the Apache Web Server using yum as, Apache is available with the default packages with the management utility of the CentOS repository.The Apache ... Read More

How To Install Go (Golang) 1.7 on CentOS 7

Sharon Christine
Updated on 20-Jan-2020 13:13:17
In this article, we will learn about how to install and configure Go (golang) which is developed by Google and its open source programming language. It’s a simple, efficient and reliable programming language for development with minimalist.PrerequisitesA CentOS machine installed.A non-root user with Sudo permission on the CentOS machine.Downloading and Installing the GOThe Go (golang) is not up to date on the CentOS repository, so we will manually download and install the package directly from the Go lang website and also make sure that we have the latest version which is compatible with our system architecture.Let’s move to the writable ... Read More

How To Use Systemctl On CentOS 7.x or RHEL Linux 7

karthikeya Boyini
Updated on 20-Jan-2020 12:56:10
In this article we will learn how to use ‘systemctl’ command, ‘systemctl’ is a new command which is available in the new version of Linux distributions which is used to control the system and services, we will explore some possible ways to use the ‘systemctl’ command in Linux.Checking Services StatusWe can verify the status of the services using this command. Below is the command to check the service.# systemctl status httpd httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2016-06-02 06:48:58 EDT; 27s ago    Docs: man:httpd(8)    man:apachectl(8) Main ... Read More