목록2024/01/26 (1)
마짱짱의 지식창고

NFS 서버 구성하기 #!/bin/bash apt update apt install -y nfs-kernel-server shared_directory="/app" export_options="rw,sync,no_root_squash" allowed_subnet="192.168.252.0/24" echo "$shared_directory $allowed_subnet($export_options)" | sudo tee -a /etc/exports # 설정 적용 및 서비스 재시작 exportfs -a systemctl restart nfs-kernel-server systemctl enable nfs-kernel-server echo "NFS 서버가 성공적으로 구성되었습니다." NFS Client 설정하기 ..
Linux
2024. 1. 26. 18:30