(以下針對RHEL6的配置,與其他Linux發行版可能略有不同)
1.tftp服務器
安裝前,先安裝xinetd,再安裝tftp服務器
rpm -ivh tftp-server-0.49xxx.rpm
配置tftp
vim /etc/xinetd.d/tftp disable = no server_args = -s /tftp
/*此爲tftp共享目錄,目錄權限666*/
重啓tftp服務
/etc/init.d.xinetd restart
2.NFS服務器
配置NFS服務器
vim /etc/exports /tmp *(rw,sync,no_root_squash)
/* 共享目錄 地址 讀寫權限 同步 root權限 */
啓動NFS服務器
/etc/init.d/nfs restart