Changes

Jump to: navigation, search
no edit summary
Ubuntu Linuix Linux uses Network File System (NFS) to allow the file system on one Linux computer to be accessed on over a network connection by another Linux or UNIX system. NFS was originally developed by Sun Microsystems in 1980's and remains the standard mechanism for sharing of remote Linux/UNIX file systems to this day.
NFS is very different to the Windows SMB resource sharing technology. Accessing Linux based resources from a Windows system is covered in the [[Sharing Ubuntu Linux Folders with Remote Windows Systems]] chapter of this book. In this chapter we will be looking at network based sharing of folders between Linux based systems.
== Installing the NFS Services on Ubuntu Linux ==
The services required to enable file systema nd system and folder sharing are not installed by default on the desktop edition of Ubuntu Linux. They can easily be installed, however, and are installed when an attempt is first made to share folders.
To initiate the sharing process select the ''System'' desktop menu and click on the ''Shared Folders'' option of the ''Administration'' sub-menu. If the file sharing services have not previously been installed the following dialog will appear:
[[Image:ubuntu_shared_folders_allowed.jpg]]
Specify the allowed host either by entering the IP address or hostname. Alternatively, enter information to allow access from all systems on the network. Repeat tghe the process to add additional hosts.
Once the settings are configured it may be necessary to restart the NFS services. To do this open a terminal window and enter the following command:
</pre>
Once the server restarts the shared folder may no wbe now be accessed from other Linux systems.
== Accessing Ubuntu Linux Shared Folders ==
== Unmounting an NFS Mount Point ==
Once a remote file system is mounted using NFS it can be unmounted using the ''unmount'' command with the local mount point as the command-line argument. For example, to unmount our example filesystem mount point requires the use of the following command:
<pre>
sudo umount /nfsmount
</pre>

Navigation menu