Installing php 5.6 on CentOS 7

enable EPEL and Remi repository to your CentOS 7 system using the commands below. # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm install yum utils # yum install yum-utils The most important program provided by yum-utils is yum-config-manager, which you can use to active Remi repository as the default repository for installing various PHP versions. For example, if you want to install PHP … Read more

Installing ntpd

Step 1: Install and configure NTP daemon NTP server package is provided by default from official CentOS /RHEL 7 repositories and can be installed by issuing the following command. # yum install ntp Install NTP Server 2. After the server is installed, first go to official NTP Public Pool Time Servers, choose your Continent area where the server physically is located, … Read more

Installing fail2ban

1. Install Fail2Ban   Because Fail2Ban is not available from CentOS, we will have to install EPEL repository first. The following commands must be executed after switching to the root user. yum install epel-release Follow up by installing Fail2Ban: yum install fail2ban fail2ban-systemd   2. Running Fail2Ban service   Execute the following command lines to … Read more