Book Image

Linux Mint Essentials

By : Jay LaCroix
Book Image

Linux Mint Essentials

By: Jay LaCroix

Overview of this book

A task-oriented look at Linux Mint, using actual real-world examples to stimulate learning. Each topic is presented in an easy-to-follow order, with hands-on activities to reinforce the content. If you are starting out with Linux from a different platform or are well versed with Linux Mint and want a guide that shows you how to exploit certain functionality, this book is for you. No previous Linux experience is assumed.
Table of Contents (17 chapters)
16
Index

Sharing files with NFS

As mentioned earlier, NFS is another method of sharing files on a Linux machine. NFS is a very worthy choice, especially if all your computers are running on Linux. If you have a mixed environment, Samba would be the preferred choice. To get started, you'll need to install the nfs-kernel-server package. You can do this via the following command:

sudo apt-get install nfs-kernel-server

Once it is installed, you're ready to configure NFS. However, unlike Samba, we'll need to use shell commands in order to get NFS going. The configuration file responsible for NFS shares in Linux is the /etc/exports file, which we'll need to edit by opening it using the following command line:

sudo nano /etc/exports

To share a folder on your system, enter a line similar to the following one at the end of the file:

/home/jdoe/MyShare 192.168.1.0/255.255.255.0(rw,sync,no_subtree_check)

Now, we'll walk through that line so that you'll be able to deduce how to translate...