User Tools

Site Tools


linux_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux_installation [2017/01/31 06:08]
jtkorb
linux_installation [2017/01/31 06:35] (current)
jtkorb [Useful Commands]
Line 2: Line 2:
  
 ===== Useful Commands ===== ===== Useful Commands =====
-  * ''​nmcli d[evice]''​ to list the network device names ''​nmcli c[onnection]''​ also works. +  * To list network device names (choose one): 
-  * ''​nmcli d[device] show enp4s0'' ​to show details of device enp4s0, including DNS servers. + 
-  * Set DNS servers by editing /​etc/​network/​interfaces and using this line: ''​dns-nameservers 208.67.222.222 208.67.220.220''​ (for [[https://​www.lifewire.com/​free-and-public-dns-servers-2626062|OpenDNS]] servers).+  ​nmcli ​device 
 +  nmcli connection 
 + 
 +  * To show details of device ​''​enp4s0'',​ including DNS servers
 + 
 +  nmcli device show enp4s0 
 + 
 +  * Set [[https://​www.lifewire.com/​free-and-public-dns-servers-2626062|DNS servers]] by editing /​etc/​network/​interfaces. 
  
 ===== Security Considerations ===== ===== Security Considerations =====
   * Install [[http://​www.fail2ban.org/​wiki/​index.php/​Main_Page|Fail2ban]].   * Install [[http://​www.fail2ban.org/​wiki/​index.php/​Main_Page|Fail2ban]].
   * Change the ssh port.  Nice instructions at [[https://​www.godaddy.com/​help/​changing-the-ssh-port-for-your-linux-server-7306|GoDaddy]]. ​ Don't forget to update the router firewall port mapping.   * Change the ssh port.  Nice instructions at [[https://​www.godaddy.com/​help/​changing-the-ssh-port-for-your-linux-server-7306|GoDaddy]]. ​ Don't forget to update the router firewall port mapping.
linux_installation.txt · Last modified: 2017/01/31 06:35 by jtkorb