上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: cat command.sh #!/bin/bash for ((i=3;i>/root/script/apple.txt cat apple.txt rule 3 deny ip source 10.0.16.2 0 destination 10.0.16.13 0 rule 4 deny ip source 10.0.16.2 0 destination 10.0.16.14 0 rul... 阅读全文
posted @ 2017-07-25 08:53 myway_liang 阅读(712) 评论(0) 推荐(0) 编辑
摘要: undo terminal monitor 阅读全文
posted @ 2017-07-02 02:14 myway_liang 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 1.首先下载S7700-V200R008C00SPC500.rar升级包,包括升级文件 和升级指南,TFTP用的升级文件传输工具3CDaemon。 2.解压S7700-V200R008C00SPC500压缩包。 3.配置电脑和S7706互通配置: PC:ip add:10.33.33.2/255.255.255.252 S7706 Config: vlan 33 int vlan... 阅读全文
posted @ 2017-07-02 01:57 myway_liang 阅读(4299) 评论(0) 推荐(0) 编辑
摘要: traceroute -d www.baidu.com -s 10.1.1.2 traceroute -d -s 阅读全文
posted @ 2017-06-27 11:10 myway_liang 阅读(8549) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- #查找IP地址归属地 #writer by keery_log #Create time:2013-10-30 #Last update:2013-10-30 #用法: python chk_ip.py www.google.com |python chk_ip.py 8.8.8.8 |python ch... 阅读全文
posted @ 2017-06-21 16:56 myway_liang 阅读(1246) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- import signal import urllib import json import sys,os,re import socket url = "http://ip.taobao.com/service/getIpInfo.php?ip=" def ip_location(ip): d... 阅读全文
posted @ 2017-06-21 16:18 myway_liang 阅读(1215) 评论(0) 推荐(0) 编辑
摘要: snmp-agent snmp-agent local-engineid 80007DB037C1CF1F4E8C00 snmp-agent community read cipher %^%#<Yu(YXlw}D}oIk6tx0;LBC",%vZc36h'KAU,mTn+N1O+9$amTYpR^=-L#0SBb#K+9B@mL<fjbp%H`[-)%^%# snmp-agent sys-in... 阅读全文
posted @ 2017-06-21 10:02 myway_liang 阅读(5719) 评论(0) 推荐(0) 编辑
摘要: unalias cp //临时取消alias别名规则 cp -rf 阅读全文
posted @ 2017-06-18 05:10 myway_liang 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 一、删除旧版本 rpm -qa|grep php* or yum list installed |grep php yum remove php* 二、安装新版本 1.更新yum安装包 rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el... 阅读全文
posted @ 2017-06-18 05:07 myway_liang 阅读(616) 评论(0) 推荐(0) 编辑
摘要: ssh-keygen -t rsa 在母机上/root/.ssh目录,有id_rsa.pub文件,就是刚才执行ssh-keygen所生成的公钥key文件。 scp ~/.ssh/id_rsa.pub root@192.168.153.138:/root/.ssh/authorized_keys 阅读全文
posted @ 2017-06-18 03:19 myway_liang 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页