域名服務
[root@linuxsir01 root]# redhat-config-bind
[root@linuxsir01 root]# redhat-config-bind-gui
軟件包管理
[root@linuxsir01 root]# redhat-config-packages
日期與時間
[root@linuxsir01 root]# redhat-config-date
打印機,在X下運行的命令
[root@linuxsir01 root]# redhat-config-printer
[root@linuxsir01 root]# redhat-config-printer-gui
在X和虛擬控制檯下都能用的命令,界面是文本的。
[root@linuxsir01 root]# redhat-config-printer-tui
apache的配製
[root@linuxsir01 root]# redhat-config-httpd
鍵盤的配製
[root@linuxsir01 root]# redhat-config-keyboard
這個是kernel相關的,不知道是做什麼用的,請弟兄們來講一講。
[root@linuxsir01 root]# redhat-config-proc
反衝啓動控制程序,這個也比較有價值。這個我們也得多多研究。
[root@linuxsir01 root]# redhat-config-kickstart
改root的密碼工具
[root@linuxsir01 root]# redhat-config-rootpassword
系統語言設置
[root@linuxsir01 root]# redhat-config-language
安全等等級的設置,其實用這個設置,好象沒有生效,其實早已經生效了。
[root@linuxsir01 root]# redhat-config-securitylevel
鼠標的配製
[root@linuxsir01 root]# redhat-config-mouse
系統服務的開啓等,如果設置成開機啓動,必須要保存一下。
[root@linuxsir01 root]# redhat-config-services
配製網卡,添加網卡等,以及ADSL以及貓等網絡設備的添加以及拔號,都能從這裏設置
[root@linuxsir01 root]# redhat-config-network
下面這個也是上面那個命令的一部份。用上面的那一個就能完成好多的工具。不用這個也一樣,
因爲redhat-config-network
已經包含了下面這個網絡設置的添加命令。
[root@linuxsir01 root]# redhat-config-network-druid
聲卡的,也試一下吧。
[root@linuxsir01 root]# redhat-config-soundcard
這個是配製顯卡和顯示器方面的,如果出現不能顯示的,就要用這個命令,這個是極爲重要的,
能在X下text下運行 。
[root@linuxsir01 root]# redhat-config-xfree86
NFS服務器的配製
[root@linuxsir01 root]# redhat-config-nfs
用戶管理器,可以添加用戶等。
[root@linuxsir01 root]# redhat-config-users
其實這些命令大多是在X下運行的,在虛擬控制檯下也有相關的命令,那就是setup,也有解決不少問題。。
#setup
│
│ Authentication configuration │
│ Firewall configuration │
│ Keyboard configuration │
│ Mouse configuration │
│ Network configuration │
│ Printer configuration │
│ System services │
│ Sound card configuration │
│ Timezone configuration │
看一下洋文,似乎也不太難發現,有些東西與X下是相同的。。。
還有一些常用的。比如
#sndconfig
#kmix
#aumix
----------------------------------------------------------
/etc/sysconfig/network 包括主機基本網絡信息,用於系統啓動
/etc/sysconfig/network-script/ 此目錄下是系統啓動最初始化網絡的信息
/etc/sysconfig/network-script/ifcfg-eth0 網絡配置信息
/etc/xinetd.conf 定義了由超級進程XINETD啓動的網絡服務
/etc/protocols 設定了主機使用的協議以及各個協議的協議號
/etc/services 設定了主機的不同端口的網絡服務
// 網絡配置工具
# redhat-config-network
/* 使用ifconfig命令配置並查看網絡接口情況 */
//配置eth0的IP,同時激活設備
# ifconfig eth0 192.168.168.119 netmask 255.255.255.0 up
//配置eth0別名設備 eth0:1 的IP,並添加路由
# ifconfig eth0:1 192.168.168.110
# route add –host 192.168.168.110 dev eth0:1
//激活(禁用)設備
# ifconfig eth0:1 up(down)
//查看所有(指定)網絡接口配置
# ifconfig (eth0)
/* 使用route 命令配置路由表 */
//添加到主機路由
# route add –host 192.168.168.110 dev eth0:1
# route add –host 192.168.168.119 gw 192.168.168.1
//添加到網絡的路由
# route add –net IP netmask MASK eth0
# route add –net IP netmask MASK gw IP
# route add –net IP/24 eth1
//添加默認網關
# route add default gw IP
//刪除路由
# route del –host 192.168.168.110 dev eth0:1
/* 常用命令 */
# traceroute http://www.pconline.com.cn/
# ping http://www.pconline.com.cn/
//顯示網絡接口狀態信息
# netstat –I
//顯示所有監控的服務器的Socket和正在使用Socket的程序信息
# netstat –lpe
//顯示內核路由表信息
# netstat –r
# netstat –nr
//顯示TCP/UDP傳輸協議的連接狀態
# netstat –t
# netstat –u
//更改主機名
# hostname myhost
//查看ARP緩存
# arp
//添加
# arp –s IP MAC
//刪除
# arp –d IP
/* 運行級別與網絡服務 */
//查看當前運行級別
# runlevel
//運行級別的切換
# init
# telinit