Operating System - Linux
1819777 Members
3187 Online
109607 Solutions
New Discussion юеВ

Re: Install NFS on Linux Mandrake

 
SOLVED
Go to solution
ovo4me
Occasional Advisor

Install NFS on Linux Mandrake

Hi Everybody,

I am trying to mount a cdrom on a linux mandrake server to a solaris server.

I created the entry in /etc/exports file on the linux server.

/test remote_server_name (ro,all_squash)

But I cannot execute the exportfs command. I think that nfs is not installed on the server. How do I install NFS on the linux server.

Thanks in advance.

10 REPLIES 10
Alexander Chuzhoy
Honored Contributor

Re: Install NFS on Linux Mandrake

Hi. Actually I'm using REDHAT but this should be general:
make sure that there is no space between
remote_server_name and permissions
what error message do you getwhile trying to execute the "exportfs" command

anyway the "nfs" and "portmap" services should be up.
Jerome Henry
Honored Contributor

Re: Install NFS on Linux Mandrake

Hi,

You can install nfs either from your distro CDs or from here :

http://speakeasy.rpmfind.net/linux/rpm2html/search.php?query=nfs&submit=Search+...&system=mandrake&arch=

Notice that you need montd and portmap to be running...
Notice also that you have to mount your cdrom before executing exportfs -a and trying to mount it from Solaris.

hth

J
You can lean only on what resists you...
Claudio Cilloni
Honored Contributor

Re: Install NFS on Linux Mandrake

about RH7.3 (I don't know mandrake):

you can verify if nfs server is running this from root user on the linux server:

# rpcinfo -p localhost

this should show two lines like these:

...
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
...

if it is so, you can restart the nfs service forcing the read of the /etc/exports that you
modified:

# service nfs restart

if you don't see the two lines above, maybe the nfs service is installed but it isn't running:

# service nfs start

to start it.

Alexander's and Jerome's suggestions are right.

Hi
Claudio
ovo4me
Occasional Advisor

Re: Install NFS on Linux Mandrake

Can you tell me how to install NFS from the CDs ?? Commands etc...

Thanks
ovo4me
Occasional Advisor

Re: Install NFS on Linux Mandrake

Hi,

Can you tell me how to install NFS through the CDs......commands etc...

Thanks
Balaji N
Honored Contributor

Re: Install NFS on Linux Mandrake

rpm -qi nfsserverrpmname.rpm.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Balaji N
Honored Contributor

Re: Install NFS on Linux Mandrake

sorry. i think was sleepy when i wrote that.

the command what i had written earlier was to check if it was installed.

it should be

rpm -Uvh .rpm

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Jerome Henry
Honored Contributor

Re: Install NFS on Linux Mandrake

And if you run graphical interface :
from gnome locate gnorpm, try add/install, find nfs packages in CD and add/install,
from KDE locate 'install package', same procedure.

rpm -Uvh filename.rpm is, once you have run 'mount /dev/cdrom /mnt/cdrom' and 'cd //mnt/cdrom/subdirectory where packages are' the best solution, straight and efficient... like Balaji's tips, as usual.

J
You can lean only on what resists you...
Caesar_3
Esteemed Contributor

Re: Install NFS on Linux Mandrake

Hello!

For the install
rpm -pi
For update
rpm -pU

But are you shure that you don't have
the nfs server installed?

Check rpm -qa | grep nfs
check for nfs server package

Caesar
Jean-Pierre Denis
Valued Contributor
Solution

Re: Install NFS on Linux Mandrake

Hi,

Mandrake have a great tool called "urpmi".

There is no need to mount the cd before installing. It will prompt you which cd is required.

From the cmd line run urpmi followed by the package name that you want to install. If the name is not exact it will give you a list that you can choose from.

[root@drake]# urpmi nfs

You can also add mirrors update in urpmi so that update on your system are done automaticly.

Thanks,
JP
Open your Mind and use Open Source software...