- remote device mount 하기
- Sever 에 nfs setting 하기
필요 module 설치 및 mount 하기
# 클라이언트에서 - nfs client 설치
sudo apt-get install nfs-common
- 마운트해서 사용할 디렉토리
sudo mkdir [디렉토리]
- 마운트
sudo mount -t nfs -o nolock 10.110.50.50:[공유디렉토리경로] [위에서 만든 디렉토리경로]- 재부팅 할 때 자동 마운트
재부팅 할 때 자동 마운트
nano etc/fstab 아래 추가
10.110.50.50:/[공유디렉토리경로] [마운트한경로] nfs defaults 0 0 - Example
# server ip : 10.110.10.1 # 공유디렉토리이름 : /data # 자신의 local computer 에서 사용할 디렉토리 이름 : /shared # $ sudo mount -t nfs -o nolock 10.110.10.1:/data /shared $ sudo mount -t nfs -o nolock 10.110.50.50:/shared /shared
- 끝
'Linux > Ubuntu 14.04 LTS' 카테고리의 다른 글
| Error | ubuntu 14.04 apt update 중 100% work 뜨면서 멈추는 현상 (0) | 2016.10.14 |
|---|---|
| Linux | Ubuntu 14.04 LTS | Examples | bashrc, path, PYTHONPATH 추가하기 (0) | 2016.03.09 |
| Linux | Ubuntu 14.04 LTS | aptana install 하기 (0) | 2016.02.03 |
| Linux | Ubuntu 14.04 LTS | Utils | atom install, uninstall, upgrade (0) | 2016.02.02 |
| Linux | Ubuntu 14.04 LTS | mount (0) | 2016.02.01 |