linux_wiki:network_services_overview_nfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux_wiki:network_services_overview_nfs [2016/10/01 22:54]
billdozor [Network Services Overview NFS]
linux_wiki:network_services_overview_nfs [2016/10/01 23:10]
billdozor [Configure the service for basic operation]
Line 42: Line 42:
 Check Current Service Status Check Current Service Status
 <code bash> <code bash>
-systemctl status <service-name>+systemctl status nfs-server
 </code> </code>
   * Also displays if the service is enabled or disabled   * Also displays if the service is enabled or disabled
Line 49: Line 49:
 Enabling a service to start on boot Enabling a service to start on boot
 <code bash> <code bash>
-systemctl enable <service-name>+systemctl enable nfs-server
 </code> </code>
  
Line 58: Line 58:
 Enable and Start the service Enable and Start the service
 <code bash> <code bash>
-systemctl enable <service-name> +systemctl enable nfs-server 
-systemctl start <service-name>+systemctl start nfs-server
 </code> </code>
  
Line 70: Line 70:
 Allow access through the firewall Allow access through the firewall
 <code bash> <code bash>
-firewall-cmd --permanent --add-service=<service-name>+firewall-cmd --permanent --add-service=nfs
 firewall-cmd --reload firewall-cmd --reload
 </code> </code>
Line 76: Line 76:
 ===== Host Based ===== ===== Host Based =====
  
 +Configure host based access in /etc/exports
 +<code bash>
 +/data-share  *.example.com(ro)
  
 +/data-share2  192.168.1.0/24(rw)
 +</code>
 +  * Hostname based and network based
 +  * Others refused
 ===== User Based ===== ===== User Based =====
 +
 +Default NFS security (sec=sys) is via IP addresses or hostname.
 +
 +[[linux_wiki:use_kerberos_to_control_access_to_nfs_network_shares|Kerberos can be used to provide user authentication to NFS services]].
  
 ---- ----
  
  • linux_wiki/network_services_overview_nfs.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)