Congratulations! It seems you have got a new server, rookie!
Change SSH Port
Start a new line after #Port 22, then add:
(2002 above should be the port you want to use instead.)
Then save & quit (Esc
Some systems have SELinux enabled, we could shut it down to prevent some further issues.
Edit /etc/selinux/config, find SELINUX=enforcing. Rewrite it as SELINUX=disabled
Also, you may want to shutdown SELinux before you reboot. Then execute
DNS servers are listed in /etc/resolv.conf
We can use something like this:
In /usr/share/zoneinfo/ you can find directories corresponding to the continents. Under those directories, there are corresponding cities.
Run the command below to set time as Mountain Time:
cp /usr/share/zoneinfo/US/Mountain /etc/localtime
Of course in CentOS7 it is even easier, you can just run a command to call the program.
timedatectl set-timezone US/Mountain