Base

From wiki
Revision as of 07:44, 5 January 2017 by Vincent (talk | contribs) (moved sudo and aptitude to dedicated pages)

Install Base Commands

$ sudo apt install bash-completion curl dtrx file htop iotop jnettop progress sl whois

Setup Clock

Enable NTP to keep your server clock synchronized.

$ sudo apt purge ntpdate
$ sudo systemctl enable systemd-timesyncd.service
Created symlink from /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service to /lib/systemd/system/systemd-timesyncd.service.
$ sudo systemctl start systemd-timesyncd.service

You also need to configure timezone.
For servers, it is recommended to choose the UTC timezone. That way, you avoid the time jumping in your log around DST clock shifts.

$ sudo dpkg-reconfigure tzdata