User Tools

Site Tools


linux:distros:server: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
linux:distros:server:ubuntu_server [2025/12/19 20:51] Sean Rhonelinux:distros:server:ubuntu_server [2025/12/21 01:21] (current) – [GRUB] Sean Rhone
Line 14: Line 14:
  
   ubuntu-25.10-live-server-amd64.iso   ubuntu-25.10-live-server-amd64.iso
 +
 +====== Installation Notes ======
 +
 +===== Network =====
 +
 +  * Subnet: ''192.168.1.0/24''
  
 ====== Software ====== ====== Software ======
Line 55: Line 61:
 **** ****
  
-  sudo timedatectl 'set-ntp' 'true' && timedatectl status+  sudo timedatectl set-timezone 'America/New_York' && sudo timedatectl 'set-ntp' 'true' && timedatectl status
  
 ===== Uncomplicated Firewall ===== ===== Uncomplicated Firewall =====
  
-  * Allows SSH on LAN+  * Allows SSH on [[#network|LAN]]
   * See [[linux:notes:ufw_uncomplicated_firewall|ufw]] for more notes   * See [[linux:notes:ufw_uncomplicated_firewall|ufw]] for more notes
  
Line 86: Line 92:
 <code>GRUB_CMDLINE_LINUX="x"</code> <code>GRUB_CMDLINE_LINUX="x"</code>
  
-<code>acpi_osi='Linux' reboot='pci' hibernate='no' preempt='full' iommu='pt' pci='pcie_bus_perf' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0' rootflags='data=writeback' workqueue.default_affinity_scope='smt'</code>+<code>acpi_osi='Linux' reboot='pci' hibernate='no' preempt='full' iommu='pt' pci='pcie_bus_perf' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0' rootflags='data=writeback' workqueue.default_affinity_scope='cpu' nomodeset modprobe.blacklist='amdgpu'</code>
  
 ====== Drive Maintenance ====== ====== Drive Maintenance ======
Line 109: Line 115:
  
   * ''/ type ext4''   * ''/ type ext4''
-  * :!: ''data=writeback'' requires it in GRUB too+  * :!: ''data=writeback'' requires it in [[#grub|GRUB]] too
  
   ,data=writeback,nobarrier   ,data=writeback,nobarrier
Line 122: Line 128:
 [Service] [Service]
 Type=oneshot Type=oneshot
-ExecStartPre='/usr/bin/apt' clean+ 
 +ExecStartPre='/usr/bin/apt' autoremove -y 
 + 
 +ExecStart='/usr/bin/apt' clean
 ExecStart='/usr/bin/apt' update ExecStart='/usr/bin/apt' update
 ExecStart='/usr/bin/apt' full-upgrade -y ExecStart='/usr/bin/apt' full-upgrade -y
-ExecStart='/usr/bin/apt' autoremove -y+
 ExecStart='/usr/bin/snap' refresh ExecStart='/usr/bin/snap' refresh
 +
 +ExecStartPost='/usr/bin/journalctl' --vacuum-time='1s' --rotate
 +ExecStartPost='/usr/bin/systemctl' daemon-reload
 ExecStartPost='/usr/bin/sync' ExecStartPost='/usr/bin/sync'
-ExecStartPost='/usr/bin/systemctl' reboot</code>+ExecStartPost='/usr/bin/systemctl' reboot 
 + 
 +# End</code>
  
 ===== Timer ===== ===== Timer =====
  
-  * ''00:00'' Alira+  * Daily ''06:00:00 AM'' (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 138: Line 152:
 <code> <code>
 [Unit] [Unit]
-Description=Software Package Maintenance and Updater+Description=Ubuntu OS Updater
 After=network-online.target After=network-online.target
 Wants=network-online.target Wants=network-online.target
  
 [Timer] [Timer]
-OnCalendar=*-*-* 00:00:00+OnCalendar=*-*-* 06:00:00
 Persistent=true Persistent=true
  
 [Install] [Install]
-WantedBy=timers.target</code>+WantedBy=timers.target 
 + 
 +# End</code> 
 + 
 +  sudo systemctl start 'ubuntu-up'
  
 ====== External Backup ====== ====== External Backup ======
/var/www/wiki/data/attic/linux/distros/server/ubuntu_server.1766195515.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki