Last active
November 25, 2017 12:24
-
-
Save Axure/4635e4a07ac12cc4324999acdfc3d7e6 to your computer and use it in GitHub Desktop.
VPS Production Script
This file contains 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
sudo apt update | |
sudo apt install --install-recommends linux-generic-hwe-16.04 | |
sudo echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf | |
sudo echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf | |
sudo sysctl -p | |
sudo apt install git zsh nginx | |
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - | |
sudo apt install -y nodejs | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt update | |
sudo apt install python-certbot-nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment