`
文章列表

数字校园网

访问层交换机ASwitch1 访问层交换机ASwitch1基本参数 hostname ASwitch1enable secret secretpasswdline vty 0 15loginpassword youguessexce-timeout 5 30line con 0exce-timeout 5 30logging synchronousexitno ip domain-lookup 访问层交换机ASwitch1的管理ip 默认网关 只能是vlan1 即本征vlan 如:192.168.0.0/24 假设为192.168.0.5/24 网关:192.168.0.254/24 ...
###############################端口下挂的是pc或access switch################################# router ospf 1network 192.168.1.0 0.0.0.255 area 1network 192.168.2.0 0.0.0.255 area 1network 192.168.3.0 0.0.0.255 area 1passive-interface defaultno passive-interface fa 2/0 ##################################把核 ...

rsync

rsync安装 wget http://rsync.samba.org/ftp/rsync/rsync-3.0.9.tar.gztar -xvzf rsync-3.0.9.tar.gz; cd rsync-3.0.9;./configure; make;make install rsync服务器端配置 vi /etc/rsyncd.conf(需要手动生成)uid = rootgid = rootuse chroot = nomax connections = 4strict modes = yespid file = /var/r ...

rsync+inotify

[server端] rsync安装 wget http://rsync.samba.org/ftp/rsync/rsync-3.0.9.tar.gz tar -xvzf rsync-3.0.9.tar.gz; cd rsync-3.0.9; ./configure; make; make install vi /usr/local/rsync/etc/rsync.passwd 123456 chmod 600 /usr/local/rsync/etc/rsync.passwd inotify安装 wget http://github.com/downloads/rvoicilas/inoti ...
linux oracle client

编译linux内核

lscpucat /proc/cpuinfolspci www.kernel.org make removemake mrpropermake distclean make configmake oldconfigmake menuconfigmake xconfig y *.c->.o->.Iamgem *.c->.on *.c make zImage (<512k的kernel)make bzImage可加参数 V=1 (看详细编译信息)编译好后在arch/<cpu>/boot/目录下 make modules make modules_ ...

yum源

RedHat yum安装配置藏 首先,用官方的网站更新的话除非你是用钱买的rhel5.否则它会提示注册之类的。所以只要把 yum的更新地址改成开源的就行了。限定yum更新地址的文件在/etc/yum.repos.d/里。先把它们改成备份文件,即在后面加.bak。[root@killgoogle ~]# mv /etc/yum.repos.d/rhel-debuginfo.repo /etc/yum.repos.d/rhel-debuginfo.repo.bak[root@killgoogle ~]# mv /etc/yum.repos.d/rpmforge.repo.rpmnew /etc ...

IPsec-VPN

IPsec-VPNSITE-TO-SITE & EASY confidentiality 机密data integrity  完整authentication  认证 intern key exchange (IKE)encapsulating security payload (ESP)authorization header (AH) original frame L2 IP L4 payloadtransport mode L2 IP ESP-AH L4 payloadtunnel mode    L2 new-IP payESP-AH ip L4 ESP-AH payl ...

iptables

#!/bin/bash  # The outside interface, use ADSL EXTIF="eth0" # the inside interfaceINIF="eth1" # the inside network, This is for NAT's networkINNET="192.168.1.0/24"    #this shell is only for kernel 2.4 2.5 2.6kver=`uname -r | cut -c 1-3` if [ "$kver" != &q ...

BGP

配置BGProuter bgp 100 (AS号)neighbor{ip-address|peer-group-name} remote-as autonomous-system network network-number{mask network-mask} {route-map map-tag} no syschronization 关闭同步(默认)syschronization 开启同步 bgp router-id x.x.x.x router bgp 123neighbor 3.3.3.3 remote-as 123neighbor 3.3.3.3 updtae lo0 ...

虚拟机快照

虚拟机快照
Xen的配置和管理
配置路由 R1 hostname R1 interface fastethernet 0/0ip address 172.16.0.1 255.255.255.252no shutdowninterface fastethernet 0/1ip address 172.16.0.5 255.255.255.252no shutdown interface Serial 2/0ip address 161.62.63.1 255.255.255.240no shutdown interface fastethernet 0/0ip nat insideinterface fasteth ...
 vCenter Server 5.0 安装实战    
配置路由 R1 hostname R1 username R1 password 123456interface fastethernet 0/0ip address 10.0.0.1 255.255.255.252no shutdown interface Serial 2/0ip address 76.7.8.1 255.255.255.240no shutdowninterface Serial 2/1ip address 10.0.0.5 255.255.255.252no shutdown encapsulation pppppp authentication chapno ...
Global site tag (gtag.js) - Google Analytics