티스토리 뷰

서버 구성
패키지설치
# apt update
# apt install nfs-kernel-server
폴더 생성

mkdir /nfs/data

권한 설정

chmod 777 -R /nfs

exports파일 작성

/etc/exports에 작성하며 전체 허용일때는 *을 입력함.

${directory path} ${ipaddress}(rw,sync)
또는
${directory path} *(rw,sync)
서비스 재시작
systemctl restart nfs-server
클라이언트 구성 및 연결
클라이언트 설치
# apt update
# apt install -y nfs-common

연결 테스트

# mount -t nfs ${nfs-server-addr}:${dir-path}  ${mount-dir-path}

'OS > ubuntu' 카테고리의 다른 글

ubuntu22.04 | vagrant설치 후 Provider libvirt로 배포.  (0) 2023.07.03
ubuntu | package 로컬 저장  (0) 2023.07.03
ubuntu 22.04 | nic 이름 변경  (0) 2023.06.24
ubuntu | nexus repository 구성  (0) 2023.05.17
ubuntu 20.04 | 고정 ip 설정  (0) 2023.05.01
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함