Step 4: Testing the NFS Share on Client System To achieve this run the command: $ sudo mount 192.168.43.234:/mnt/nfs_share /mnt/nfs_clientshare Let’s check the NFS Server’s IP address using the ifconfig command. This will enable the client system to access the shared directory. The last step remaining is mounting the NFS share that is shared by the NFS server. To do this, run the command: $ sudo mkdir -p /mnt/nfs_clientshare Next, you need to create a mount point on which you will mount the nfs share from the NFS server.
#NFS WORLD SERVER INSTALL#
Install NFS on Client System Step 2: Create an NFS Mount Point on Client Next, install nfs-common packages as shown. Step 1: Install the NFS-Common PackageĪs is the norm, begin by updating the system packages and repositories before anything else. We’re done installing and configuring the NFS service on the Server, let’s now install NFS on the client system. Open NFS Port on Firewall Install the NFS Client on the Client Systems Port 2049, which is the default file share, should be opened. Reload or enable the firewall (if it was turned off) and check the status of the firewall. To achieve this run the command: $ sudo ufw allow from 192.168.43.0/24 to any port nfs $ sudo systemctl restart nfs-kernel-serverĮxport NFS Share Directory Step 5: Allow NFS Access through the Firewallįor the client to access the NFS share, you need to allow access through the firewall otherwise, accessing and mounting the shared directory will be impossible. mnt/nfs_share client_IP_2 (re,sync,no_subtree_check)Īfter granting access to the preferred client systems, export the NFS share directory and restart the NFS kernel server for the changes to come into effect. To grant access to a single client, use the syntax: /mnt/nfs_share client_IP_1 (re,sync,no_subtree_check)įor multiple clients, specify each client on a separate file: /mnt/nfs_share client_IP_1 (re,sync,no_subtree_check) No_subtree_check: Eliminates subtree checking.sync: Requires changes to be written to the disk before they are applied.mnt/nfs_share 192.168.43.0/24(rw,sync,no_subtree_check)Įxplanation about the options used in the above command. In this guide, we have allowed an entire subnet to have access to the NFS share. You can provide access to a single client, multiple clients, or specify an entire subnet. So open the file using your favorite text editor: $ sudo vim /etc/exports Permissions for accessing the NFS server are defined in the /etc/exports file.
![nfs world server nfs world server](https://apunkatorrents.net/wp-content/uploads/2018/12/Need-for-Speed-World-cover.jpg)
$ sudo chmod 777 /mnt/nfs_share/Ĭreate NFS Share in Ubuntu Step 3: Grant NFS Share Access to Client Systems Here’s we have given the read, write and execute privileges to all the contents inside the directory.
![nfs world server nfs world server](https://ipcgames.com/wp-content/uploads/2019/06/Need-For-Speed-World-2010-Offline-Server-Free-Download-3.jpg)
You can also tweak the file permissions to your preference. $ sudo chown -R nobody:nogroup /mnt/nfs_share/ Since we want all the client machines to access the shared directory, remove any restrictions in the directory permissions. Run the command below by specifying the NFS mount directory name.
![nfs world server nfs world server](https://hdpcgames.com/wp-content/uploads/thumbs_dir/Need-for-Speed-World-highly-compressed-free-download-1xtp6efpu8qfh0a2hscma23syakouxhsy2zuiv02gtk4.jpg)
This is also referred to as the export directory and it’s in this directory that we shall later create files that will be accessible by client systems. The second step will be creating a directory that will be shared among client systems. Install NFS Server on Ubuntu Step 2: Create an NFS Export Directory This will store additional packages such as nfs-common and rpcbind which are equally crucial to the setup of the file share.
#NFS WORLD SERVER UPDATE#
Once the update is complete, proceed and install the nfs-kernel-server package as shown below.