上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页
摘要: logstash同样不需要以root身份运行,并且logstash是安装在应用服务器上的程序,负责推送应用服务器的日志到elasticsearch上 解压logstash压缩包,将其放到某个目录下,创建logstash用户 [root@localhost ~]# useradd logstash l 阅读全文
posted @ 2020-08-31 11:07 ForLivetoLearn 阅读(197) 评论(0) 推荐(0) 编辑
摘要: kibana可以使用root身份运行,所以无需在新加用户 将压缩包文件解压后放到某个目录下,我这里放的是/usr/local 更改配置文件,只需要改3个地方 [root@bogon ~]# egrep ^[a-z] /usr/local/kibana/config/kibana.yml server 阅读全文
posted @ 2020-08-31 11:03 ForLivetoLearn 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 首先对系统参数进行调整 vim /etc/security/limits.conf #打开文件数量 * soft nofile 65535 * hard nofile 65535 #进程数量 * soft nproc 65535 * hard nproc 65535 #内存限制 * soft mem 阅读全文
posted @ 2020-08-31 09:51 ForLivetoLearn 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 服务器型号 [root@121 ~]# dmidecode |grep -A4 'System Information' System Information Manufacturer: Dell Inc. Product Name: PowerEdge R430 Version: Not Spec 阅读全文
posted @ 2020-08-24 16:30 ForLivetoLearn 阅读(905) 评论(0) 推荐(0) 编辑
摘要: InfluxDB的安装方式非常简单,直接从官网下载rpm包后,安装就行 # influxdb时序数据库安装包 wget https://dl.influxdata.com/influxdb/releases/influxdb-1.8.0.x86_64.rpm # 采集和上报工具 wget https 阅读全文
posted @ 2020-07-02 15:20 ForLivetoLearn 阅读(2202) 评论(0) 推荐(1) 编辑
摘要: 监控mysql表中数据,如果没有当天的数据就用zabbix报警 mysql表用有时间列,需要使用时间函数做判断 1.当前日期函数 mysql> SELECT NOW(); + + | NOW() | + + | 2020-06-12 10:07:07 | + + 1 row in set (0.00 阅读全文
posted @ 2020-06-12 10:18 ForLivetoLearn 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 坑死我了!纳闷客户端把公钥放到gitlab里面了,推代码的时候,还要密码。 gitlab是以docker容器起的,ssh端口22映射到了宿主机的12222。客户端添加远程分支需要下面这样 #删除当前远程分支路径 git remote remove origin #添加新的远程分支领 git remo 阅读全文
posted @ 2020-06-03 11:19 ForLivetoLearn 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: 先去申请企业微信,要以管理员的权限创建机器人,建完机器人后会有一串webhook,类似这种 https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxxxxxx509-4f42-xxxxxxxx 测试这个钩子能不能用,具体使用方法可以看微信机器人 阅读全文
posted @ 2020-05-29 16:02 ForLivetoLearn 阅读(5170) 评论(0) 推荐(0) 编辑
摘要: 创建mysql用户,并设置为不可登陆 [root@db01 ~]# useradd -s /sbin/nologin mysql 创建软件目录和数据存储目录,并挂载一块磁盘到数据库存储目录 [root@db01 ~]# mkdir /application [root@db01 ~]# mkdir 阅读全文
posted @ 2020-05-28 20:12 ForLivetoLearn 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 2.x版本之前都叫emqtt,3.x之后版本都叫emqx 下载地址:https://www.emqx.io/cn/downloads#broker 安装部署 1.下载软件包后上传到服务器,解压 unzip emqttd-centos7-v2.0.zip 2.以调试模式启动,检查服务是否正常 [roo 阅读全文
posted @ 2020-05-24 00:01 ForLivetoLearn 阅读(659) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页