yum fix duplicate package error

When installing a package, i get following error

To fix, remove the conflicting package with

See yum, Fix yum duplicate packages […]

Read More…

Red Hat Killing CentOS Linux, Fight for CentOS clone

RedHat, parent company of CentOS Linux announce it will stop supporting CentOS 8, the latest version of CentOS. CentOS is build from the source code RHEL, making a free version of stable and well-tested enterprise ready RHEL Linux. CentOS 7 will keep getting security updates until it reaches End Of Life June 30th, 2024. For […]

Read More…

Install Monit on CentOS

Monit allow you to monitor process. It can restart failed process or alert when server is overloaded. On CentOS server, you need to enable EPEL repo to install monit.

Install monit with

Enable monit to auto start on boot

Start monit service

On CentOS, monit configuration file located at

See […]

Read More…

Prometheus init script for CentOS 6

Create init file.

Add following

Create User For Prometheus

Run prometheus on Boot

Verify it is enabled

“3:on” will start prometheus on run level 3, that is normal boot. Start Prometheus

See Monitor Server with Prometheus and Grafana […]

Read More…

rpmquery

rpmquery command allow you to check if a specific rpm package installed on your computer.

Example

See rpm […]

Read More…

Update Cpanel License Key

To update cpanel server license, run

Example

Back to Cpanel Server […]

Read More…

Install PHP 5.6 on CentOS 7

To install PHP 5.6 on CentOS 7, enable EPEL repo and remi repo

Install yum-utils and enable remi-php56 repo

Install PHP 5.6 with

[…]

Read More…

yum commands

Install a software with yum

Uninstall a software

Example for installing php and GD

When you need to update all install software, run

List all available software

List all installed software

See yum […]

Read More…

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 at http://fedoraproject.org/wiki/EPEL On CentOS 7/8, you can enable EPEP repo with command

Or just download rpm package from the site and install. RHEL/CentOS 6:

RHEL/CentOS 7:

RHEL/CentOS 8:

See CentOS, yum […]

Read More…