Skip to content

Instantly share code, notes, and snippets.

@serverok
Created January 24, 2019 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serverok/0436ae341f17d1571025ae8a0134d989 to your computer and use it in GitHub Desktop.
Save serverok/0436ae341f17d1571025ae8a0134d989 to your computer and use it in GitHub Desktop.
wget https://raw.githubusercontent.com/serverok/server-setup/master/ubuntu/1-basic-tools.sh
bash ./1-basic-tools.sh
mkdir ~/.ssh/
curl -s http://k.serverok.in/yb.pub >> ~/.ssh/authorized_keys
chmod -R 700 ~/.ssh/
apt install -y nginx iftop monit
ln -s /etc/monit/conf-available/nginx /etc/monit/conf-enabled/nginx
systemctl restart monit
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment