How to configure NFS server in openSuSe 12.1?

Hello,

Just Googled on how to configure NFS server in OpenSuSe. Got handbook for 11.4 but following commands are not working in my OpenSuSe >>


chkconfig --add nfsserver
/etc/init.d/nfsserver start

I have installed nfs server package using following command ~~ >>> yast2 -i nfs-kernel-server
If I use chkconfig nfs command I get out put as ~~ >> nfs off

Any1 can tell steps to configure nfs server on OpenSuSe 12.1 ?

Thanks,
Amey.

On 2012-07-07 18:16, sco1984 wrote:
> Any1 can tell steps to configure nfs server on OpenSuSe 12.1 ?

Use YAST.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Sat, 07 Jul 2012 16:16:02 +0000, sco1984 wrote:

> I have installed nfs server package using following command ~~ >>> yast2
> -i nfs-kernel-server If I use chkconfig nfs command I get out put as
> ~~
>>> nfs off

nfs != nfsserver

As Carlos says, if you use YaST you’ll find it much easier.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I needed to install the YaST module for the nfs server first (yast2-nfs-server). By default there was only the module for the nfs client.

regards,
Hendrik

In my case I still just see “NFS Client” in yast2 under “Network Services”. :frowning:
Any hints how to proceed?

nfs != nfsserver command not working. Shows following error >>> If ‘nfs’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf nfs

Install the package yast2-nfs-server, close and reopen YaST and you should see “NFS-Server” (depending on your localization the name may be a little different).

On 2012-07-09 19:46, sco1984 wrote:

> In my case I still just see “NFS Client” in yast2 under “Network
> Services”. :frowning:
> Any hints how to proceed?

Install the yast server module. Start the software manager module, search
for “yast” and you will see all the available modules, installed or not.
Install those you like.

> nfs != nfsserver command not working.

It is not a command, it is a phrase.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Sorry for late reply, was busy with other project.

Thanks for the tip Carlos.
I was able to install NFS server.

Now I can see ‘NFS Server’ in Yast.
Now,I want to configure it.
In this case all I need to do is just add directories in ‘export’?
And what is wild card?
And how can I mount created nfs mount point on remote linux machine running NFS client?

Regards,
Amey.

You should take some time to explore this small document, it might be insightful: NFS - openSUSE

It has the basic rundown of what to do to get NFS running and how to connect/mount the NFS.

On 2012-07-26 19:46, sco1984 wrote:
>
> Sorry for late reply, was busy with other project.
>
> Thanks for the tip Carlos.
> I was able to install NFS server.
>
> Now I can see ‘NFS Server’ in Yast.
> Now,I want to configure it.
> In this case all I need to do is just add directories in ‘export’?

basically, yes.

> And what is wild card?

I’m not sure what you refer to.

> And how can I mount created nfs mount point on remote linux machine
> running NFS client?

Using the yast nfs client module, for example :slight_smile:

Have a look at the documentation:

Chapter 14. Sharing File Systems with NFS

A note: first step is to open the firewall, if not subsequent steps may fail (browsing for
servers).


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)