Last active
November 25, 2023 00:52
-
-
Save peaske7/465f8f862a8af86a38949948e164c870 to your computer and use it in GitHub Desktop.
Commands to get started on new ubuntu machine for ISUCON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "[email protected]" | |
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