2009年7月12日

H3C-S3600 VLAN

摘要: 一。vlan 1. vlan 1 quit interface vlan-interface 1 port e 1/0/23 ip address 192.168.60.2 255.255.255.0 2。vlan 2 quit interface vlan-interface 2 port e 1/0/20 ip address 192.168.61.2 255.255.255.0 3. vla... 阅读全文

posted @ 2009-07-12 23:12 晓风残梦 阅读(1163) 评论(0) 推荐(0) 编辑

ACL

摘要: 一。装包二。/etc/fstab/dev/hda6 /home ext3 default,acl 0 01. 为什么要使用ACL在linux下,对一个文件(或者资源)可以进行操作的对象被分为三类: file owner(文件的拥有者), group(组,注意不一定是文件拥有者所在的组), other (其他)而对于每一类别又分别定义了read, write and execute/search p... 阅读全文

posted @ 2009-07-12 13:14 晓风残梦 阅读(423) 评论(0) 推荐(0) 编辑

inittab

摘要: runlevel的设置 runleve级别设置 runlevel级别调整 1.Runlevel 查询当前runlevel 2.Init x 切换至x level c 。不同runlevel级别下对应 services,需要配合使用chkconfig命名 d.注意对/etc/inittab这个配置文件各个环节的理解 chkconfig –list chkconfig –... 阅读全文

posted @ 2009-07-12 11:10 晓风残梦 阅读(152) 评论(0) 推荐(0) 编辑

Grub 重装

摘要: grub重装 一 .grub-install /dev/sda 1.将重装grub的一些必要文件拷贝至/dev/sda下的/boot/grub目录下 2.如果要要改变拷贝的路径,需要用-root-directory=参数 注意:此命令必须要在rescue下,chroot至/mnt/sysimage下执行,执行完毕,exit至 光盘根目录下,下面root和setup需要在光盘根目录的grub she... 阅读全文

posted @ 2009-07-12 11:08 晓风残梦 阅读(604) 评论(0) 推荐(0) 编辑

NFS

摘要: 一。安装 1。Nfs-uliet 2。portmap 3。Rpc二。启动Service portmap startChkconfig portmap onRpcinfo –p localhostService nfs start配置前一定要查看rpc是否running三。Share Vi /etc/export/home 192.168.60.0/24(rw,sync。。。。) Exportfs –rv四。测试 Showmount –e local hostmount -t nfs 192.168.1.2:/var/ftp/pub /mnt/cdromumount /mnt/cdr... 阅读全文

posted @ 2009-07-12 11:01 晓风残梦 阅读(332) 评论(0) 推荐(0) 编辑

boot分区损坏

摘要: 环境:   /boot分区完全被破坏,且MBR也被破坏。(rm -rf /boot;fdisk /mbr) 1、修复Grub:   a、光盘启动,进入rescue模式。keywords:linux rescue.   b、进入真实系统环境。keywords: chroot /mnt/sysimage   c、安装grub到/boot分区下,本操作会将grub文件夹安装到boot分区下,包括sta... 阅读全文

posted @ 2009-07-12 10:42 晓风残梦 阅读(1414) 评论(0) 推荐(0) 编辑

SQUID

摘要: 一。安装 rpm ivh squid 二。启动及调试 chkconfig squid on service squid start /etc/sysconfig/squid SQUID_OPTS=”-D -X” log /var/log/squid/access.log /var/log/squid/cache.log /var/log/squid/store.log /v... 阅读全文

posted @ 2009-07-12 10:35 晓风残梦 阅读(260) 评论(0) 推荐(0) 编辑

CUPS

摘要: Cups: 一。工具 1.hal-device-manager 2.system-config-pringer 3.Web-manager /etc/cups/cups.conf /etc/cups/printer.conf 二。打印机本地安装和客户端安装 1。本地安装 linux printer要选postscript和pcl的,打印机,如果不是的话,要设置为原始打印的模式 /etc/cups/... 阅读全文

posted @ 2009-07-12 10:31 晓风残梦 阅读(464) 评论(0) 推荐(0) 编辑

导航