mysql常用命令
登录操作mysql-u<用户名>-p用户创建用户createuser'<用户名>'@'<ip>'identifiedby'<密码>'ip为%则允许所有授权grant<权限>on<数据库>.<表>to'<用户名&
on-my-zsh安装zsh安装oh-my-zshsh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"p10kgit clone
set nuset nocompatiblefiletype onfiletype indent onsyntax onset tabstop=4set shiftwidth=4set noexpandtabset enc=utf-8set fencs=utf-8,ucs-bom,shift-jis
准备证书注意,证书只需要创建一次,所有节点使用相同证书CA根证书sudo openssl genrsa -out ca.key 2048sudo openssl req -x509 -new -nodes -key ca.key -subj "/CN=192.168.10.203"
alias g='git' alias ga='git add'alias gaa='git add --all'alias gapa='git add --patch'alias gau='git add --update'alias gap='git apply'alias gb='git br
使用命名空间kubectl run nginx --image=nginx --namespace=<名字空间名称>