0-11 NFS與TFTP服務器配置

(以下針對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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章