User Tools

Site Tools


distros:ubuntu_server

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
distros:ubuntu_server [2019/10/18 12:57] Sean Rhonedistros:ubuntu_server [2020/06/11 16:09] Sean Rhone
Line 3: Line 3:
   * Ubuntu Server ((http://www.ubuntu.com/server))   * Ubuntu Server ((http://www.ubuntu.com/server))
   * 18.04.3 LTS   * 18.04.3 LTS
 +
 +====== Known Issues ======
 +
 +  * None
  
 ====== Download ====== ====== Download ======
Line 14: Line 18:
   * During installation, allow network autoconfig to occur, and then go back once prompted for a hostname; this will allow setting a static IPv4 address and custom DNS settings   * During installation, allow network autoconfig to occur, and then go back once prompted for a hostname; this will allow setting a static IPv4 address and custom DNS settings
  
-====== Software ======+====== Repositories ======
  
-===== Repositories ===== +===== Additional Ubuntu =====
- +
-=== Additional Ubuntu ===+
  
   * https://help.ubuntu.com/community/Repositories/Ubuntu   * https://help.ubuntu.com/community/Repositories/Ubuntu
Line 29: Line 31:
  
   sudo add-apt-repository 'restricted'   sudo add-apt-repository 'restricted'
 +
 +====== Software ======
  
 ===== Update ===== ===== Update =====
 +
 +==== System ====
  
 **** ****
  
   sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean && sync   sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean && sync
 +
 +==== Snaps ====
 +
 +****
 +
 +  sudo snap refresh
 +
 +===== General =====
 +
 +****
 +
 +  sudo apt install lm-sensors
 +
 +===== Keybase =====
 +
 +  * https://keybase.io
 +  * TODO: Figure out backup script
 +
 +  wget -O '/tmp/keybase_amd64.deb' 'https://prerelease.keybase.io/keybase_amd64.deb' && sudo dpkg --install '/tmp/keybase_amd64.deb' && sudo apt install -f && rm '/tmp/keybase_amd64.deb' && sync && run_keybase
  
 ====== Settings ====== ====== Settings ======
Line 42: Line 67:
   * See [[Clients:Secure Shell]]   * See [[Clients:Secure Shell]]
  
-===== TRIM =====+===== Sensors =====
  
-==== Swap ====+==== Detect ====
  
-  Add ''discard'' after ''defaults'' for the ''swap'' mountpoint ((defaults,discard))+****
  
-  sudo -e '/etc/fstab'+  sudo sensors-detect --auto
  
-  ,discard+==== Watch ====
  
-==== Service ==== +****
- +
-  ''fstrim.timer'' is already enabled out-the-box, but this is useful for historical purposes +
-  TODO: Verify+
  
-  sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l+  sudo watch -n0.1 sensors
  
 ===== Uncomplicated Firewall ===== ===== Uncomplicated Firewall =====
  
   * Allows SSH   * Allows SSH
 +  * Limits SSH connections
  
-  sudo ufw reset && sudo ufw default deny && sudo ufw logging off && sudo ufw allow 'ssh' && sudo ufw enable && sudo systemctl enable 'ufw'+  sudo ufw reset && sudo ufw default deny && sudo ufw logging off && sudo ufw allow 'ssh' && sudo ufw limit 'ssh' && sudo ufw enable && sudo systemctl enable 'ufw'
  
 ====== Automatic Updates ====== ====== Automatic Updates ======
/var/www/wiki/data/pages/distros/ubuntu_server.txt · Last modified: 2024/02/07 09:22 by Sean Rhone