nfs:installasi-nfs-centos7
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nfs:installasi-nfs-centos7 [2022/02/04 23:02] – [Setting Sharing] kbadmin | nfs:installasi-nfs-centos7 [2022/02/05 04:10] (current) – [Setting Firewall] kbadmin | ||
---|---|---|---|
Line 61: | Line 61: | ||
</ | </ | ||
+ | kemudian edit csf | ||
+ | < | ||
+ | nano / | ||
+ | </ | ||
+ | tambahkan port seperti berikut | ||
+ | TCP IN/ | ||
+ | < | ||
+ | 111, | ||
+ | </ | ||
+ | |||
+ | UDP IN/ | ||
+ | < | ||
+ | 2049, | ||
+ | </ | ||
+ | |||
+ | ===== Setting NFS Client ===== | ||
+ | Sekarang kita install nfs di sisi client | ||
+ | < | ||
+ | yum install nfs-utils -y | ||
+ | </ | ||
+ | membuat direktori untuk mount | ||
+ | < | ||
+ | mkdir -p / | ||
+ | </ | ||
+ | coba mount nfs | ||
+ | < | ||
+ | mount -t nfs 192.168.0.100:/ | ||
+ | </ | ||
+ | kemudian jalankan rpc bind | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | setelah berhasil, apabila ingin membuat mount permanen maka simpan di fstab | ||
+ | < | ||
+ | nano /etc/fstab | ||
+ | </ | ||
+ | |||
+ | isi dengan | ||
+ | < | ||
+ | 192.168.0.100:/ | ||
+ | </ | ||
+ | |||
+ | coba umount / | ||
+ | < | ||
+ | mount -a | ||
+ | </ | ||
+ | |||
+ | Selesai. | ||
+ | |||
+ | Inilah tadi tutorial installasi nfs client server di sistem operasi centos 7. |
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |nfs/installasi-nfs-centos7.1644033766.txt.gz · Last modified: 2022/02/04 23:02 by kbadmin