伺服器安裝與設定
WWW Server | |
程式名稱 | apache_1.3.9.tar.gz |
安裝步驟 | 1. 取得apache_1.3.9 放在/tmp中 2. cd /tmp 3. tar zvxf apache_1.3.9.tar.gz 4. cd apache_1.3.9 5. ./configure --prefix=/home/web 6. make;make install;make depend 7. cd /home/web/conf 8. ee httpd.conf 在DirectoryIndex index.html 多加入index.htm 9. /home/web/bin/apachectl start 啟動apache 10. 若要 開機啟動請在/etc/rc.lcaol加入 |
DHCP Server | |
程式名稱 | isc-dhcp2_b1_1.tgz |
安裝步驟 | 1.取得 isc-dhcp2_b1_0.tgz放在/tmp中 2.安裝package : pkg_add -v isc-dhcp2_b1_1.tgz 3.在/etc/下,新增dhcpd.conf 4./usr/local/sbin/dhcpd啟動dhcpd 5.若要 開機啟動請在/etc/rc.local加入 ps:1.在kernel configure file 加入 2.重新make kernel, reboot後 |
Mail Server | |
程式名稱 | sendmail 1.8.9 |
安裝步驟 | 1.修改/etc/sendmail.cf 2.修改sendmail.cw(允許接收信件之來源網域) 3.修改relay-domains(允許接受relay之主機) 4.修改access(內含拒絕寄信目的地的網域) 5.執行makemap hash access.db<access |
DNS Server | |
程式名稱 | bind-8.1.2.tar.gz |
安裝步驟 | 1. 取得bind-8.1.2.tar.gz 放在/tmp中 2. cd /tmp 3. tar zvxf bind-8.1.2.tar.gz 4. cd bind-8.1.2 5. make;make install;make depend 6. 使用 /etc/named/make-localhost 建立 localhost.rev 7.建立named.conf , named.root ,
named.hosts , named.rev 8.在/etc/rc.conf加入 |
Proxy Server | |
程式名稱 | |
安裝步驟 |
NAT Server | |
程式名稱 | |
安裝步驟 | kernel 設定部份
|