Skip to content

Instantly share code, notes, and snippets.

@w3cj
Last active December 23, 2021 17:29
Show Gist options
  • Save w3cj/498a8870b378380da44ca7386b375481 to your computer and use it in GitHub Desktop.
Save w3cj/498a8870b378380da44ca7386b375481 to your computer and use it in GitHub Desktop.
#! /bin/bash
sudo apt-get update
sudo apt-get install git build-essential gcc python
# Install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
nvm install stable
# create dot files .bash_profile
# vcprompt - git branch in terminal
mkdir bin
curl -sL https://github.com/djl/vcprompt/raw/master/bin/vcprompt > ~/bin/vcprompt
chmod 755 ~/bin/vcprompt
sudo apt-get install nginx
# server {
# server_name slides.cjr.co.de;
#
# location / {
# proxy_pass http://localhost:1337;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection 'upgrade';
# proxy_set_header Host $host;
# proxy_cache_bypass $http_upgrade;
# }
# }
sudo service nginx restart
sudo apt-get install cowsay fortune-mod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment