Gradle
配置
配置镜像仓库
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'
}
mavenCentral()
}
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'
}
mavenCentral()
}
© 本文著作权归作者所有,转载前请务必署名
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=<名字空间名称>