摘要: 1、关闭系统自带的防火墙并禁止开机自启; ~]# systemctl stop firewalld && systemctl disable firewalld 2、安装 iptables 相关软件包; ~]# yum install iptables iptables-services 3、启动 阅读全文
posted @ 2023-05-07 14:27 青灯浊酒 阅读(755) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://mariadb.com/docs/server/ref/cs10.5/system-variables/ 查询所有全局系统变量: SHOW GLOBAL VARIABLES; 动态设置全局系统变量: SET GLOBAL log_warnings=3; 查询当前会话的所有系 阅读全文
posted @ 2023-05-01 15:41 青灯浊酒 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 官方地址:https://mariadb.com/docs/server/deploy/topologies/single-node/community-server-10-5/ YUM安装: 1、下载用到 wget 工具; yum install wget 2、下载 MariaDB repo 的安 阅读全文
posted @ 2023-05-01 09:49 青灯浊酒 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.caifuzhishi.cn/31911.html alpha (α):是指内测,即 CB(close beta),指开发团队内部测试的版本或少数用户体验测试版本。 beta(β): 是指公测,即OB(open beta),是针对所有用户公开的测试版本。 gamma(γ 阅读全文
posted @ 2023-04-25 09:16 青灯浊酒 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 命令示例: sshpass -p "buray" scp -o StrictHostKeyChecking=no root@192.168.1.100:/root/test/test ./ 前提条件: 需要安装sshpass yum install sshpass 阅读全文
posted @ 2023-01-02 15:58 青灯浊酒 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1、下载server和client windows版本 server:https://dl.influxdata.com/influxdb/releases/influxdb2-2.3.0-windows-amd64.zip client:https://dl.influxdata.com/infl 阅读全文
posted @ 2022-08-11 10:10 青灯浊酒 阅读(1402) 评论(0) 推荐(0) 编辑
摘要: 1、安装依赖; go get gopkg.in/yaml.v2 2、添加配置文件config.yaml; redis: port: 3306 user: redis mysql: userName: root passWord: mysql 3、编写go代码读取配置文件数据; 注意:和yaml文件数 阅读全文
posted @ 2022-08-08 18:22 青灯浊酒 阅读(771) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://m.w3cschool.cn/article/88016752.html 阅读全文
posted @ 2022-05-29 07:08 青灯浊酒 阅读(4) 评论(0) 推荐(0) 编辑
摘要: IO模型:https://baijiahao.baidu.com/s?id=1718409483059542510 阅读全文
posted @ 2022-05-28 15:17 青灯浊酒 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1、创建一个测试使用的包,暂时命名为 test;注意包名称可以为其它名称,不一定非得是test; 2、在test包中创建apiserver.go文件; package test func Show(a string) (err interface{}) { if a != "123" { retur 阅读全文
posted @ 2022-05-22 17:35 青灯浊酒 阅读(135) 评论(0) 推荐(0) 编辑