Open wklken opened 1 year ago
brew install tree
brew install make brew install cmake
brew install python3
/usr/local/bin/python3
k9s
for vim ycm
brew install cmake python go nodejs
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install make cmake python3 go nodejs zplug fzf bat fd the_silver_searcher git-delta pyenv pyenv-virtualenv direnv autojump jq scc mycli tree btop k9s
$(brew --prefix)/opt/fzf/install
# gvm
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
brew tap daipeihust/tap && brew install im-select
PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:/opt/homebrew/bin/:$PATH"
brew install gh
yum install git-extras
wrk + plow
brew install git-extras
# linux init env
## yum
yum groupinstall "Development tools"
yum install -y python3 python3-devel sqlite-devel golang openssl openssl-devel readline-devel libffi-devel bzip2-devel curl-devel expat-devel gettext-devel zlib-devel mysql-devel
## zsh
1. install zsh
https://ohmyz.sh/
2. zplug
https://github.com/zplug/zplug
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
3. change default shell
chsh -s $(which zsh)
4. others
[yum install autojump](https://github.com/wting/autojump#manual)
## envs
1. direnv
https://direnv.net/docs/installation.html
curl -sfL https://direnv.net/install.sh | bash
2. pyenv
https://github.com/pyenv/pyenv#installation
curl https://pyenv.run | bash
3. starship
https://starship.rs/guide/#%F0%9F%9A%80-installation
curl -sS https://starship.rs/install.sh | sh
4. gvm
https://github.com/moovweb/gvm
## my
2. use my own config
## others
1. install pyenv python versions
2. gvm install golang versions
nodejs
https://nodejs.org/en/download/package-manager#centos-fedora-and-red-hat-enterprise-linux
git
npm install -g commitizen cz-conventional-changelog
k8s
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
nginx
# https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7
yum install nginx
systemctl start nginx
systemctl enable nginx
github-cli
create cluster with ingress-nginx via kind
cat <<EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 80
hostPort: 8480
protocol: TCP
- containerPort: 443
hostPort: 8443
protocol: TCP
EOF
kubectl cluster-info --context kind-kind
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
gpg
passphrase
https://superuser.com/questions/1360324/gpg-remove-passphraseyum install xclip