Personal tools
You are here: Home コンピュータ Linux Tips File System Tips NFSを使う
Document Actions

NFSを使う

by すぎお last modified 2007-09-13 07:32

パッケージをインストールする。

# aptitude install nfs-user-server

/etc/exportsにサービスを提供するディレクトリを記述する。

/mnt/music      192.168.0.0/255.255.255.0 (rw)

ディレクトリ   公開先   (アクセス権)の順に記述する。

ドメインでの公開先の記述は

/mnt/music      *.sugio-garden.com (rw)
アクセス権は、(rw)読み書き、(ro)読み込みのみ

クライアント(UNIX)からの接続は、

# mount    -t    nfs    サーバー名:/mnt/music    /mnt

起動時にマウントするには、/etc/fstabに

サーバー名:/mnt/music    /music    nfs    defaults    0    0

と記述する。

« January 2009 »
Su Mo Tu We Th Fr Sa
123
45678910
11121314151617
18192021222324
25262728293031
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: