Setting Up NFS in Debian Linux
Have you ever heard of Debian operating system or did you know that our famous Linux operating system Ubuntu entails based on Debian OS I guess not in this article, we will tell you what is
Debian operating system and what makes it stands different from other Linux based operating system.
And also how to Setting Up NFS in Debian Linux if you haven’t noticed yet there are only three distributions mentioned in Linux.
While thousands of Linux distributions are available instead of going through all of them.
we’re going to look at the top players on Linux those are Debian itself and Ubuntu and Linux mate Debian was one of the first free software projects to begin in 1993 by Ian Murdock.
The great things about Debian are that it’s got most of what you need to be productive out of the box so to speak and it’s really fast it’s also very stable and manageable and
Backed by a well-organized development process and community Debian is so polishing and stabled.
That it’s one of the best Linux distros available Debian supports thousands of free
downloadable applications, although some widely used applications such as Microsoft Word and Excel do not include Debian.
Is a popular and freely available computer operating system that uses the Linux kernel
And other program components were obtained from the GNU project rather than corporate-run Linux distributions like flint CIL’s.
NFS is an extremely flexible and useful way to share drives over the network in Unix-like systems.
The good news is that it can also be really easy to set up. Of course, the problem with Unix-like systems is that the setup will vary from system to system.
What follows is a quick overview of how the setup should be performes on Debian Linux.
The first stage is to install the correct packages. In Debian, everything is available in the standard repositories.
There are two implementations of NFS: NFS-user-server or NFS-kernel-server.
The kernel version has a speed advantage over the user version, at a slight expense of reliability in that.
If something does go wrong, it can crash the entire system.
However, in reality, unless you configure it incorrectly, this is unlikely to happen.
In addition to the actual NFS implementation, you’ll need to install the portmap package. So to install both using:
Sudo apt-get install NFS-kernel-server portmap
The first thing to ensure is that the user id of the user on the client is the same as the userid on the server – you’ll have to explicitly set this.
After this, simply edit the /etc/exports file, choosing an allowed IP address and subnet and the directory you wish to export. For example:
/home 192.168.0.107/255.255.255.0 (rw, sync)
Where /home is the directory you wish to export, 192.168.0.107 is the IP address of the client and 255.255.255.0 is the associated subnet.
After editing /etc/exports, always ensure you run the following command:
Sudo exportfs -a
And that’s the whole process; it’s as simple as that.
If you want to buy cheap unmetered VPS, Storage VPS servers, $1 VPS Server, VPS Cloud Hosting then http://www.cloudsurph.com going to be the best website for you