Yuiki / isucon-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

isucon-tools

List

  • Add Netdata (docker)
  • Add commands
    • pt-query-digest
    • alp
    • nvm
    • unzip
    • dstat
  • Create ~/.ssh/id_rsa & .pub
  • Set git config user.name & email

Usage

# generate ssh key for remote in locaol
ssh-keygen -f secret/id_rsa

# get and save GitHub access token 
# https://github.com/settings/tokens
# GitHub CLI need `repo` and `admin:org` permission
echo "your-access-token" > secret/github_token

# prepare connecting via ssh to myself
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

# install ansible collections
ansible-galaxy collection install community.general

# install tools
ansible-playbook -i <IP Address>, common.yml
# eg: ansible-playbook -i localhost, common.yml

About

License:MIT License