上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: yum -y install gcc gcc-c++ ncurses ncurses-devel cmake elfutils-libelf-devel openssl-devel openssl bc cd linux-4.14.15/ make mrproper make menuconfig 阅读全文
posted @ 2018-01-26 11:01 *奥特* 阅读(103) 评论(0) 推荐(0)
摘要: #!/bin/expectspawn ssh username@192.168.1.2expect "password:" send "passwd"expect "#"send "copy startup-config scp:\r"expect "]"send "\r"expect ":"sen 阅读全文
posted @ 2018-01-22 15:59 *奥特* 阅读(107) 评论(0) 推荐(0)
摘要: #!/usr/bin/expectspawn scp -P 33312 /home/hanlei/pxe/pxe7.sh hanlei@192.168.3.101:/home/hanlei/expect { "yes/no" {exp_send "yes\r";exp_continue} "*pas 阅读全文
posted @ 2018-01-13 14:45 *奥特* 阅读(104) 评论(0) 推荐(0)
摘要: hanyuchuan@aliyun.com aotedream@aliyum.com aotedream.com mamiper@aliyum.com miniper@aliyum.com 阅读全文
posted @ 2017-12-26 13:49 *奥特* 阅读(131) 评论(0) 推荐(0)
摘要: #!/usr/bin/python import sys import time import os import pexpect now = time.strftime('%Y-%m-%d',time.localtime(time.time()))aa = open ('/home/hanlei/ 阅读全文
posted @ 2017-12-06 18:33 *奥特* 阅读(1654) 评论(0) 推荐(0)
摘要: #! /bin/bashfor siteip in $(seq 72 190)do site="10.250.96.${siteip}" ping -c1 -W1 ${site} &> /dev/null if [ "$?" == "0" ]; then echo "$site is UP" els 阅读全文
posted @ 2017-12-04 09:38 *奥特* 阅读(143) 评论(0) 推荐(0)
摘要: squid 配置文件 #acl localnet src 10.0.0.0/8 # RFC1918 possible internal network#acl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl loca 阅读全文
posted @ 2017-11-07 18:06 *奥特* 阅读(458) 评论(0) 推荐(0)
摘要: ## See slapd.conf(5) for details on configuration options.# This file should NOT be world readable.# include /etc/openldap/schema/corba.schemainclude 阅读全文
posted @ 2017-11-07 17:56 *奥特* 阅读(1414) 评论(0) 推荐(0)
摘要: linux挂载windows ntds文件格式 342 mount -t ntfs -o nls=utf8 umask=000 /dev/sdb1 /var/ftp/pub/ 343 mount -t ntfs /dev/sdb1 /var/ftp/pub/ 344 yum search fuse- 阅读全文
posted @ 2017-11-07 14:43 *奥特* 阅读(233) 评论(0) 推荐(0)
摘要: python脚本实现 import os,sysimport timeimport pycurl URL="http://192.168.1.1"c = pycurl.Curl()c.setopt(pycurl.URL,URL)c.setopt(pycurl.CONNECTTIMEOUT,5)c.s 阅读全文
posted @ 2017-08-08 12:08 *奥特* 阅读(174) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 11 下一页