Changes I Make When Deploying A New Server

When I deploy a Linux server, usually Ubuntu, I make sure to include some changes that differs from default. The default config is fine, but since the virtual hardware my server is running on is quite limiting, I need to do some fine tuning. So, first up, let’s benchmark the performance with the default config, then the fine tuned config. Setup /etc/sysctl.d/99-sysctl.conf Setting Default Fine tuned vm.swappiness 60 10 vm....

July 18, 2024

Changes I Usually Do When Installing Linux

Changes to /etc/default/grub The default Fedora Linux Grub config is fine, but it’s a bit bloated imo. So let’s change that. The default config (/etc/default/grub) looks something like this: GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="initcall_blacklist=simpledrm_platform_driver_init nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true There is a few changes. For example, in the original file, the rd.driver.blacklist=nouveau exist two times. Same with modprobe.blacklist=nouveau. I use the Propriatary NVidia drivers, so I also added:...

July 16, 2024