Created
October 17, 2016 07:58
-
-
Save benjiao/9e45daeb99430240ac38f8bd35eda2ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo timedatectl set-timezone Asia/Manila | |
sudo yum install ntp && \ | |
sudo systemctl start ntpd && \ | |
sudo systemctl enable ntpd && \ | |
sudo service ntpd restart | |
# Setup Swapfile | |
sudo dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && \\ | |
sudo chmod 600 /swapfile && sudo mkswap /swapfile && \\ | |
sudo swapon /swapfile && \\ | |
sudo sh -c 'echo "/swapfile none swap sw 0 0" >> /etc/fstab' | |
# Reboot! | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment