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,

Install vim from source on CentOS

Install vim from source on CentOS

To install vim from source on CentOS server, run This will install latest version of vim. You can start it

Install clamav  Antivirus on CentOS 7

Install clamav Antivirus on CentOS 7

ClamAV is provided by EPEL repo. Install epel repo Install ClamAV with

OpenLiteSpeed Benchmark

Install OpenLiteSpeed on CentOS

To install OpenLiteSpeed web server on CentOS, install repository for your CentOS version For CentOS 6 For CentOS 7 For

Set hostname in CentOS 7

Set hostname in CentOS 7

Hostname is a sub domain. To set hosting, edit file Add Example Now run Example Run Edit file Edit or

CentOS 7 VestaCP Upgrade PHP to 7.x

CentOS 7 VestaCP Upgrade PHP to 7.x

On CentOS 7 VestaCP install PHP 5.6 by default. This is very old version of PHP. To upgrade PHP to

CentOS

CentOS 7 Grub 2

To regenerate grub config on CentOS 7, run If you use UEFI, run

CentOS

How to reinstall packages using yum

To reinstall a package with yum, run Example

Nginx Web Server

Install Nginx on CentOS 8

To install Nginx web server on CentOS 8, create repo Add Install nginx with dnf or yum Open HTTP and

Install PHP 7.4 on CentOS 7

Install PHP 7.4 on CentOS 7

To install PHP 7.4 on CentOS 7, first install remi repository. Set PHP 7.4 as default PHP Install PHP with