yum commands

yum commands

Install a software with yum Uninstall a software Example for installing php and GD When you need to update all

EPEL – Extra Packages for Enterprise Linux

EPEL – Extra Packages for Enterprise Linux

EPEL (Extra Packages for Enterprise Linux) provide additional software for CentOS and RHEL. You can find more information about EPEL

Install elasticsearch on CentOS 7

Install elasticsearch on CentOS 7

To install elasticsearch, first install java Import key Create file Paste following Install elasticsearch Set elastic search to start on

yum [Errno 5] [Errno 2] No such file or directory

yum [Errno 5] [Errno 2] No such file or directory

When running yum update on CentOS 7 server, i get following error Someone had tried to install differnt version of

Install bind in CentOS 7

Install bind in CentOS 7

bind is a DNS server. To install bind on CentOS 7, run Enable bind to start on boot Start bind

Install Python 3.8 on CentOS 6 from source

Install Python 3.8 on CentOS 6 from source

To install Python 3.8 on CentOS, you need to install OpenSSL as the one installed by CentOS from yum is

yum list all available packages in a repo

yum list all available packages in a repo

To list all packages available on a specific repo, run Example: This command list all packages available in repo “litespeed”

Install PHP 7 on CentOS VestaCP

Install PHP 7 on CentOS VestaCP

To install PHP 7. you need to first enable epel and remi repo. Remove existing PHP Install PHP 7.3 start

rpmdb DB_RUNRECOVERY: Fatal error, run database recovery

rpmdb DB_RUNRECOVERY: Fatal error, run database recovery

When running yum update on a CentOS server, i get following error. To fix it, run

rpm verify packages

rpm verify packages

To verify a package installed on system, you can use Example Here bind package have /etc/named.conf file modified. To verify

CentOS 7 resolv.conf make changes permanent

CentOS 7 resolv.conf make changes permanent

On rebooting CentOS 7 server, changes made to resolv.conf is lost. This is becaise one of the network interface is

Install Pure-FTPd on CentOS with Virtual Users

Install Pure-FTPd on CentOS with Virtual Users

To install Pure-FTPd on CentOS, run Edit configuration file To disable anonymous FTP, find Replace with To enable Virtual Users,