Test 환경 :
Server - Ubuntu
...
18.04
...
Client - CentOS 7
Table of Contents |
---|
Server
NFS Package 설치
Code Block | ||
---|---|---|
| ||
apt-get update apt-get install nfs-common nfs-kernel-server rpcbind |
...
Code Block | ||
---|---|---|
| ||
/home/share 175.197***.***.124.*(rw,sync,no_root_squash,no_all_squash) # [/경로] [허용할 IP주소. *은 모두 허용](옵션) |
...
Code Block | ||
---|---|---|
| ||
mount -t nfs 175.197***.***.100.150:/home/share /data |
...
Code Block | ||
---|---|---|
| ||
175.197***.***.100.150:/home/share /data nfs defaults 0 0 |
...