查看積分策略說明發表回覆
Discuz! 代碼
提示插入
直接插入
說明訊息

插入粗體文本 插入斜體文本 插入下劃線 置中對齊 插入超級連結 插入信件位址 插入圖像 插入 flash 插入代碼 插入引言 插入列表
刪除線 直線分隔線 虛線分隔線
    
添加文字底框
內容 [字數檢查]:

表情符號

更多 Smilies
字型大小 |||
溫馨提示:本區開放遊客瀏覽。


文章關鍵字 : [功能說明]
(關鍵字可加強搜索準確性, 如關鍵字多於一組, 請以 , 作分隔, e.g. : 阿笨,shiuh,第一笨)

 關閉 URL 識別 | html 禁用
 關閉 表情符號 | 表情符號 可用
 關閉 Discuz! 代碼 | Discuz! 代碼 可用
使用個人簽名
接收新回覆信件通知
推薦放檔網絡空間

檔案(Torent, zip等)
  1. freedl
  2. multiupload
  3. btghost
  4. 便當狗
  5. mediafire
  6. pillowangel
圖片(JPG, GIF等)
  1. hotimg
  2. tinypic
  3. mousems2
  4. imageshack
  5. imm.io
>>>歡迎推薦好用空間


最新10篇文章回顧
ispeter

 發表於 2005-12-17 02:52 PM

此文章來自 ispeter , 請勿轉載 !!

[教學][RHEL] NFS

NFS 需要下列這兩個套件:


  • # rpm -ivh nfs-utils-1.0.5-3

  • # rpm -ivh portmap-4.0-56


設定步驟:

  1. NFS 需要 Portmap 的 RPC,所以要先啟動 Portmap
    # chkconfig portmap on
    # service portmap start
    # netstat -tunple | grep portmap

  2. 啟動 NFS
    # chkconfig nfs on
    # service nfs start

  3. 簡易設定 "/etc/exports"
    # vi /etc/exports
    增加一行

    /tmp
    重新啟動 NFS
    # service nfs restart

    檢查
    # showmount -e 127.0.0.1

  4. 進階設定 "/etc/exports"
    # vi /etc/exports

    下列選項有下列選項可供選擇:

    /tmp (ro)
    /tmp station4.example.com(rw)
    /tmp station4.example.com(rw)station5.example.com(ro)
    /tmp *.example.com(ro)
    /tmp 192.168.1.0/255.255.255.0(rw)
    重新啟動 NFS
    # service nfs restart

    檢查
    # showmount -e 127.0.0.1

  5. Mount NFS

    # mkdir /mnt/nfs ; mount 61.56.191.187:/tmp /mnt/nfs

    # vi /etc/fstab

    61.56.191.187:/tmp      /mnt/nfs                nfs     defaults        0 0





所在時區為 GMT+8, 現在時間是 2024-5-20 08:13 PM
清除 Cookies - 連絡我們 - TWed2k © 2001-2046 - 純文字版 - 說明
Discuz! 0.1 | Processed in 0.017017 second(s), 6 queries , Qzip disabled