Skip to content

Instantly share code, notes, and snippets.

@peaske7
Last active November 25, 2023 00:52
Show Gist options
  • Save peaske7/465f8f862a8af86a38949948e164c870 to your computer and use it in GitHub Desktop.
Save peaske7/465f8f862a8af86a38949948e164c870 to your computer and use it in GitHub Desktop.
Commands to get started on new ubuntu machine for ISUCON
sudo apt install -y git zsh gh
sudo apt-get -y update
sudo apt-get -y install percona-toolkit
# for docker ubuntu
# apt-get update && apt-get install -y curl lua5.4 neovim
# apt install -y git zsh
# install starship
curl -sS https://starship.rs/install.sh | sh
# install zinit
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
# install asdf first
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1
# install my configs
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --one-shot --branch="bare" DrPoppyseed/config
# get started!!
source ~/.zshrc && exec zsh
# install alp
asdf plugin-add alp https://github.com/asdf-community/asdf-alp.git
asdf install alp 1.0.21 # 現時点での最新バージョン
asdf global alp 1.0.21
# install btm
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom_0.9.6_amd64.deb
sudo dpkg -i bottom_0.9.6_amd64.deb
# setup git
gh auth login
git config --global user.email "peaske16180@gmail.com"
git config --global user.name "DrPoppyseed"
# delete everything
sudo apt remove -y git zsh gh
sudo apt-get remove -y percona-toolkit
rm -rf ~/.zshrc ~/.local ~/.config ~/.asdf ~/.aliasrc ~/.zsh_history ~/bottom_0.9.6_amd64.deb ~/.vimrc ~/.gitconfig ~/.zcompdump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment