寻觅生命中的那一片浅草......

RHEL5下的DNS Server配置

一、主机环境说明
系统为Red Hat Enterprise Linux 5.0,hostname为oracle.xxt401.com,主机所处网段为192.168.1.0/24。

二、安装以下软件包
bind-libs-9.3.3-7.el5(提供一些库文件)
bind-devel-9.3.3-7.el5
bind-utils-9.3.3-7.el5(提供dig、host、nslookup、nsupdate等命令)
bind-9.3.3-7.el5(主程序)
bind-chroot-9.3.3-7.el5(构建/var/named/chroot下的文件结构)
bind-sdb-9.3.3-7.el5
bind-libbind-devel-9.3.3-7.el5
caching-nameserver-9.3.3-7.el5(提供named.conf等配置文件样板)
阅读全文»

拔牙记

已经是第三天了,但它还是那么痛,这可怎么办啊?这个可恶的智齿,从一开始旁边的牙肉红肿,去社区卫生服务中心的牙科看,那个年轻的医生竟然说是划伤了,作了简单处理,开了点药,吃了可是一点效果都没有。毕竟别人年轻嘛。

阅读全文»

Login records

Login records are kept in a database in /var/log/wtmp. While you can’t read this file directly, you can use the utmpdump command to make this file readable. For example, the utmpdump /var/log/wtmp command lists recent login activity.

RHEL5下的NFS

一步一步,把RHCE里的内容都做一遍,好像是一天做一个。今天做NFS
一、Server端
1、    软件包安装,把nfs和portmap相关的包都装了
# rpm –ivh nfs-utils-1.0.9-16.el5.i386.rpm
# rpm –ivh nfs-utils-lib-1.0.8-7.2.i386.rpm
# rpm –ivh nfs-utils-lib-devel-1.0.8-7.2.i386.rpm
# rpm –ivh system-config-nfs-1.3.23-1.el5.noarch.rpm (这个是图形化管理NFS程序)
# rpm –ivh portmap-4.0-65.2.2.1.i386.rpm

阅读全文»

RHEL5下的Squid

squid装好后,就可以启动了,但其他电脑还不能直接通过这个代理来上网,配置文件里只允许localhost使用这个代理,感觉默认配置文件有点不合理,如果只给本机代理上网,根本没什么意义,或者本机通过本机的代理上网这样更加安全吧?

当你不修改squid.conf,启动squid后,你在另外一台电脑修改浏览器的代理设置,你会得到以下提示

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://www.baidu.com/

The following error was encountered:
Access Denied.

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is root.


阅读全文»

2025年八月
« 5月    
 123
45678910
11121314151617
18192021222324
25262728293031