随笔分类 - Liunx-系统服务
Liunx学习的漫漫长路
摘要:https://freessl.cn/ #免费的ssl证书申请网站 nginx的配置: server { listen 80; listen 443 ssl; server_name cloud.maslong.com ; if ($ssl_protocol = "") { rewrite ^ ht
阅读全文
摘要:ROS的使用 ROS的使用1虚拟机安装ros1.1安装如下报错1.2 系统安装2.1部分命令的使用2.2license授权 1虚拟机安装ros 1.1安装如下报错 解决办法;将虚拟机硬盘修改为IDE 1.2 系统安装 键入字母i开始安装,选择y确认,等待系统重启及完成安装 2.1部分命令的使用 #
阅读全文
摘要: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启动脚本会调用该
阅读全文
摘要:主机: 端口: step:
阅读全文
摘要:为了监控某个IP的端口是否正常,zabbix内置tcp监控的key值" net.tcp.port[IP,port] 返回结果1表示端口正常,返回0表示不存在",既触发器配置" {Zabbix server:net.tcp.port[113.143.100.199,8899].last()}=0 "
阅读全文
摘要:1 来自B站的干货:https://www.bilibili.com/video/BV1PV411k7Rz?p=7
阅读全文
摘要:1,首先查询需要查询主机的hositid select host,hostid from hosts WHERE host="xxx" 2,查询主机的item select itemid,name,key_ from items where hostid=hostid and name regexp
阅读全文
摘要:1.问题:登陆MYSQL以后,不管运行任何命令,总是提示这个 mysql> show databases; ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing thi
阅读全文
摘要:#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_
阅读全文
摘要:#!/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
阅读全文
摘要:安装python3,并安装所需插件 yum -y install epel-release ; yum install -y python36 python36-devel; curl https://bootstrap.pypa.io/get-pip.py |python3.6 vi ~/.pip
阅读全文
摘要:python2.7.5 安装pip 1 先安装setuptools win 下载地址:https://pypi.python.org/pypi/setuptools#downloads liunx : wget https://files.pythonhosted.org/packages/b5/9
阅读全文
摘要:作者:邓聪聪 解决方案是升级高版本,下面是升级的步骤 1;安装telnet工具,因为升级过程中怕失败或者重启ssh失败。我们直接yun安装即可。 同时安装服务端和客户端命令: yum –y install telnet*接下来,编辑配置文件vi /etc/xinetd.d/telnet 将disab
阅读全文
摘要:作者:邓聪聪 安装: yum install -y mailx 配置: ssl证书: 发信格式:
阅读全文

浙公网安备 33010602011771号