Difference between revisions of "Base"

From wiki
(Setup clock)
(Add progress to the list of base commands)
Line 1: Line 1:
 
== Install Base Commands ==
 
== Install Base Commands ==
 
<syntaxhighlight lang="console">
 
<syntaxhighlight lang="console">
# apt install aptitude bash-completion curl dtrx file htop iotop jnettop sl sudo whois
+
# apt install aptitude bash-completion curl dtrx file htop iotop jnettop progress sl sudo whois
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 13:16, 18 September 2016

Install Base Commands

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

Setup Clock

Enable NTP to keep your server clock synchronized.

# apt purge ntpdate
# systemctl enable systemd-timesyncd.service
Created symlink from /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service to /lib/systemd/system/systemd-timesyncd.service.
# 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.

# dpkg-reconfigure tzdata