- Install iTerm2
- Remap moving word keys
- Adjust shell command prompt
Very useful link: https://elweb.co/making-iterm-2-work-with-normal-mac-osx-keyboard-shortcuts/ |
I hereby claim:
To claim this, I am signing this object:
Debugging workflow: | |
- Open top and do first analysis | |
- Open grafana and ask yourself question while you see the graphs: | |
- Are disks free enough? | |
- When do events happen? | |
- Is there a cascading effect? | |
- Is there a wall to see?? | |
- Verify systems and disks in AWS | |
- Log in to nodes in iterm parallel sessions and run the same commands on all of them from the same state. | |
- df -h |
``` | |
apt-get update | |
apt-get install prometheus-node-exporter | |
``` | |
Note: Full prometheus install guide: | |
https://linuxhint.com/install-prometheus-ubuntu-18-04/ |
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
# Set up go project with private dependency | |
Goal: | |
- Set up project with private dependency using go module. | |
## Using access token | |
Override access token to your git config, so it would include username and access key, so that you would be able to use go get your private repo | |
``` | |
git config --global url."https://${username}:${access_token}@gitlab.com".insteadOf "https://gitlab.com" | |
``` |
``` | |
server { | |
server_name taynguyen.dev; | |
location / { | |
proxy_pass http://127.0.0.1:8080; | |
} | |
} |
https://devopscube.com/mount-ebs-volume-ec2-instance/ |