随笔分类 -  Liunx-系统服务

Liunx学习的漫漫长路
摘要:https://freessl.cn/ #免费的ssl证书申请网站 nginx的配置: server { listen 80; listen 443 ssl; server_name cloud.maslong.com ; if ($ssl_protocol = "") { rewrite ^ ht 阅读全文
posted @ 2021-06-30 15:21 邓聪聪 阅读(144) 评论(0) 推荐(0)
摘要:ROS的使用 ROS的使用1虚拟机安装ros1.1安装如下报错1.2 系统安装2.1部分命令的使用2.2license授权 1虚拟机安装ros 1.1安装如下报错 解决办法;将虚拟机硬盘修改为IDE 1.2 系统安装 键入字母i开始安装,选择y确认,等待系统重启及完成安装 2.1部分命令的使用 # 阅读全文
posted @ 2021-05-20 10:53 邓聪聪 阅读(267) 评论(0) 推荐(0)
摘要:cat /etc/sysconfig/static-route ##any net 10.211.6.0/24 gw 192.168.3.1#any net 10.0.0.0 netmask 255.0.0.0 gw 10.212.52.1 因为/etc/init.d/network启动脚本会调用该 阅读全文
posted @ 2021-04-15 13:55 邓聪聪 阅读(729) 评论(0) 推荐(0)
摘要:主机: 端口: step: 阅读全文
posted @ 2021-03-31 10:26 邓聪聪 阅读(496) 评论(0) 推荐(0)
摘要:2 阅读全文
posted @ 2021-01-28 15:46 邓聪聪 阅读(34) 评论(0) 推荐(0)
摘要:为了监控某个IP的端口是否正常,zabbix内置tcp监控的key值" net.tcp.port[IP,port] 返回结果1表示端口正常,返回0表示不存在",既触发器配置" {Zabbix server:net.tcp.port[113.143.100.199,8899].last()}=0 " 阅读全文
posted @ 2020-10-24 21:28 邓聪聪 阅读(1907) 评论(0) 推荐(0)
摘要:1 来自B站的干货:https://www.bilibili.com/video/BV1PV411k7Rz?p=7 阅读全文
posted @ 2020-09-29 14:03 邓聪聪 阅读(114) 评论(0) 推荐(0)
摘要:1,首先查询需要查询主机的hositid select host,hostid from hosts WHERE host="xxx" 2,查询主机的item select itemid,name,key_ from items where hostid=hostid and name regexp 阅读全文
posted @ 2020-08-31 21:54 邓聪聪 阅读(618) 评论(0) 推荐(0)
摘要:1.问题:登陆MYSQL以后,不管运行任何命令,总是提示这个 mysql> show databases; ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing thi 阅读全文
posted @ 2020-08-21 14:45 邓聪聪 阅读(380) 评论(0) 推荐(0)
摘要:#select *from hosts where hostid=10322#select * from items where hostid=10322 and key_ like 'net.if%' and `name` like '%0/0/1%'#select * from history_ 阅读全文
posted @ 2020-08-11 16:17 邓聪聪 阅读(580) 评论(0) 推荐(0)
摘要:#!/bin/sh Date=`date +%F" "%H:%M:%S` snmp="XXX" Host="XXX" MIB="IF-MIB::ifHCOutOctets.44 = Counter64" while true do for i in `ls -l` do first=`snmpwal 阅读全文
posted @ 2020-06-21 11:31 邓聪聪 阅读(1553) 评论(0) 推荐(0)
摘要:sda 阅读全文
posted @ 2020-05-25 10:09 邓聪聪 阅读(97) 评论(0) 推荐(0)
摘要:安装python3,并安装所需插件 yum -y install epel-release ; yum install -y python36 python36-devel; curl https://bootstrap.pypa.io/get-pip.py |python3.6 vi ~/.pip 阅读全文
posted @ 2020-03-27 22:58 邓聪聪 阅读(323) 评论(0) 推荐(0)
摘要:python2.7.5 安装pip 1 先安装setuptools win 下载地址:https://pypi.python.org/pypi/setuptools#downloads liunx : wget https://files.pythonhosted.org/packages/b5/9 阅读全文
posted @ 2020-02-12 14:06 邓聪聪 阅读(4754) 评论(0) 推荐(0)
摘要:a 阅读全文
posted @ 2020-01-07 10:42 邓聪聪 阅读(151) 评论(0) 推荐(0)
摘要:阿斯 阅读全文
posted @ 2019-12-26 11:32 邓聪聪 阅读(554) 评论(0) 推荐(0)
摘要:aa 备份web站点及数据库 阅读全文
posted @ 2019-12-20 15:00 邓聪聪 阅读(264) 评论(0) 推荐(0)
摘要:作者:邓聪聪 解决方案是升级高版本,下面是升级的步骤 1;安装telnet工具,因为升级过程中怕失败或者重启ssh失败。我们直接yun安装即可。 同时安装服务端和客户端命令: yum –y install telnet*接下来,编辑配置文件vi /etc/xinetd.d/telnet 将disab 阅读全文
posted @ 2019-12-13 11:01 邓聪聪 阅读(1678) 评论(0) 推荐(0)
摘要:作者:邓聪聪 安装: yum install -y mailx 配置: ssl证书: 发信格式: 阅读全文
posted @ 2019-11-27 20:11 邓聪聪 阅读(463) 评论(0) 推荐(0)
摘要:3 阅读全文
posted @ 2019-11-07 15:07 邓聪聪 阅读(100) 评论(0) 推荐(0)