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
distros:ubuntu_server [2023/05/04 10:02] – Ubuntu Server 23.04 Sean Rhonedistros:ubuntu_server [2024/02/07 09:22] (current) Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * Ubuntu Server ((http://www.ubuntu.com/server)) +  * Ubuntu ((https://ubuntu.com/)) 
-  * 23.04+  * Server ((http://www.ubuntu.com/server)) 
 +  * 23.10
  
-====== Known Issues ======+====== Installation Notes ======
  
-  * None+  * 23.10's installers don't work with only 512 MB of physical RAM ((2024: can't use Vultr's free tier VPS option; [[https://www.vultr.com/?ref=6906013|referral]])), but fine with 1 GB+ 
 +  * :!: 2024/02/07: The 23.10 installer seems to progress very slowly or hang with 1 GB physical RAM at the very end both when waiting for it to do security updates and with pressing cancel updates and reboot; hard-rebooting a VPS at this point seems fine
  
 ====== Download ====== ====== Download ======
 +
 +===== Etcher Image Writer =====
 +
 +  * https://etcher.balena.io/#download-etcher
 +
 +===== Ubuntu =====
  
   * http://www.ubuntu.com/download/server   * http://www.ubuntu.com/download/server
   * http://cdimage.ubuntu.com/releases/   * http://cdimage.ubuntu.com/releases/
  
-====== Installation Notes ======+====== HOSTS ====== 
 + 
 +  * https://github.com/StevenBlack/hosts/ 
 +  * Unified hosts + fakenews + gambling 
 + 
 +===== Initial ===== 
 + 
 +  * Only run once 
 + 
 +  ls '/etc/hosts~' || wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sudo cp --backup '/tmp/hosts-tmp' '/etc/hosts' && sync 
 + 
 +===== Update ===== 
 + 
 +**** 
 + 
 +  ls '/etc/hosts~' && wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sudo mv --force '/tmp/hosts-tmp' '/etc/hosts' && sync
  
-  N/A+===== Restore Backup ===== 
 + 
 +**** 
 + 
 +  ls '/etc/hosts~' && sudo mv --force '/etc/hosts~' '/etc/hosts' && sync
  
 ====== Repositories ====== ====== Repositories ======
 +
 +===== Disable cdrom Repo =====
 +
 +  * Add a ''#'' to the line mentioning ''cdrom''
 +  * Solves ''E: The repository file:/cdrom mantic Release no longer has a Release file.''
 +
 +  sudo -e '/etc/apt/sources.list'
 +
 +<code>#deb [check-date=no] file:///cdrom mantic main restricted</code>
  
 ===== Additional Ubuntu ===== ===== Additional Ubuntu =====
Line 23: Line 59:
   * https://help.ubuntu.com/community/Repositories/Ubuntu   * https://help.ubuntu.com/community/Repositories/Ubuntu
   * Only ''universe'' is likely needed   * Only ''universe'' is likely needed
-  * As of 2023/05/04, none of this is necessary+  * 2023/05/04: There doesn't seem to be a need to enable any of these by-default
  
   sudo add-apt-repository 'universe'   sudo add-apt-repository 'universe'
Line 69: Line 105:
  
 ====== Settings ====== ====== Settings ======
- 
-===== Kernel Options ===== 
- 
-==== Swappiness ==== 
- 
-**** 
- 
-  echo 'vm.swappiness = 0' | sudo tee '/etc/sysctl.d/99-swappiness.conf' > '/dev/null' && cat '/etc/sysctl.d/99-swappiness.conf' 
- 
-=== Verify === 
- 
-  sysctl 'vm.swappiness' 
- 
-  cat '/proc/sys/vm/swappiness' 
  
 ===== GRUB ===== ===== GRUB =====
Line 92: Line 114:
  
   sudo -e '/etc/default/grub' && sudo update-grub   sudo -e '/etc/default/grub' && sudo update-grub
- 
-==== Linux OSI ==== 
- 
-**** 
- 
-  acpi_osi=Linux 
- 
-==== PCI ==== 
- 
-**** 
- 
-  pci=pcie_bus_perf,realloc,pcie_scan_all,big_root_window 
- 
-==== CPU BIOS Limit Ignore ==== 
- 
-**** 
- 
-  processor.ignore_ppc=1 
- 
-==== intel_pstate ==== 
- 
-**** 
- 
-  intel_pstate=enable 
  
 ===== Drive Maintenance ===== ===== Drive Maintenance =====
Line 198: Line 196:
  
 ===== Service ===== ===== Service =====
- 
-  * :!: 2023/05/04: ''snap refresh'' needs tested 
  
   sudo -e '/etc/systemd/system/ubuntu-up.service'   sudo -e '/etc/systemd/system/ubuntu-up.service'
Line 216: Line 212:
 ===== Timer ===== ===== Timer =====
  
-  * 03:00 Oak+  * ''00:00'' Alira
  
   sudo -e '/etc/systemd/system/ubuntu-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'ubuntu-up.timer' --now   sudo -e '/etc/systemd/system/ubuntu-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'ubuntu-up.timer' --now
Line 227: Line 223:
  
 [Timer] [Timer]
-OnCalendar=*-*-* 03:00:00+OnCalendar=*-*-* 00:00:00
 Persistent=true Persistent=true
  
/var/www/wiki/data/pages/distros/ubuntu_server.txt · Last modified: 2024/02/07 09:22 by Sean Rhone