본문 바로가기
Linux&Ubuntu/서버

Rocky 8 nfs S,C 설치

by Vittorio_Lee 2024. 3. 4.
728x90
반응형
SMALL

원격서버 

# dnf install nfs* -y

# dnf install nfs-utils

# systemctl enable –now nfs-server.service

# systemctl start –now nfs-server.service

 

대상서버 

# vi /etc/exports

/home/원격서버로 연결해줄 폴더명 192.168.123.123(rw,sync,no_root_squash) 원격서버 아이피 및 권한 설정

# systemctl restart nfs 

 

 

원격서버 

mount -t nfs 192.168.123.123:/폴더명  /home/폴더명/ -o nolock,vers=3

728x90
반응형
LIST

'Linux&Ubuntu > 서버' 카테고리의 다른 글

nfs 구축 centos7,ubuntu22.04  (0) 2024.05.31
PDNS + POWERADMIN 설치 (Linux Rocky9.X)  (0) 2024.04.03
linux hostname 변경  (0) 2024.02.19
centos7 DKIM 설정  (1) 2024.02.01
rocky9 시간동기화  (0) 2024.01.23