How to fix CentOS 5 or 6 error: YumRepo Error: All mirror URLs are not using ftp, http[s] or file Rumi, December 6, 2020July 9, 2021 The error looks like- And here goes the resolution (please carefully update/use the exact CentOS version you are using, in my case it was CentOS 6.9) 1. Go to /etc/yum.repos.d/ directory: # cd /etc/yum.repos.d/ 2. Make copy of original file: # cp CentOS-Base.repo CentOS-Base.repo.old 3. Open and edit file with… Continue Reading
Build a Centos 7 Repo Rumi, August 2, 2020 Install httpd [root@www ~]# yum -y install httpd # remove welcome page [root@www ~]# rm -f /etc/httpd/conf.d/welcome.conf Configure httpd. Replace server name to your own environment. [root@www ~]# vi /etc/httpd/conf/httpd.conf # line 86: change to admin’s email address ServerAdmin root@srv.world # line 95: change to your server’s name ServerName www.srv.world:80 # line 151: change AllowOverride All # line 164:… Continue Reading
Install MariaDB on CentOS 7 Rumi, May 25, 2020 Start by adding the MariaDB YUM repository file MariaDB.repo for RHEL/CentOS and Fedora systems. # vi /etc/yum.repos.d/MariaDB.repo Now add the following lines to your respective Linux distribution version as shown. On CentOS 7 [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 Step 2: Install MariaDB in CentOS 7 Once… Continue Reading
Install WHMCS on CentOS 7 Rumi, May 25, 2020May 25, 2020 As you may know, WHMCS is the leading web hosting management and billing software that automates all aspects of your business from billing, provisioning, domain reselling and etc. In this article, we are going to install WHMCS 7.7.1 on CentOS 7.6. We assume you have a valid WHMCS license and… Continue Reading
Configuring SpamAssassin for Postfix on CentOS Rumi, May 23, 2020 In the process of receiving email, spamassassin will stand between the outside world and the email services running on your server itself. If it finds, according to its definition rules and configuration, that an incoming message is spam, it will rewrite the subject line to clearly identify it as such…. Continue Reading
Install ClamAV on CentOS 6 Rumi, May 23, 2020 Step 1. First add yum repository your system. The EPEL repo is enabled by simply installing an RPM. Please use the command below to install the EPEL repository on your CentOS server. #CentOS 6 – 32-bit rpm -Uvh http://mirror.overthewire.com.au/pub/epel/6/i386/epel-release-6-8.noarch.rpm #CentOS 6 – 64-bit rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Step 2. Install required ClamAV packages…. Continue Reading
Install SNMP and Configure the Community String For CentOS Rumi, April 23, 2020 Install SNMP Install the SNMPD service by running the following command: yum install net-snmp net-snmp-utils Once the service is installed, verify that it is set to start at startup by running: CentOS 6: chkconfig snmpd on CentOS 7: systemctl enable snmpd Continue Reading
Extend/Reduce LVM’s (Logical Volume Management) in Linux Rumi, March 15, 2020 My Server Setup – Requirements Operating System – CentOS 6.5 with LVM Installation Server IP – 192.168.0.200 How to Extend Volume Group and Reduce Logical Volume Logical Volume Extending Currently, we have One PV, VG and 2 LV. Let’s list them one by one using following commands. # pvs #… Continue Reading
Install cPanel on CentOS 7 Rumi, February 1, 2020February 1, 2020 cPanel is an online Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site or email. Prerequisite: Launch a CentOS 7 instance (Only install cPanel & WHM on a freshly-installed operating system). Access the instance via SSH. Run all the… Continue Reading
Install Mariadb on CentOS 7 Rumi, January 21, 2020 MariaDB is an open-source relational database management system, backward compatible, binary drop-in replacement of MySQL. It is developed by some of the original developers of the MySQL and by many people in the community. With the release of CentOS 7, MySQL was replaced with MariaDB as the default database system…. Continue Reading