随笔分类 -  linux

linux配置Maxwell
摘要:1、Maxwell-1.30.0及以上的版本不再支持JDK1.8,而JDK1.8支持的最后一个版本为1.29.2 2、下载Maxwell的压缩包,上传到服务器并解压 3、tar -xf maxwell-1.29.2.tar.gz 4、开启mysql的binlog功能:vim /etc/my.cnf 阅读全文
posted @ 2024-08-14 11:14 代码吴彦祖 阅读(173) 评论(0) 推荐(0)
Linux系统通过firewall限制或开放端口
摘要:一、查看防火墙状态 systemctl status firewalld 开启防火墙并设置开机自启 systemctl start firewalld systemctl enable firewalld 二、开放或限制端口 开启XShell连接时需要使用的22端口 firewall-cmd --z 阅读全文
posted @ 2024-06-05 10:38 代码吴彦祖 阅读(1031) 评论(0) 推荐(0)