내용 작성
This commit is contained in:
23
README.md
23
README.md
@@ -1,2 +1,23 @@
|
||||
# nfs_server_create
|
||||
# NFS Server 생성
|
||||
|
||||
## 1. 패키지 설치
|
||||
```
|
||||
dnf install -y nfs-utils
|
||||
systemctl enable nfs-server.service
|
||||
systemctl start nfs-server.service
|
||||
```
|
||||
|
||||
## 2. NFS 디렉토리 생성
|
||||
```
|
||||
mkdir -p /nfs/public
|
||||
chmod 777 /nfs/public
|
||||
```
|
||||
|
||||
## 3. 디렉토리 명시 및 옵션 설정
|
||||
> 자세한 옵션은 [<span style='color:yellow'>링크</span>](https://linux.die.net/man/5/exports) 참조
|
||||
```
|
||||
vi /etc/exports
|
||||
/nfs/public *(rw,sync,no_subtree_check) #추가
|
||||
exportfs -a
|
||||
exportfs -v #확인
|
||||
```
|
||||
Reference in New Issue
Block a user