ITeye博客

七曜

davidlee1986 · 共 64 篇文章

apache+ldap权限认证

APACHE + LDAP 的权限认证配置方法 一、前言 很多朋友希望利用 Apache 通过 LDAP 进行用户认证及权限管理。 通过多次试验,总结出以下方法,与大家共享。 配置思路:对用户通过“组(groups)”进行管理,对于需要权限控制的目录, 则通过“组”进行控制。 二、用户需求 1. 用户结构: YourComp |- groups (departments) | |- grp1 (dep1) | | |- user1 | | \- user2 | |- grp2 (dep2) | | |- user3 | | \- user4 | \- grp3 (dep3) | |- use…

2013-09-03 18:22 · integration · 评论(0)

RHCS+Oracle配置实战图解

RHCS+Oracle配置实战图解 在RHCS中,最难理解的是Fence机制,下面的配置过程将首先以"手动Fence"为例进行讲解,以更深入地描述Fence在集群运行过程中的运行步骤及作用,最后再换成真实的Fence设备。需要注意的是,虽然通过"手动Fence"可以完整地配置RHCS,但在生产环境中不推荐这样做,因为一旦出现硬件级故障的话,"手动Fence"需要管理员通过人工干预方式进行系统切换。 1. 安装红帽集群套件RHCS 安装RHCS主要有以下3个途径: 通过RHEL5 AP高级平台版介质进行安装,并在安装过程中输入通过rhn.redhat.com网站激活后得到的Install Nu…

2013-08-21 09:21 · database · cluster · 评论(0)

eigrp

向eigrp注入默认路由 1,从发布静态路由 configure terminal ip route 0.0.0.0 0.0.0.0 serial 0/0 router eigrp 100 no auto-summary network 1.1.1.1 0.0.0.255 redistributestatic 2,宣告默认路由 ip route 0.0.0.0 0.0.0.0 serial 0/0 router eigrp 100 no auto-summary network 1.1.1.1 0.0.0.255 network 0.0.0.0 3,ip default-network ro…

2013-08-20 08:30 · internet · 评论(0)

frame-reday

##################### frame-reday底层配置## R1为DR 主接口 ## ##################### FRSWITCH conf ter fram sw end conf ter interface Serial0/1 encapsulation frame-relay frame-relay route 102 interface Serial0/2 201 frame-relay route 103 interface Serial0/3 301 frame-relay intf-type dce clock rate 64000 no s…

2013-08-20 08:30 · internet · 评论(0)

ipv6

基本配置 conf ter int e 0/0 ipv6 enable ipv6 address 2001::1/64 no shutdown show ipv6 neighbor show ipv6 interface ethernet 0/0 自动分配地址R1——>R2 R2(client) int e 0/0 no ipv6 address ipv6 address autoconfig R1(server) conf ter ipv6 unicast-routing int e 0/0 ipv6 enable ipv6 address 2001::1/64 no shutdown c…

2013-08-20 08:30 · internet · 评论(0)

layer3 route

VACL 在核心交换机上抓取mac或者ip 基于ip access-list 4 permit 100.1.1.4 (划入vlan 100) vlan acces-map A 10 action drop match ip address 4 vlan filter vlan-list 100 基于mac mac access-list extended MAC permit host 0001.969c.9c4e any (对应ip在vlan100) vlan acces-map B 10 action drop match mac address MAC vlan filter vlan…

2013-08-19 14:24 · internet · 评论(0)

VoIP

IIN&Cisco integrated transport integrated services integrated application 实验1 模拟电话 R(3640 fxs1/0/0 fxs1/0/2) show version show ip interface brief show voice port summary show diag (查看模块) conf ter dial-peer voice 1 pots destination-pattern 1001 port 1/0/0 conf ter dial-peer voice 1 pots destination-…

2013-08-19 14:24 · internet · 评论(0)

SECURITY

edge&DMZ core&distribution access firewall routers switch 1. mac flooding attacks cam arp mac flooding 基于mac也许流量 port-security (先shutdown port 然后做完安全no shutdown) conf ter interface fastethernet 0/0 switchport port-security switchport port-security {max-value | mac-address} switchport port-security …

2013-08-19 14:24 · internet · 评论(0)

路由策略

###################### passive-interface ## 只接收不发送路由更新## ###################### passive-interface default no passive-interface int-type int-mun ############# 配置RIP单播## ############# router rip passive-interface int-type int-num neighbor 192.168.123.3 ################ 管理距离AD配置## ################ pro…

2013-08-19 14:23 · internet · 评论(0)

add more users

#!/bin/bash # addclass ga 1 50 username ga0101-ga0150 groupadd users 2>> /dev/null if [ $? -eq 0 ] then echo "Users is created seccussfully !" else echo "Users is exist,you needn't created !" fi grade=$1 num_class=`expr $2 + 0` if (test $num_class -le 9) then num_class="0"$num_class fi max_stid=`ex…

2013-08-19 14:23 · shell · 评论(0)

apt源

Ubuntu12.04 更新源 1、首先备份Ubuntu 12.04源列表 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份下当前的源列表,有备无患嘛) 2、修改更新源 sudo gedit /etc/apt/sources.list (打开Ubuntu 12.04源列表文件) 3、将下面的代码粘贴进去(“#”开头的那一行为注释,可以直接复制进文件中) 4、通知ubuntu启用新的更新源 sudo apt-get update #台湾源 deb http://tw.archive.ubuntu.com/ubuntu/…

2013-08-18 10:10 · package · 评论(0)

网络工程投标书_草稿

网络工程投标书_草稿

2013-08-18 10:10 · internet · 评论(0)

路径控制

###################################################### offset-list ## 用于在入站或出站时增加通过rip或eigrp熟悉的路由度量值## ###################################################### offset-list配置 access-list 1 permit 10.1.1.0 router rip offset-list 1 out 2 serial 0/0 加2hop #################################################…

2013-08-18 10:10 · internet · 评论(0)

ospf

################ 配置为常规区域## ################ R1 conf ter int s 0/0 ip add 192.168.12.1 255.255.255.0 no shut int lo0 ip add 1.1.1.1 255.255.255.0 no shut exit router os 1 network 192.168.12.1 0.0.0.0 a 1 network 1.1.1.1 0.0.0.0 a 1 exit ####################################### R2 conf ter int s 0/0 i…

2013-08-18 10:09 · internet · 评论(0)

路由重发布

########################### 单点单项、单点多项重发布 ## ########################### ##################### R1与R2之间运行RIPv2## R2与R3之间运行ospf ## 重发布使其互通 ## ##################### R1 int s 0/0 address 192.168.12.1 255.255.255.0 no shutdown int lo0 ip address 1.1.1.1 255.255.255.0 no shutdown exit router rip version 2…

2013-08-18 10:09 · internet · 评论(0)