10 2019 档案

摘要:环境: OS:Centos 7 1.下载 下载地址为 https://studygolang.com/dl 我这里下载的是go1.13.3.linux-amd64.tar.gz 2.安装 我这里将golang安装到opt目录下 3.添加环境变量 在相应的用户下添加环境变量,修改.bash_profi 阅读全文
posted @ 2019-10-31 16:20 slnngk 阅读(181) 评论(0) 推荐(0) 编辑
摘要:MariaDB数据库管理系统是 MySQL 的一个分支,主要由开源社区在维护,采用GPL授权许可 MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松成为MySQL的代替品。在新版的Mariadb安装过程中没有设置密码的过程了,而用mysql_secure_installatio 阅读全文
posted @ 2019-10-29 10:00 slnngk 阅读(2203) 评论(0) 推荐(0) 编辑
摘要:环境: ES版本:6.5 1.查询索引 curl -H "Content-Type: application/json" -XPOST "http://192.168.1.135:19200/_xpack/sql?format=txt&pretty" -d' { "query": "SELECT * 阅读全文
posted @ 2019-10-23 17:08 slnngk 阅读(3448) 评论(1) 推荐(0) 编辑
摘要:环境:ES:6.5.0(6.8版本x-pack已经免费使用,不需要破解)OS:Centos 7 单节点配置 1.创建目录[esuser@localhost ~]$ cd /home/esuser[esuser@localhost ~]$ mkdir xpach 2.准备如下2个java文件Licen 阅读全文
posted @ 2019-10-23 11:32 slnngk 阅读(3359) 评论(0) 推荐(1) 编辑
摘要:1.修改配置添加如下选项xpack.security.enabled: true2.启动测试curl -H "Content-Type:application/json" -XPOST http://172.16.10.61:29200/_xpack/license/start_trial?ackn 阅读全文
posted @ 2019-10-22 18:09 slnngk 阅读(7796) 评论(0) 推荐(0) 编辑
摘要:安装部署elasticsearch1.下载地址下载地址:https://www.elastic.co/downloads/elasticsearch,我这里下载的是 elasticsearch-6.4.0.tar.gz2.解压缩并创建数据目录[root@localhost soft]# tar -x 阅读全文
posted @ 2019-10-22 11:39 slnngk 阅读(1671) 评论(0) 推荐(0) 编辑
摘要:环境: OS:Centos 7 1.安装sshfs(每台机器都要安装) yum install fuse sshfs 2. 使用modprobe加载fuse模块(每台机器都要安装) [root@node2 sshfs]#modprobe fuse [root@localhost ~]#dmesg | 阅读全文
posted @ 2019-10-21 16:31 slnngk 阅读(1329) 评论(0) 推荐(0) 编辑
摘要:es单机备份我们在配置文件中指定path.repo参数,然后执行如下命令就可以备份了,但是备份集群的方式需要采用nfs将备份发起节点的备份目录(如我这里是:/home/es/esbak) 共享到其他的节点,其他节点挂载该目录后确保有读写权限,同时配置文件也要将参数path.repo都设置成一致 pa 阅读全文
posted @ 2019-10-17 17:31 slnngk 阅读(2146) 评论(0) 推荐(0) 编辑
摘要:服务端 环境 OS:Centos 7 服务端IP:192.168.56.142 客户端IP:192.168.56.141 142的目录/archlog 挂载到141的目录/archlog2下 1.安装nfs yum -y install nfs-utils 2.编辑exports文件 vim /et 阅读全文
posted @ 2019-10-17 15:13 slnngk 阅读(282) 评论(0) 推荐(0) 编辑
摘要:es版本 [root@localhost bin]# ./elasticdump --help elasticdump: Import and export tools for elasticsearch version: 4.6.0 1.elasticdump 安装 su - root cd /o 阅读全文
posted @ 2019-10-16 18:15 slnngk 阅读(2342) 评论(0) 推荐(0) 编辑
摘要:1.排名 hospital_id, vcc_id, fee_type相同的情况下,create_time升序排名 select * FROM ( SELECT @rownum:=@rownum+1 AS rownum, IF(@x=concat(uo.hospital_id,uo.vcc_id,uo 阅读全文
posted @ 2019-10-15 16:42 slnngk 阅读(168) 评论(0) 推荐(0) 编辑
摘要:环境: OS:Centos 7 1.下载安装介质redis-shake-1.6.19.tar.gz 下载地址: https://github.com/tair-opensource/RedisShake/tags 2.解压安装tar -xvf redis-shake-1.6.19.tar.gz3.修 阅读全文
posted @ 2019-10-15 15:25 slnngk 阅读(7980) 评论(0) 推荐(0) 编辑
摘要:安装部署elasticsearch 1.下载地址 下载地址:https://www.elastic.co/downloads/elasticsearch,我这里下载的是 elasticsearch-6.4.0.tar.gz 2.解压缩并创建数据目录 [root@localhost soft]# ta 阅读全文
posted @ 2019-10-10 15:26 slnngk 阅读(3621) 评论(0) 推荐(0) 编辑
摘要:epidb01-> more /home/oracle/scripts/ogg_monitor.sh#!/bin/bash. /etc/profile. ~/.bash_profile(echo info all;echo exit)|/u02/goldengate/ggsci|sed -n '/M 阅读全文
posted @ 2019-10-09 17:55 slnngk 阅读(382) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示