摘要: 一、ELK搭建篇 烦请转载时注明出处,支持原创 不想注明出处烦请绕路,谢谢!!! 官网地址:https://www.elastic.co/cn/ 官网权威指南:https://www.elastic.co/guide/cn/elasticsearch/guide/current/index.html 阅读全文
posted @ 2017-06-15 17:07 于欢水 阅读(101850) 评论(16) 推荐(40) 编辑
摘要: 安装 mydumper 参数解释 myloader 参数解释 使用 阅读全文
posted @ 2020-01-06 14:11 于欢水 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 环境说明: 说明 网段使用说明: 参考文档: 下载链接(可能需要FQ): etcd部署 cfssl安装 创建etcd证书 etcd ca配置 cat 阅读全文
posted @ 2019-11-07 17:22 于欢水 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 1. 关闭防火墙 2. 关闭selinux 下载所需的包(cfssl,生成证书工具) 使用CFSSL创建CA证书以及etcd的TLS认证证书 安装etcd服务 阅读全文
posted @ 2019-06-18 18:26 于欢水 阅读(1723) 评论(0) 推荐(0) 编辑
摘要: 关闭防火墙和selinux 安装docker 安装docker compose(docker编排工具) 安装Harbor Harbor默认http协议,出于安全考虑,使用https访问 阅读全文
posted @ 2019-06-18 17:56 于欢水 阅读(845) 评论(1) 推荐(1) 编辑
摘要: Nginx + Tomcat + Memcache 实现session共享 1. Nginx 部署 1.上传源码包到服务器,解压安装 下载地址:http://nginx.org/en/download.html 2.安装依赖包 yum install pcre pcre devel openssl 阅读全文
posted @ 2019-06-18 17:55 于欢水 阅读(356) 评论(0) 推荐(0) 编辑
摘要: Rap 安装 war包下载地址 https://github.com/thx/RAP/releases 创建数据库,并创建权限用户 mysql create database rap_db character set utf8; Query OK, 1 row affected (0.06 sec) 阅读全文
posted @ 2018-08-01 14:06 于欢水 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Centos 6.5配置rsync+inotify实现文件实时同步 1.安装rsync(两台机器执行相同的步骤) yum install gcc yum install rsyncd xinetd y 因为rsync是由xinetd启动的,所以需要修改一个配置 vim /etc/xinetd.d/r 阅读全文
posted @ 2017-11-13 14:24 于欢水 阅读(687) 评论(0) 推荐(0) 编辑
摘要: Python2.7中MySQLdb的使用 import MySQLdb 1.建立连接 connect = MySQLdb.connect( '127.0.0.1', 数据库地址 'root', 数据库用户名 '666666', 数据库密码 'peewee', 数据库名 3306, 数据库端口(默认就 阅读全文
posted @ 2017-11-07 14:16 于欢水 阅读(2904) 评论(0) 推荐(0) 编辑
摘要: 首先创建一个普通用户,并且给普通用户设置一个密码,保证能用su 命令能用普通用户登录 [root@ahu ~] useradd test [root@ahu ~] passwd test New password: Retype new password: passwd: all authentic 阅读全文
posted @ 2017-06-16 14:20 于欢水 阅读(14340) 评论(1) 推荐(1) 编辑
摘要: MySQL忘记密码的解决办法: [root@localhost ~] mysql uroot p ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 阅读全文
posted @ 2017-06-16 14:15 于欢水 阅读(205) 评论(0) 推荐(0) 编辑