1、  系统安装。
乱码解决,编辑/etc/sysconfig/i18n
将LANG="zh_CN.UTF-8"改为LANG="en:zh_CN.UTF-8"
 
2、  安装office。
# tar -zxvf OOo_2.2.1_LinuxIntel_install_zh-cn.tar.gz
# cd OOF680_m18_native_packed-1_zh-CN.9161/ RPMS
# rpm -vih openoffice.*.rpm
Office菜单的安装
# cd desktop-integration/
# rpm -vih openoffice.org-redhat-menus-2.2-9153.noarch.rpm
 
3、  QQ的安装
# tar –jxvf eva-20080127_1.tar.bz2
# cd eva
# ./configure
# make
# make install
如果没有创建启动菜单,则可以添加以下文件
vi /usr/share/applications/Eva.desktop
[Desktop Entry]
Name=Eva
Comment=QQ Client
Exec=/usr/bin/eva
Icon=/usr/share/apps/eva/p_w_picpath/theme/eva.png
Terminal=false
Type=Application
Categories=Application;Network;
 
4、  dns的搭建
编译配置
# tar –zxvf bind-9.4.1.tar.gz
# cd bind-9.4.1
#./configure --prefix=/usr/local/bind --enable-threads #--enable-threads开启多线程处理能力
# make
# make install
建立链接文件
# ln -s /usr/local/bind/sbin/rndc /usr/sbin/rndc
# ln -s /usr/local/bind/sbin/named /usr/sbin/named
创建rndc.conf文件(利用rndc-confgen生成/usr/local/bind/etc/rndc.conf)
# /usr/local/bind/sbin/rndc-confgen > /usr/local/bind/etc/rndc.conf
创建rndc.key文件
# cp /usr/local/bind/etc/rndc.conf /usr/local/bind/etc/rndc.key
修改文件内容为如下:
key "rndc-key" {
        algorithm hmac-md5;
        secret "Q/SLanRHfrIaE0h8CnPLjQ==";
 };
 
controls {
        inet 127.0.0.1 port 953
                allow { 127.0.0.1; } keys { "rndc-key"; };
 };
编辑/etc/named.conf文件
内容如下:
options {
directory "/var/named";
forwarders{ 211.*.*.*.*; };
};
include "/usr/local/bind/etc/rndc.key";
zone "." IN {
        type hint;
        file "named.ca";
};
zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};
zone "lin.com" IN {
       type master;
       file "named.lin.com";
       allow-update { none; };
};
zone "200.168.192.in-addr.arpa" IN {
      type master;
      file "named.200.168.192";
      allow-update { none; };
};
编辑named.ca named.local named.lin.com named.200.168.192文件
# mkdir /var/named
# cd /var/named
# vi named.ca
;       This file holds the information on root name servers needed to
;       initialize cache of Internet domain name servers
;       (e.g. reference this file in the "cache  .  <file>"
;       configuration file of BIND domain name servers).
;
;       This file is made available by InterNIC
;       under anonymous FTP as
;           file                /domain/named.root
;           on server           FTP.INTERNIC.NET
;       -OR-                    RS.INTERNIC.NET
;
;       last update:    Feb 04, 2008
;       related version of root zone:   2008020400
;
; formerly NS.INTERNIC.NET
;
.                        3600000  IN  NS    A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
A.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:BA3E::2:30
;
; formerly NS1.ISI.EDU
;
.                        3600000      NS    B.ROOT-SERVERS.NET.
"named.ca" 85L, 2878C
;       This file holds the information on root name servers needed to
;       initialize cache of Internet domain name servers
;       (e.g. reference this file in the "cache  .  <file>"
;       configuration file of BIND domain name servers).
;
;       This file is made available by InterNIC
;       under anonymous FTP as
;           file                /domain/named.root
;           on server           FTP.INTERNIC.NET
;       -OR-                    RS.INTERNIC.NET
;
;       last update:    Feb 04, 2008
;       related version of root zone:   2008020400
;
; formerly NS.INTERNIC.NET
;
.                        3600000  IN  NS    A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
A.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:BA3E::2:30
;
; formerly NS1.ISI.EDU
;
.                        3600000      NS    B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.      3600000      A     192.228.79.201
;
; formerly C.PSI.NET
;
.                        3600000      NS    C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12
;
; formerly TERP.UMD.EDU
;
.                        3600000      NS    D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90
;
; formerly NS.NASA.GOV
;
.                        3600000      NS    E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10
;
; formerly NS.ISC.ORG
;
.                        3600000      NS    F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET.      3600000      A     192.5.5.241
F.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:2f::f
;
; formerly NS.NIC.DDN.MIL
;
.                        3600000      NS    G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
.                        3600000      NS    H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53
H.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:1::803f:235
;
; formerly NIC.NORDU.NET
;
.                        3600000      NS    I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17
;
; operated by VeriSign, Inc.
;
.                        3600000      NS    J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET.      3600000      A     192.58.128.30
J.ROOT-SERVERS.NET.      3600000      AAAA  2001:503:C27::2:30
;
; operated by RIPE NCC
;
.                        3600000      NS    K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET.      3600000      A     193.0.14.129
K.ROOT-SERVERS.NET.      3600000      AAAA  2001:7fd::1
;
; operated by ICANN
;
.                        3600000      NS    L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET.      3600000      A     199.7.83.42
;
; operated by WIDE
;
.                        3600000      NS    M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET.      3600000      A     202.12.27.33
M.ROOT-SERVERS.NET.      3600000      AAAA  2001:dc3::35
; End of File
# vi named.lin.com
$TTL    86400
$ORIGIN         lin.com.
@       IN      SOA     lin.com.        root.lin.com.   (
                                      2008082400
                                      28800
                                      14400
                                      3600000
                                      86400     )
                        IN      NS      lin.com.
                        IN      MX      5       lin.com.
@                IN      A       192.168.200.111
www                     IN      A       192.168.200.111
# vi named.local
$TTL    86400
@       IN      SOA     localhost.      root.localhost. (
                                      2008082400
                                      28800
                                      14400
                                      3600000
                                      86400     )
        IN      NS      localhost.
1       IN      PTR     localhost.
~
# vi named.200.168.192
$TTL    86400
@       IN      SOA     lin.com.        root.lin.com.   (
                                      2008082400
                                      28800
                                      14400
                                      3600000
                                      86400     )
                        IN      NS      lin.com.
111                     IN      PTR     [url]www.lin.com[/url]
 
建立/usr/local/bind/var/run目录,用于存放named的进程号文件
# mkdir -p /usr/local/bind/var/run
启动named守护进程
# named -c /etc/named.conf
查看进程或日志
# ps aux | grep named
root     31253  0.0  2.2  14444 11744 ?        Ss   19:32   0:00 named -c /etc/named.conf
root     31455  0.0  0.1   4988   664 pts/2    R+   20:13   0:00 grep named
# tail -n 20 /var/log/messages
修改/etc/resolv.conf
# vi /etc/resolv.conf
search lin.com
nameserver 192.168.200.111
测试
# nslookup lin.com
Server:         192.168.200.111
Address:        192.168.200.111#53
 
Name:   lin.com
Address: 192.168.200.111
 
# nslookup [url]www.google.cn[/url]
Server:         192.168.200.111
Address:        192.168.200.111#53
 
Non-authoritative answer:
[url]www.google.cn  [/url] canonical name = cn.l.google.com.
Name:   cn.l.google.com
Address: 203.208.39.99
Name:   cn.l.google.com
Address: 203.208.39.104
 
Named 自动启动
# vi /etc/rc.local 添加
Named -c /etc/named.conf