Erik Reinertsen     Blog     Research     Tech     Teaching     Talks

Linux setup checklist

This is my software stack for setting up new machines (or old machines that I messed up, thanks Nvidia).

# Install stuff that cannot be set up from command line  

# Install apps and tools
sudo apt-get install vim git curl zsh screen tree  

# Edit grub
sudo vim /etc/default/grub  
> --verbose debug nomodeset

# Oh-My-ZSH  
sudo reboot  
sudo apt-get install fonts-powerline   
# Set up dotfiles and shell scripts
mkdir repos && cd repos
git clone  
cd dotfiles && sh  

# Install TypeWritten ZSH theme
git clone $ZSH_CUSTOM/themes/typewritten
ln -s "$ZSH_CUSTOM/themes/typewritten/typewritten.zsh-theme" "$ZSH_CUSTOM/themes/typewritten.zsh-theme"  
vim ~/repos/dotfiles/.zshrc  
add ZSH_THEME="typewritten/typewritten"  

# Set up Solarized for the terminal
git clone  
cd gnome-terminal-colors-solarized  
cd && rm -rf gnome-terminal-colors-solarized  

# Set up ZSH syntax highlighting
git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting  
cd && rm -rf zsh-syntax-highlighting

# Install JetBrains Mono font

# Set up Vundle
git clone ~/.vim/bundle/Vundle.vim  
vim +PluginInstall +qall   

# Set up SSH to mithril
sudo apt install openssh-server  
sudo systemctl status ssh  
sudo ufw allow ssh  

> May need to remove mithril IP address from ~/.ssh/known_hosts  

cat .ssh/ | ssh b@B 'cat >> .ssh/authorized_keys'  

# Auto-mount internal HDDs
sudo \mkdir /media/8tb  
sudo \mkdir /media/2tb  
sudo -E vim /etc/fstab  

> add the following to fstab:

/dev/sda1 /media/8tb ext4 defaults 0 0  
/dev/sdb1 /media/2tb ext4 defaults 0 0  

# Set up CIFS and SMB mount to mad3
sudo apt-get install cifs-utils  
sudo \mkdir /media/mad3  
sh ~/repos/dotfiles/  

# Install Anaconda
sh Anaconda3...

conda config --add channels conda-forge   
conda config --add channels anaconda  
conda create --name py37 python=3.7.6
conda install scipy numpy pandas matplotlib scikit-learn tensorflow-gpu beautifulsoup4 

# Install VirtualBox

# Install Dropbox  
> Waiting for the app to ask for the link code never works. Instead, log in at