Difference between revisions of "Base"

From wiki
(sudo)
(moved sudo and aptitude to dedicated pages)
Line 1: Line 1:
 
== Install Base Commands ==
 
== Install Base Commands ==
 
<syntaxhighlight lang="console">
 
<syntaxhighlight lang="console">
$ sudo apt install aptitude bash-completion curl dtrx file htop iotop jnettop progress sl sudo whois
+
$ sudo apt install bash-completion curl dtrx file htop iotop jnettop progress sl whois
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 07:44, 5 January 2017

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