User Tools

Site Tools


nfs:installasi-nfs-centos7

This is an old revision of the document!


Installasi NFS Server di Centos 7

Berikut ini adalah tahapan installasi nfs server untuk file shared remote di centos 7

Pengantar

Kita asumsikan bahwa kita telah menyediakan 2 server yaitu

  1. server-data.jux.in ( 192.168.0.100 )
  2. client.jux.in ( 192.168.0.101 )

Installasi NFS Server

Tahap pertama jalankan

yum install nfs-utils -y

apabila installasi sudah selesai, lanjut membuat folder data

mkdir /var/data_share

chmod -R 755 /var/data_share chown nfsnobody:nfsnobody /var/data_share </code>

selanjutnya jalankan service nfs agar otomatis aktif setiap kali server reboot

systemctl enable rpcbind
systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmap
systemctl start rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmap

Setting Sharing

Selanjutnya membuat konfigurasi sharing data ke server client

nano /etc/exports

isi dengan

/var/data_share    192.168.0.101(rw,sync,no_root_squash,no_all_squash)

kemudian restart nfs server

systemctl restart nfs-server

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
nfs/installasi-nfs-centos7.1644033646.txt.gz · Last modified: 2022/02/04 23:00 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki