server setup

I setup machines for one off coding tasks or ML training often and some stuff just needs to be setup that Ubuntu etc don't come with what I need

oh my zsh

  • oh-my-zsh has hands down been a godsend for me.

for that though we first need to install zsh

apt install zsh

# change shell
chsh -s $(which zsh)

then install oh-my-zsh using

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

uv

UV is hands down the best thing to happen for the python ecosystem. I’m much less anxious when I work with python projects now.

curl -LsSf https://astral.sh/uv/install.sh | sh

docker

I’ve written briefly about docker here

nginx

pretty much in any situation I like having port forwarding in my site

sudo apt update
sudo apt install nginx
a quote i like

कर्मण्येवाधिकारस्ते मा फलेषु कदाचन ।

मा कर्मफलहेतुर्भूर्मा ते सङ्गोऽस्त्वकर्मणि ॥ 47 ॥

translation:

You have a right to perform your duties, but the results of your actions are not your concern. Never consider yourself to be the cause of the results of your activities, nor be attached to inaction.

Bhagavad Gita, Chapter 2, Verse 47