{"repo":"hawshemi/linux-optimizer","free":true,"listed":false,"github":"https://github.com/hawshemi/linux-optimizer","clone":"git clone https://github.com/hawshemi/linux-optimizer.git","description":"Linux Optimizer","language":"Shell","stars":701,"topics":["linux","server","ubuntu","optimizer","centos","debian","fedora","almalinux","bbr","bbr3"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Linux Optimizer This Bash script automates the optimization of your Linux server. Notes: 1. This script is designed for execution on Linux server environments, including VPS, VDS, Dedicated, and Bare Metal systems. It is not recommended for use on Linux desktop environments. 2. Modifying the kernel (options 1 and 2) may result in removing or resetting some GPU drivers. 3. Some VMs do not support kernel changes (options 1 and 2). Installing XanMod could cause the VM to break. Please be cautious and test beforehand. It performs the following tasks: 0. Fix hosts file and DNS (temporarily) : - Check and add 127.0.1.1 and server hostname to /etc/hosts . Original hosts file is backed up at /etc/hosts.bak . - Add Cloudflare-Security DNS servers (1.1.1.2, 1.0.0.2) nameservers to /etc/resolv.conf . Original dns file is backed up at /etc/resolv.conf.bak . 1. Update, Upgrade, and Clean the server: - Update - Upgrade - Full-Upgrade - AutoRemove - AutoClean - Clean 2. Disable Terminal Ads (Only on Ubuntu) . 3. Install XanMod Kernel (Only on Ubuntu & Debian) : - Enable BBRv3. - CloudFlare TCP Optimizations. - More Details: https://xanmod.org 4. Install Useful Packages: apt-transport-https apt-utils autoconf automake bash-completion bc binutils binutils-common binutils-x86-64-linux-gnu build-essential busybox ca-certificates cron curl dialog epel-release gnupg2 git haveged htop jq keyring libssl-dev libsqlite3-dev libtool locales lsb-release make nano net-tools packagekit preload python3 py","default_branch":null,"files":null,"tree":[],"storefront":"/r/hawshemi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hawshemi/linux-optimizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}