摘要: 实验架构: 192.168.0.92 mysql 主 192.168.0.93 mysql 从 1、环境配置请参照: https://www.cnblogs.com/effortsing/p/10367025.html 2、mysql安装 请参照:https://www.cnblogs.com/effortsing/p/9982028.html 3、Mysql主从同步环境... 阅读全文
posted @ 2019-02-12 21:56 effortsing 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1、常用环境配置 2、配置ip免密登录 ssh-keygen -t rsa -f /root/.ssh/id_rsa -P "" ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.0.91 ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.0.92 ssh-copy-id -i ~/.ssh/id_r... 阅读全文
posted @ 2019-02-12 20:47 effortsing 阅读(406) 评论(0) 推荐(0) 编辑
摘要: cat /home/logstash-6.3.0/config/tomcat_test.confinput { file { path => ["/usr/local/tomcat/logs/localhost_access_log.2019-02-12.txt"] type => "tomcat_ 阅读全文
posted @ 2019-02-12 17:46 effortsing 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 首先安装npm 下载网址:https://nodejs.org/dist/latest-v8.x/ rz node-v8.15.0-linux-x86.tar.xz 解压安装包 tar -xf /root/node-v8.15.0-linux-x86.tar.xz -C /usr/local/ 重命名为node cd /usr/local/ mv node-v8.15.0-li... 阅读全文
posted @ 2019-02-12 10:45 effortsing 阅读(298) 评论(0) 推荐(0) 编辑
摘要: centos7.5 解决缺少libstdc++.so.6库的原因及解决办法 执行node -v报错如下: [root@bogon ~]# node -v node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory 先... 阅读全文
posted @ 2019-02-12 09:23 effortsing 阅读(50846) 评论(1) 推荐(1) 编辑