Loading...
使用mysql读写分离前应先配置mysql主从,参见下面文档配置主从wget https://archive.apache.org/dist/shardingsphere/5.0.0/apache-shardingsphere-5.0.0-shardingsphere-proxy-bin.tar.gz tar -zxvf apache-shardingsphere-5.0.0-sha...
展示节点标签kubectl get node --show-labels=true 给节点加标签kubectl label nodes node1 node=node1 kubectl label nodes node2 node=node2 --overwrite #覆盖
下载:osxfuse-2.7.3.dmg http://osxfuse.github.io/下载:sshfs-2.5.0.pkg https://github.com/osxfuse/sshfs/releases/# 创建本地目录,用于挂载 mkdir localLinux # 挂在远程目录到本地,输入密码即可,若要免密,创建sshkey即可 sshfs -p 22 -C -o recon...
netstat -n | grep "^tcp" | awk '{print $6}' | sort | uniq -c | sort -n vim /etc/sysctl.conf #编辑文件,加入以下内容: net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1...
wireguard安装yum install epel-release elrepo-release yum install yum-plugin-elrepo yum install kmod-wireguard wireguard-tools yum install iptables-services注意:安装完后重启系统所有节点机器内核开启路由转发sysctl -w net.ipv4....