Chroot inner image script # update
sudo apt update
sudo apt upgrade -y
sudo apt autoremove
# mirror
sudo apt install python3-pip -y
pip3 install apt-select
export PATH="$HOME/.local/bin:$PATH"
apt-select -C kr
# speedtest
pip3 install speedtest-cli
speedtest-cli
# RDP timeshift
sudo apt install xrdp timeshift -y
sudo systemctl enable --now xrdp
# dev
sudo apt install gcc g++ make -y
apt install git net-tools curl wget docker.io rclone curlftpfs -y
# cargo
apt install cargo -y
echo "PATH=~/.cargo/bin:$PATH" >> ~/.bashrc
echo "PATH=~/.cargo/bin:$PATH" >> ~/.zshrc
cargo install exa
cargo install dutree # disk usage
sudo apt-get install zlib1g-dev
cargo install bat
cargo install hexyl
cargo install fd-find
cargo install procs
cargo install ripgrep
cargo install hyperfine # benchmark
# fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# VSCODE
apt install gnome-keyring -y
# snap install code --classic
snap install code-insiders --classic
# Font
wget https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/Meslo/M/Regular/complete/Meslo%20LG%20M%20Regular%20Nerd%20Font%20Complete%20Windows%20Compatible.ttf -P ~/.local/share/fonts/
# Browser
## Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P /tmp
apt install /tmp/google-chrome-stable_current_amd64.deb -y
rm /tmp/google-chrome-stable_current_amd64.deb
## whale
wget http://update.whale.naver.net/downloads/installers/naver-whale-stable_amd64.deb -P /tmp
apt install /tmp/naver-whale-stable_amd64.deb -y
rm /tmp/naver-whale-stable_amd64.deb
## Remove firefox
apt purge firefox -y
# kakaotalk
sudo dpkg --add-architecture i386
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt update
sudo apt install wine playonlinux -y
# cubic
apt-add-repository ppa:cubic-wizard/release
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
apt update
apt install cubic -y
# steam
sudo add-apt-repository multiverse
sudo apt update
sudo apt isntall -y steam
# cronitor
wget https://cronitor.io/dl/cronitor-stable-linux-amd64.tgz -O /tmp/cronitor.tgz
sudo tar xvf /tmp/cronitor.tgz -C /usr/bin/
sudo cronitor configure --api-key 7ffb1cc046aa4e5eae8052fa6e321736
after install # rdp
sudo ufw allow from any to any port 3389 proto tcp
sudo ufw allow from any to any port 22 proto tcp
## Create snapshot
sudo timeshift --create --snapshot "First snapshot" --comment "first snapshot"