Linux - Yum
Commands
Repos
Display available repo:
Display installed package:
Clean cache:
Recreate cache:
Display duplicate packages:
Find package with a binaries:
Yum history:
# Display history
yum history
# Detail of an history-id
yum history info {history-id}
# Ex: yum history info 22
Security
Minimal update security and bugfix:
Procedures
Install PHP (https://www.howtoforge.com/tutorial/centos-lamp-server-apache-mysql-php/):
```bash
With RPM:
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
With Yum:
yum-config-manager --enable remi-php71 yum install php php-opcache
Check version of php:
php -v ````