| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| linux:distros:server:fedora_server [2025/12/03 17:03] – Sean Rhone | linux:distros:server:fedora_server [2025/12/03 23:08] (current) – [PackageKit] Sean Rhone |
|---|
| ===== Partitioning ===== | ===== Partitioning ===== |
| |
| * ''64 MB'' EFI partition ''/boot/efi'' ((usage is ''20M'' but installer minimal to pass a check is ''64M'')) | |
| * XFS ''/'' | * XFS ''/'' |
| |
| * Sets ''nowrap'' for current user | * Sets ''nowrap'' for current user |
| |
| sudo dnf install 'nano' -y && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc' | sudo dnf install 'nano' -y && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && sudo restorecon -F -I '/etc/profile.d/editor-nano.sh' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc' |
| |
| ===== General ===== | ===== General ===== |
| * This tells ''systemd'' to ignore Lid close events and prevents system suspend | * This tells ''systemd'' to ignore Lid close events and prevents system suspend |
| |
| sudo mkdir -p '/etc/systemd/logind.conf.d' && echo -e "[Login]\nHandleLidSwitch=ignore" | sudo tee '/etc/systemd/logind.conf.d/99-laptop-server.conf' > '/dev/null' | sudo mkdir -p '/etc/systemd/logind.conf.d' && echo -e "[Login]\nHandleLidSwitch=ignore" | sudo tee '/etc/systemd/logind.conf.d/99-laptop-server.conf' > '/dev/null' && sudo restorecon -F -I '/etc/systemd/logind.conf.d/99-laptop-server.conf' |
| |
| sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf' | sudo -e '/etc/systemd/logind.conf.d/99-laptop-server.conf' |
| |
| * [[linux:notes:x86_energy_perf_policy|x86_energy_perf_policy udev Rule]] | * [[linux:notes:x86_energy_perf_policy|x86_energy_perf_policy udev Rule]] |
| | * TODO: Check |
| |
| ===== lm_sensors ===== | ===== lm_sensors ===== |
| sudo -e '/etc/default/grub' && sudo restorecon -F -I '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg' && sudo restorecon -F -I '/boot/grub2/grub.cfg' | sudo -e '/etc/default/grub' && sudo restorecon -F -I '/etc/default/grub' && sudo grub2-mkconfig -o '/boot/grub2/grub.cfg' && sudo restorecon -F -I '/boot/grub2/grub.cfg' |
| |
| GRUB_CMDLINE_LINUX="rhgb quiet" | <code>GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi='Linux' reboot='pci' hibernate='no' idle='halt' nohz='off' preempt='full' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0'"</code> |
| |
| <code>acpi_osi='Linux' reboot='pci' hibernate='no' idle='halt' nohz='off' mitigations='off' preempt='full' iommu='pt' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' pcie_aspm='off' pcie_port_pm='off' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0'</code> | nomodeset |
| |
| ==== systemd-analyze ==== | ==== systemd-analyze ==== |
| MaxLevelWall=0 | MaxLevelWall=0 |
| MaxLevelSocket=0 | MaxLevelSocket=0 |
| | |
| | # End</code> |
| | |
| | ===== PackageKit ===== |
| | |
| | * ''packagekitd'' to on-demand ((allows ''PackageKit-command-not-found'' to function)) |
| | |
| | sudo mkdir -p '/etc/systemd/system/packagekit.service.d' && sudo -e '/etc/systemd/system/packagekit.service.d/on-demand.conf' && sudo restorecon -F -I -R '/etc/systemd/system/packagekit.service.d' && sudo systemctl daemon-reload |
| | |
| | <code> |
| | [Service] |
| | RuntimeMaxSec=5 |
| |
| # End</code> | # End</code> |