Last updated 3 years ago
Install the httpd daemon and restart
sudo yum install httpd -y
sudo systemctl start httpd.service
Check Status
sudo systemctl status httpd.service
sudo systemctl enable httpd.service
Configure VM Swappiness
sudo vi /etc/sysctl.conf
Add this line:
vm.swappiness=0
Reboot the machine to make the changes effective
sudo yum install ntp -y
Start the service and verify its status.
sudo systemctl start ntpd.service sudo systemctl status ntpd.service
Ensure that the service starts automatically on reboot.
sudo systemctl enable ntpd.service