Skip to content

Instantly share code, notes, and snippets.

@wommy
Created April 12, 2025 01:48
Show Gist options
  • Save wommy/5c6dd330bc370113840fee0572485c62 to your computer and use it in GitHub Desktop.
Save wommy/5c6dd330bc370113840fee0572485c62 to your computer and use it in GitHub Desktop.

init new ct

i only tried this on an ub_ct yet

ssh-keygen -t ed25519 ; 

echo 'Acquire::http::Proxy "http://192.168.10.14:3142";' > /etc/apt/apt.conf.d/00aptproxy ; 

ln -fs /usr/share/zoneinfo/America/Detroit /etc/localtime && dpkg-reconfigure -f noninteractive tzdata ; 

sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && echo 'LANG=en_US.UTF-8' > /etc/default/locale && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 ; 
apt update ; apt install etckeeper -y ; 

apt install -y tmux fish powerline ; 

mkdir ~/dl ; cd ~/dl ; git clone https://github.com/wommy/dotfiles.git ; cd ; ln -s dl/dotfiles/.config . ; 

apt upgrade -y ; reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment