Skip to content

Instantly share code, notes, and snippets.

@martdn
Created June 30, 2019 12:52
Show Gist options
  • Save martdn/4fbc5b62ca90cebcedeeae462d584305 to your computer and use it in GitHub Desktop.
Save martdn/4fbc5b62ca90cebcedeeae462d584305 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install zsh
chsh -s /bin/zsh
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
nano ~/.zshrc
ZSH_THEME="ys"
plugins=(git composer symfony2 colorize docker docker-compose gem brew npm node ruby)
sudo apt-get update
sudo apt-get install nginx
systemctl status nginx
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs
node -v
node app.js
cd /etc/nginx/sites-available
systemctl restart nginx
sudo apt-get update
apt-get install supervisor
nano /etc/supervisor/conf.d/app.conf
service supervisor restart
service supervisor status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment