Category: Ops

0

Hashicorp Vault Basics

Install Hashicorp vault on GCPThere is a existing module provided terraform-google-modules/vault/google Follow the instruction of this module, there are some minor issues though, not sure if it is fi

0

IDEA Hotkeys

Description Eclipse IntelliJ IDEA VS Code show the type hierachy F4 ctrl+h Findusages Ctrl+Shift+G ⌥F7 Go to line Ctrl+L ⌘L Open resource Ctrl+Shift+R ⇧⌘O Open type Ctrl+Shift+T ⌘O

0

Dockerfile reference

Use Dockerfike create you own docker image. DockerFile contains basic image info mainainer info image CMD container CMD 1234567891011121314#第一行必须指令基于的基础镜像From ubutu#维护者信息MAINTAINER docker_user dock

0

Backup hexo and auto deploy with Jenkins

Finaly, I am able to update the blog again. I was trying to back up the whole project of the hexo blog and messed up……I guess it’s easier for you to watch other people’s experience rather than do it y

0

Most used Linux commands

Unzip bz2 keep the original filebzip2 -dk filename.bz2 Find out the current Linux versioncat /etc/*-release ssh-keygen -f id_rsa -p Check hardwarelshw Change java versionupdate-alternatives -config ja

0

Docker machine commands

If you are using a mac, just like a linux, you don’t need docker-machine to run docker-engine locally Basics operation123456docker-machine --versiondocker-machine start defaultdocker-machine stop def

0

My Most Used Docker Commands

Check info1234567891011121314151617181920212223docker versiondocker --versiondocker-compose versiondocker-compose --versiondocker ps / docker container lsdocker images / docker image lsdocker inspect