Skip to content

Instantly share code, notes, and snippets.

View tolgamorf's full-sized avatar

Tolga O. tolgamorf

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tolgamorf on github.
  • I am tolgamorf (https://keybase.io/tolgamorf) on keybase.
  • I have a public key ASCigJ2jSqtFbKE714yJRMQ2zNKMN-9vFZh8ZOqsnPckZAo

To claim this, I am signing this object:

@tolgamorf
tolgamorf / ubuntu-server-setup.sh
Last active January 7, 2022 05:13
Ubuntu server setup: Miniconda + Node.js + npm + PM2
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install -y nodejs
sudo npm install pm2@latest -g
# pm2 startup
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu
sudo chown ubuntu:ubuntu /home/ubuntu/.pm2 /home/ubuntu/.pm2/rpc.sock /home/ubuntu/.pm2/pub.sock

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark