Contents
see List작성일 2015. 03. 08.
#yum -y install nfs-utils
vi /etc/exports
192.168.122.0/24(rw,sync,no_root_squash)
\t
vi /etc/sysconfig/nfs
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
RQUOTAD_PORT=875
STATD_PORT=662
STATD_OUTGOING_PORT=2020
## firewall 사용시 아래 포트를 오픈한다.
firewall-cmd --permanent --zone=public --add-service=samba
systemctl restart rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmap
systemctl enable rpcbind
systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmap
firewall-cmd --reload
mount -t nfs [대상ip주소]:/[공유디렉토리] /[마운트디렉토리]
vi /etc/fstab
[NFS서버IP주소]:/[공유디렉토리] /[마운트디렉토리] nfs defaults 0 0
os
| No | 작성일 | Title |
|---|---|---|
| 107 | 2014. 11. 06. | [ linux ] 리눅스 cpu 정보확인 |
| 85 | 2014. 10. 28. | [ linux] 리눅스 명령어 모음 |
| 38 | 2014. 09. 25. | [ apach ] 아파치 vhost 및 jkMount 설정 법 |
| 23 | 2014. 09. 25. | [linux] 리눅스 디렉토리 남은 용량 확인하기 |