• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to Set up NFS Share on LinuxMint 18.3

2398

To Set up NFS Share on LinuxMint 18.3

NFS stands for Network File System, and it allows directories and file systems to be shared across a local network. NFS can also be set up over the Internet but it’ s not secure. In this tutorial, you will learn about how to configure NFS share on Linux Mint 18.3 using Linux Mint as server and Ubuntu 16.04 as client.

Install and Configure NFS Share

First, begin the process by making use of the following command to install NFS packages on NFS server using.

linuxhelp ~ # apt-get install -y nfs-kernel-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnfsidmap2 libtirpc1 nfs-common rpcbind
Suggested packages:
  open-iscsi watchdog
The following NEW packages will be installed:
  libnfsidmap2 libtirpc1 nfs-common nfs-kernel-server rpcbind
0 upgraded, 5 newly installed, 0 to remove and 214 not upgraded.
Need to get 420 kB of archives.
.
.
Creating config file /etc/default/nfs-kernel-server with new version
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...

Once it is done, you need to create NFS share. So, create a directory that you want to share with client machines. Here a directory named nfsshare in / partition is created and is shared it over NFS.

linuxhelp ~ # mkdir /nfsshare

Allow client machines to read and write to the created directory.

linuxhelp ~ # chmod 777 /nfsshare/

Make an entry of the directory /nfsshare to export as NFS share.

linuxhelp ~ # vim /etc/exports
/nfsshare 192.168.7.233(rw,sync,no_root_squash,no_subtree_check)
~                                                                                                             
~                                                                                                             
~                                                                                                             
~                                                                                                             
~                                                                                                             
" /etc/exports"  12L, 454C                                                                    1,1           All

Use the following command to export the shared directories.

linuxhelp ~ # exportfs &ndash ra

Verify the exported share using following command.

linuxhelp ~ # showmount -e
Export list for linuxhelp:
/nfsshare 192.168.7.233
CONFIGURE NFS CLIENT 

Now, install the NFS common package on the client machine to mount a remote filesystem.

root@linuxhelp:~# apt-get -y install nfs-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  keyutils libnfsidmap2 libtirpc1 rpcbind
Suggested packages:
  open-iscsi watchdog
The following NEW packages will be installed:
  keyutils libnfsidmap2 libtirpc1 nfs-common rpcbind
0 upgraded, 5 newly installed, 0 to remove and 339 not upgraded.
Need to get 379 kB of archives.
.
.
Creating config file /etc/default/nfs-common with new version
Adding system user `statd'  (UID 122) ...
Adding new user `statd'  (UID 122) with group `nogroup'  ...
Not creating home directory `/var/lib/nfs' .
nfs-utils.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.1) ...
Processing triggers for ureadahead (0.100.0-19) ...

Before mounting the NFS share, runs the show mount command on the client machine to see whether the NFS share from the server is visible or not.

root@linuxhelp:~# showmount -e 192.168.7.234
Export list for 192.168.7.234:
/nfsshare 192.168.7.233

Create a directory /share on the client machine to mount the shared directory.

root@linuxhelp:~# mkdir /mnt/share

Then edit /etc/fstab file.

root@linuxhelp:~# nano /etc/fstab
192.168.7.234:/nfsshare /mnt/share      nfs rw,soft,intr,noatime,x-gvfs-show
Save and exit

Then create the mount point.

root@linuxhelp:~# mount &ndash a

Now you can access the server’ s home directory in your file manager.
SERVER


With this, the tutorial on How to Set up NFS Share on Linux Mint 18.3

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

how do I configure NFS Share on OpenSUSE?

A

To configure NFS Share on OpenSUSE follow this link, https://www.linuxhelp.com/how-to-install-and-configure-nfs-on-opensuse-13-1/

Q

how to configure NFS for Vmware ESXI?

A

To configure NFS for Vmware ESXI you can refer the following link, https://www.linuxhelp.com/how-to-add-nfs-datastore-in-vmware-vcenter-6-0/

Q

What is NFS Share?

A

NFS stands for Network File System, and it allows directories and file systems to be shared across a local network. NFS can also be set up over the Internet but it&rsquo s not secure.

Q

What is the command to install nfs kernel server?

A

The command to install nfs kernel server is

#apt-get install -y nfs-kernel-server

Q

How to erify the exported share of NFS share?

A

To Verify the exported share use the following command

#showmount -e

Related Tutorials in How to Set up NFS Share on LinuxMint 18.3

Related Tutorials in How to Set up NFS Share on LinuxMint 18.3

How to install WinRAR 5.11 on Linuxmint 18.03
How to install WinRAR 5.11 on Linuxmint 18.03
May 22, 2018
How to Setup VNC Server on Linux Mint 20
How to Setup VNC Server on Linux Mint 20
Dec 22, 2020
How to add NFS Storage on Proxmox VE
How to add NFS Storage on Proxmox VE
Feb 17, 2018
How to install and configure samba setup in Linux mint - 18.3
How to install and configure samba setup in Linux mint - 18.3
Mar 26, 2018
Installation SSL Certificate on Ubuntu/Linuxmint/Debian to Secure Apache
Installation SSL Certificate on Ubuntu/Linuxmint/Debian to Secure Apache
Sep 19, 2018
How to Install and Configure Samba on Linux Mint 20
How to Install and Configure Samba on Linux Mint 20
Nov 9, 2020
How to Install NextCloud on Linux Mint 18.3
How to Install NextCloud on Linux Mint 18.3
Feb 27, 2018
How To Install And Update OpenSSL On Linuxmint 18.3
How To Install And Update OpenSSL On Linuxmint 18.3
Jun 8, 2018

Related Forums in How to Set up NFS Share on LinuxMint 18.3

Related Forums in How to Set up NFS Share on LinuxMint 18.3

NFS
luke class=
clnt_create: RPC: Program not registered
Apr 25, 2017
NFS
binoweasley class=
Showmount command failure
Jan 2, 2018
Linux
isaac class=
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-8.0/mysql-client-core-8.0_8.0.21-0ubuntu0.20.04.4_amd64.deb 404 Not Found
Dec 4, 2020
Linux Mint
AlxH class=
Complete beginner, install bluegriffon
Jul 1, 2020
Linux
AadrikaAnshu class=
How to add timestamps to history On Any Linux Machine
Jun 18, 2019
NFS
dylan class=
showmount : RPC Program not registered
Jun 2, 2018
Linux Mint
bz0 class=
How to change a function of a key
Jun 7, 2019
NFS
caleb class=
Permission denied in nfs client share
Apr 25, 2017

Related News in How to Set up NFS Share on LinuxMint 18.3

Related News in How to Set up NFS Share on LinuxMint 18.3

A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Linux Mint 18.2 Ubuntu based Operating System is named Sonya
Linux Mint 18.2 Ubuntu based Operating System is named Sonya
May 2, 2017
Refreshed Linux Mint Debian Edition (LMDE) 2 'Betsy' ISO images now available
Refreshed Linux Mint Debian Edition (LMDE) 2 'Betsy' ISO images now available
Mar 14, 2017
The Best Linux Operating System is in the house: Mint 18.2
The Best Linux Operating System is in the house: Mint 18.2
Aug 12, 2017
Linux Mint 18.1 released with smooth features and offers long-term support
Linux Mint 18.1 released with smooth features and offers long-term support
Apr 11, 2017
Linux Mint 18.2 Sonya Beta version now available for download
Linux Mint 18.2 Sonya Beta version now available for download
Jun 7, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.