Redhat / RHEL / CentOS Linux: Start / Stop / Restart NFS Service [ server ]

ht‮ww//:spt‬w.lautturi.com
Redhat / RHEL / CentOS Linux: Start / Stop / Restart NFS Service [ server ]

To start, stop, or restart the Network File System (NFS) service on a Red Hat Enterprise Linux (RHEL) or CentOS system, you can use the "systemctl" command with the appropriate options and the name of the service. The "systemctl" command is a utility that allows you to control the system services and daemons on a RHEL or CentOS system. It can be used to start, stop, restart, and enable or disable services.

To start, stop, or restart the NFS service on a RHEL or CentOS system, follow these steps:

  1. Open a terminal window.

  2. To start the NFS service, use the "systemctl" command with the "start" option and the name of the service. For example:

sudo systemctl start nfs

This will start the NFS service.

  1. To stop the NFS service, use the "systemctl" command with the "stop" option and the name of the service. For example:
sudo systemctl stop nfs

This will stop the NFS service.

  1. To restart the NFS service, use the "systemctl" command with the "restart" option and the name of the service. For example:
sudo systemctl restart nfs

This will stop and start the NFS service.

With these steps, you should be able to start, stop, or restart the NFS service on a RHEL or CentOS system using the "systemctl" command. Consult the documentation of the "systemctl" command and the NFS service for more information on how to control and manage services on a RHEL or CentOS system.

Created Time:2017-10-30 14:27:15  Author:lautturi