Last active
June 27, 2021 01:59
-
-
Save yf-hk/170901413e1b68bad7b6fde68b6f406f to your computer and use it in GitHub Desktop.
Arch Linux setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pacman -Syu | |
pacman -S base-devel go nodejs npm npm-check-updates certbot certbot-nginx wget tree xz socat git zsh cronie | |
#enable en_US.UTF-8 | |
#vim /etc/locale.gen | |
locale-gen | |
localectl set-locale LANG=en_US.UTF-8 | |
#bbr | |
echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/bbr.conf | |
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/bbr.conf | |
echo "net.ipv4.tcp_notsent_lowat = 16384" >> /etc/sysctl.d/bbr.conf | |
sysctl -p /etc/sysctl.d/bbr.conf | |
sysctl net.ipv4.tcp_available_congestion_control | |
sysctl net.ipv4.tcp_congestion_control | |
sysctl net.ipv4.tcp_notsent_lowat | |
#docker | |
pacman -S docker-machine docker-compose | |
#rclone | |
pacman -S rclone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment