摘要: yum install OpenIPMI-* -yyum install ipmitool -ymodprobe ipmi-simodprobe ipmi-devintf ipmitool lan print 1ipmitool lan set 1 ipsrc staticipmitool lan 阅读全文
posted @ 2017-12-14 17:41 lordhaart 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 1 #!/usr/bin/env python 2 #-*- coding:utf-8 -*- 3 import sys, os, re, urllib, urlparse 4 import smtplib 5 import traceback 6 from email.mime.text import MIMEText 7 from email.mime.multipart im... 阅读全文
posted @ 2017-12-12 10:09 lordhaart 阅读(216) 评论(0) 推荐(0) 编辑
摘要: @echo off tasklist | find /C "python.exe" > temp.txtset /p num= < temp.txtdel /F temp.txtecho %num%if "%num%" == "0" start /D "C:\test\" test.py 阅读全文
posted @ 2017-12-12 10:05 lordhaart 阅读(158) 评论(0) 推荐(0) 编辑
摘要: V5info-center loghost 192.168.215.40info-center source default channel loghost log level warning state on V7info-center loghost 192.168.215.40info-cen 阅读全文
posted @ 2017-12-12 10:02 lordhaart 阅读(259) 评论(0) 推荐(0) 编辑
摘要: dis arpping 183.131.12.193dis arp 183.131.12.193dis link-aggregation verbose Bridge-Aggregation 1dis lldp neighbor-information listdis arp int Bridge- 阅读全文
posted @ 2017-12-12 10:01 lordhaart 阅读(1383) 评论(0) 推荐(0) 编辑
摘要: 修改交换机密码 1. 首先telnet他登陆需要修改的交换机 2. system-view 3. local-user admin 4. undo password 5. password cipher XXXXXXXXXXXXX 6. authorization-attribute level 3 阅读全文
posted @ 2017-12-12 10:00 lordhaart 阅读(3401) 评论(0) 推荐(0) 编辑
摘要: mkdir -p /usr/local/redis/etcmkdir -p /usr/local/redis/bin tar -zxvf redis-4.0.1.tar.gzcd redis-4.0.1makecd src/make install 进redis客户端/usr/local/redis 阅读全文
posted @ 2017-12-11 16:47 lordhaart 阅读(82) 评论(0) 推荐(0) 编辑
摘要: vi /etc/iproute2/rt_tables## reserved values#255 local254 main253 default252 uni251 mobi0 unspec## local##1 inr.ruhep modprobe 8021qvconfig add eth1 3 阅读全文
posted @ 2017-12-11 16:43 lordhaart 阅读(270) 评论(0) 推荐(0) 编辑
摘要: curl -sSL http://acs-public-mirror.oss-cn-hangzhou.aliyuncs.com/docker-engine/internet | sh - curl -sSL https://get.daocloud.io/docker | sh sudo tee - 阅读全文
posted @ 2017-12-11 16:35 lordhaart 阅读(69) 评论(0) 推荐(0) 编辑
摘要: for I in `seq 161 190`;do ping -W1 -c3 192.168.1.$I &> /dev/null && echo -e "\e[32m$I is online\e[0m" || echo -e "\e[31m$I is not online\e[0m";done fo 阅读全文
posted @ 2017-12-11 15:45 lordhaart 阅读(166) 评论(0) 推荐(0) 编辑