Skip to content

Instantly share code, notes, and snippets.

@Axure
Last active November 25, 2017 12:24
Show Gist options
  • Select an option

  • Save Axure/4635e4a07ac12cc4324999acdfc3d7e6 to your computer and use it in GitHub Desktop.

Select an option

Save Axure/4635e4a07ac12cc4324999acdfc3d7e6 to your computer and use it in GitHub Desktop.

Revisions

  1. Axure revised this gist Nov 25, 2017. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion init.sh
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,13 @@
    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
    sudo apt install python-certbot-nginx
  2. Axure created this gist Nov 25, 2017.
    9 changes: 9 additions & 0 deletions init.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    sudo apt update
    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