Install PHP APC Cache on CentOS 7 using yum

To install APC cache on CentOS 7, run After that, you need to restart the Apache webserver. in phpinfo() page,

Yum Error Operation too slow

Yum Error Operation too slow

When i did yum update on a CloudLinux server, i get following error This is because server is unable to

yum fix duplicate package error

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

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”

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

yum-config-manager

yum-config-manager

yum-config-manager allows you to manage yum repositories. To add a repo, run Disable a repository See yum

Yum disable a repository

Yum disable a repository

To disable a repository, run To list all enabled repository, run

Fix yum duplicate packages

Fix yum duplicate packages

On a CentOS server, when running It failed with following error https://gist.github.com/serverok/c0853120baff8848054cfb598e389c3a This is because previous “yum update” failed for

yum repolist

yum repolist

List all Repositories List packages from a specific repo Following command disable all repos and enable EPEL repo. See yum

yum

yum

Some useful yum commands when installation fails or stopped halfway Red Hat Software Collections (RHSCL) yum commands Maybe run: yum

Maybe run: yum groups mark install

Maybe run: yum groups mark install

When installing CloudLinux alt-php group, i get error. This error is fixed by running See yum