日常记录
strong__heart
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux永久校准时间
ntpdate cn.pool.ntp.orgntpdate 203.107.6.88 #阿里ntpdate 210.72.145.44 #中国国家永久校准: rm -rf /etc/localtime cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate -u ntp.api.bz ...原创 2020-04-21 16:27:54 · 278 阅读 · 0 评论 -
dingding告警
1.钉钉建群2.群设置→添加机器人3.服务器端脚本#!/bin/bash#webhook就是钉钉接口把那一长串拿过来webhook='https://oac2'date=$(date +%m-%d-%H-%M)#调用变量,获取当前主机名。批量部署使用。host=$(hostname)#下面就是发布的信息了,我这里使用的位置变量获取参数。curl $webhook -H 'Co...原创 2020-04-14 17:54:06 · 408 阅读 · 0 评论 -
Apache占用tcp6的80端口
前提:业务需要必须使用apache。同服务器还要启用Nginx。[root@localhost conf]# netstat -anput | grep httpdtcp 0 0 0.0.0.0:888 0.0.0.0:* LISTEN 17373/httpd tcp6 0 ...原创 2020-04-14 10:12:45 · 3274 阅读 · 0 评论
分享