Server Maintenance (RHEL, pew)
Update and Upgrade software:
$ sudo yum update
$ sudo yum upgrade
OR, use the below is you can’t be arsed to review and accept changes (not recommended):
$ sudo yum -y update && yum -y upgrade
Check services are running – all should be active (running) and enabled to start on boot:
$ service httpd status
$ service mariadb status
$ service firewalld status
List all zones:
$ sudo firewall-cmd –permanent –zone=public –list-all