Following packages are used to provide NFS client and server services under Debian / Ubuntu Linux:
- nfs-kernel-server – NFS server package.
- nfs-common – NFS support files common to client and server
- portmap – RPC port mapper.
Stop NFS Services
Open a command-line terminal (select Applications > Accessories > Terminal), and then type the following command top stop NFS client and server services as follows:
$ sudo service portmap stop
$ sudo service nfs-kernel-server stop
$ sudo /etc/init.d/portmap stop
$ sudo /etc/init.d/nfs-kernel-server stop
Delete nfs-kernel-server, nfs-common, and portmap packages using the apt-get command as follows:
$ sudo apt-get --purge remove nfs-kernel-server nfs-common portmap
- CentOS / RHEL / Fedora / Redhat Linux Disable / Remove All NFS Services