LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Setting Up a NFS Share (https://www.linuxquestions.org/questions/ubuntu-63/setting-up-a-nfs-share-618634/)

carlosinfl 02-04-2008 01:54 PM

Setting Up a NFS Share
 
I would like to turn my 7.10 Ubuntu machine into a NFS share and was wondering what packages I will need to install? I did the following and the results were not clear...

Code:

root@xxxxx:/#apt-cache search nfs
nfs-user-server - User space NFS server
nfsboot - Allow clients to boot over the network
nfsbooted - Prepares your image for nfs boot

Any help is greatly appreciated!

BrianK 02-04-2008 02:00 PM

Quote:

Originally Posted by Carlwill (Post 3045870)
I would like to turn my 7.10 Ubuntu machine into a NFS share and was wondering what packages I will need to install? I did the following and the results were not clear...

Code:

root@xxxxx:/#apt-cache search nfs
nfs-user-server - User space NFS server
nfsboot - Allow clients to boot over the network
nfsbooted - Prepares your image for nfs boot

Any help is greatly appreciated!

Looks like you don't have enough repositories setup. What does your /etc/apt/sources.list file look like? Any reason you're using raw apt rather than synaptic or aptitude?

To answer your question, there should be 2 packages that you're looking for:

nfs-kernel-server - Kernel NFS server support
nfs-user-server - User space NFS server

I typically run the former - no need to run both (in fact, it's probably wrong to do so). This will install a few other packages as well.

btw - I don't know if you filtered the results of that apt-chace command for us, but I get 81 packages when I search for "nfs". Granted, I'm on debian, but the results should be pretty similar, assuming we have about the same number of repos.

carlosinfl 02-04-2008 02:02 PM

I don't use a GUI so that is why. I don't know why those don't show up in my search. I will try and keep looking for them or resolve my source repo problem 1st.

carlosinfl 02-04-2008 02:04 PM

OK - it appears I found it fine with this basic command:

Code:

root@xxxxx:/# apt-cache search nfs-kernel-server
nfs-kernel-server - support for NFS kernel server



All times are GMT -5. The time now is 01:44 AM.