上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: # etcd 证书 base64 地址 (执行里面的命令生成的证书 base64 码,填入里面),填入后记得把括号去除 data: etcd-key: (cat /opt/etcd/ssl/etcd-key.pem | base64 | tr -d '\n') etcd-cert: (cat /op 阅读全文
posted @ 2021-11-10 00:53 zhaoguanhao 阅读(541) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/zhanmeiliang/p/5911558.html https://blog.csdn.net/weixin_34381666/article/details/86339817 mysqldump --single-transaction --fl 阅读全文
posted @ 2021-10-29 21:27 zhaoguanhao 阅读(54) 评论(0) 推荐(0)
摘要: echo "deb http://ftp.debian.org/debian/ buster main contrib" >>/etc/apt/sources.list apt-get updateapt-get install open-vm-tools 阅读全文
posted @ 2021-10-14 16:34 zhaoguanhao 阅读(115) 评论(0) 推荐(0)
摘要: apt-get install -y s3fs echo ak:sk > ~/.passwd-s3fs chmod 600 ~/.passwd-s3fs s3fs -o passwd_file=.passwd-s3fs -o use_path_request_style -o endpoint=us 阅读全文
posted @ 2021-09-29 21:54 zhaoguanhao 阅读(323) 评论(0) 推荐(0)
摘要: cat application.properties|grep -v ^#|grep -v ^$server.servlet.contextPath=/nacosserver.port=8848spring.datasource.platform=mysqldb.num=1db.url.0=jdbc 阅读全文
posted @ 2021-09-18 12:16 zhaoguanhao 阅读(210) 评论(0) 推荐(0)
摘要: 存储引擎:Innodb MySQL主从是基于binlog日志,所以在安装好数据库后就要开启binlog。这样好处是,一方面可以用binlog恢复数据库,另一方面可以为主从做准备。 原有主库配置参数如下: # vi my.cnf server-id = 1 #id要唯一 log-bin = mysql 阅读全文
posted @ 2021-08-25 16:05 zhaoguanhao 阅读(214) 评论(0) 推荐(0)
摘要: cron模块使用详解: name:任务计划名称cron_file:替换客户端该用户的任务计划的文件minute:分(0-59, * ,*/2)hour:时(0-23, * ,*/2)day:日(1-31, * ,*/2)month:月(1-12, * , */2)weekday:周(0-6或1-7, 阅读全文
posted @ 2021-08-20 15:29 zhaoguanhao 阅读(282) 评论(0) 推荐(0)
摘要: 本次使用全手工的方式在 debian 10 系统上以 二进制包 形式部署 kubernetes 的 ha集群,ha 方式选择 node 节点代理 apiserver 的方式。 环境信息 System OSIP AddressDockerKernelHostnameCpuMemoryRole Debi 阅读全文
posted @ 2021-08-09 09:58 zhaoguanhao 阅读(1004) 评论(0) 推荐(0)
摘要: https://www.elastic.co/cn/downloads/ # Elasticsearch Configuration ## NOTE: Elasticsearch comes with reasonable defaults for most settings.# Before yo 阅读全文
posted @ 2021-08-02 14:20 zhaoguanhao 阅读(64) 评论(0) 推荐(0)
摘要: apt-get install vim sudo update-alternatives --config editor 选择 vim.tiny visudo 最后一行添加 test ALL=(ALL:ALL) NOPASSWD: ALL 编辑vim配置文件禁用可视模式, vim /etc/vim/ 阅读全文
posted @ 2021-08-02 14:19 zhaoguanhao 阅读(303) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 下一页