1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-22 06:42:07 -05:00
My setup script for my Linux systems
Go to file
Tommy fab1de02fd
Add notes on io_uring
Signed-off-by: Tommy <contact@tommytran.io>
2024-07-01 17:56:13 -07:00
.github Daily update for GitHub actions 2024-06-15 15:03:08 -07:00
etc Reorganization 2024-07-01 17:52:06 -07:00
sample-scripts Use upstream certbot-ocsp-fetcher 2024-06-30 12:47:13 -07:00
Fedora-Server-40.sh POSIX Compliance 2024-06-25 22:24:45 -07:00
Fedora-Workstation-40.sh POSIX Compliance 2024-06-25 22:24:45 -07:00
LICENSE Update LICENSE 2022-01-17 15:28:39 -05:00
Proxmox-8.sh Remove extra line 2024-07-01 17:28:11 -07:00
README.md Add notes on io_uring 2024-07-01 17:56:13 -07:00
RHEL-9.sh POSIX Compliance 2024-06-25 22:24:45 -07:00
Ubuntu-24.04-Desktop.sh POSIX Compliance 2024-06-25 22:24:45 -07:00
Ubuntu-24.04-Server.sh Typo Fix 2024-06-26 10:28:27 -07:00

Linux Setup Scripts

ShellCheck

My setup scripts for my workstations. You should edit the scripts to your liking before running it. Please run the scripts as your actual user and not root. Provide sudo password when it asks you to. Flatpak packages and themes/icons are only installed for your user and not system wide.

The printing stack (cups) is removed as I do not use it.

Visit my Matrix group: https://invite.arcticfoxes.net/#/#tommy:arcticfoxes.net

Notes on DNS handling

For desktop installations, the assumption here is that you will use a VPN of some sort for your privacy. No custom DNS server will be configured, as websites can detect that you are using a different DNS server from your VPN provider's server.

For server installations (except Proxmox), Unbound will be configured to handle local DNSSEC validation. The difference in the scripts on how this is set up are because of the following reasons:

  • Each distribution needs its own Unbound configuration due to version differences and how each distro package it.
  • If both Unbound and systemd-resolved are preset on the system, whichever one get used depends entirely depends on whether systemd-resolved is running and controlling /etc/resolv.conf or not. My scripts set Unbound to enabled and systemd-resolved whenever possible.
  • If systemd-resolved is not present on the system, NetworkManager will take control of /etc/resolv.conf. RHEL does not ship with systemd-resolved, so manual configuration to set NetworkManager to use the local DNS forwarder is needed.

Notes on io_uring

io_uring is disabled. On Proxmox, use aio=ative for drives. You will need to manually edit the config for cdrom. Alternatively, if you do not want to deal with this, comment out the io_uring line in /etc/sysctl.d/99-server.conf

Arch Linux

Check out this repository: https://github.com/tommytran732/Arch-Setup-Script

Qubes OS

Checkout this repository: https://github.com/tommytran732/QubesOS-Scripts

Fedora CoreOS

Checkout this repository: https://github.com/tommytran732/Fedora-CoreOS-Ignition