Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
redhat:storage-server-redhat:nfs-redhat [2017/09/08 13:52] – michael | redhat:storage-server-redhat:nfs-redhat [2020/01/31 22:15] (current) – michael | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== NFS Server - Redhat | + | ====== NFS Server - Red Hat 7 / 8 ====== |
A Network File System (NFS) allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network. | A Network File System (NFS) allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network. | ||
Line 10: | Line 10: | ||
# yum -y install nfs-utils | # yum -y install nfs-utils | ||
</ | </ | ||
- | - **Festlegen** des korrekten Domain-namens: | + | - '' |
# vim / | # vim / | ||
</ | </ | ||
Line 21: | Line 21: | ||
- '' | - '' | ||
# vim / | # vim / | ||
- | </ | + | </ |
- | - Setzen der korrekten Firewall Rules: < | + | - '' |
# firewall-cmd --add-service=rpcbind --permanent | # firewall-cmd --add-service=rpcbind --permanent | ||
# firewall-cmd --add-service=mountd --permanent | # firewall-cmd --add-service=mountd --permanent | ||
# firewall-cmd --reload </ | # firewall-cmd --reload </ | ||
- | - Zum Schluss wird der Services gestartet und enabled: < | + | - '' |
- | # systemctl | + | # systemctl |
- | # systemctl enable rpcbind nfs-server | + | |
</ | </ | ||
</ | </ | ||
Line 36: | Line 35: | ||
---- | ---- | ||
+ | <WRAP center box 100%> | ||
===== Client Konfiguration ===== | ===== Client Konfiguration ===== | ||
- | < | + | - '' |
# yum -y install nfs-utils | # yum -y install nfs-utils | ||
- | |||
- | # systemctl start rpcbind | ||
- | # systemctl enable rpcbind | ||
</ | </ | ||
- | + | - '' | |
- | Mounten des Shares: | + | # systemctl enable rpcbind --now</ |
- | < | + | - ''< |
# mount -t nfs -o rw,hard 192.168.1.21:/ | # mount -t nfs -o rw,hard 192.168.1.21:/ | ||
</ | </ | ||
+ | |||
+ | <WRAP center round important 100%> | ||
+ | '' | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | |||
+ | </ | ||
+ |