摘要: 本地连接上centos7-1 进行操作 *************************************** 防火墙操作 1. 停止防火墙: [root@centos7-1 ~]# service iptables stop 2.关闭防火墙 和查看状态 : //注:查看状态还没有关闭 [root@centos7-1 ~]# systemctl stop firewalld [root@c 阅读全文
posted @ 2019-08-23 22:55 lilixia 阅读(370) 评论(0) 推荐(0) 编辑
摘要: elesticSearch 兼容的是CentOS7 后台启动命令: ./elasticsearch -d 安装完成 阅读全文
posted @ 2019-08-23 22:51 lilixia 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1. 三台机器都放上tar包 将comcat的tar 包 上传 解压 [root@linux04 Downloads]# tar -zxvf apache-tomcat-8.5.41.tar.gz 2. 进入tomcat 目录bin 修改权限 并且启动 注: 改完权限 文件都是绿色 可以查看一下 [root@linux04 apache-tomcat-8.5.41]# cd bin/ [root@ 阅读全文
posted @ 2019-08-23 22:42 lilixia 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1.在安装nginx的从节点 上传jar 2. 解压 [root@linux05 Downloads]# tar -zxvf keepalived-1.3.6.tar.gz 3. 开始配置 进入到 keepalived目录中 [root@linux05 keepalived-1.3.6]# ./configure --prefix=/usr/local/keepalived 4.安装 输入命令 [ 阅读全文
posted @ 2019-08-23 22:41 lilixia 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 注意:先安装nginx 后安装 keepalived 在从节点 上传jar 在断网之前先将需要的两个tar包放上去 三台都是这样安装 按完一台在安装另一台 1.window设置 共享以太网 注:之前是写死的ip 所以xshell三台都会断开连接 2 cmd 查看刚共享的那台机器的ip ipconfig 3. 打开... 阅读全文
posted @ 2019-08-23 22:40 lilixia 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1.配置jdk环境 2.修改主机名 3.修改映射 4.配置免密 systemctl disable firewalld 关闭防火墙 systemctl status firewalld 查看防火墙状态 ssh-keygen -t rsa 生成密钥 ssh-copy-id 192.168.115.21 配置密钥上传esjar包解压 修改配置文件 分发 ./elasticsearch 运行 elast 阅读全文
posted @ 2019-08-23 22:38 lilixia 阅读(198) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/napoay/article/details/53896348 #更新 sudo yum update -y sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo rpm -ivh https://kojipkgs.fedorapro 阅读全文
posted @ 2019-08-23 22:34 lilixia 阅读(1976) 评论(0) 推荐(0) 编辑
摘要: #查看服务状态 systemctl status NetworkManager / network #停止服务 systemctl stop NetworkManager #启动服务 systemctl start NetworkManager #禁止服务开机启动 systemctl disable NetworkManager #设置服务开机启动 systemctl enable Network 阅读全文
posted @ 2019-08-23 22:33 lilixia 阅读(205) 评论(0) 推荐(0) 编辑
摘要: http://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration.html https://github.com/elastic/elasticsearch ###【在多台机器上执行下面的命令】### #es启动时需要使用非root用户,所有创建一个xiaoniu用户: useradd xiaon... 阅读全文
posted @ 2019-08-23 22:28 lilixia 阅读(411) 评论(0) 推荐(0) 编辑