Ubuntu nfs gui tool problem

Asked By 10 points N/A Posted on -
qa-featured

 I installed nfs gui tools in Ubuntu.

I thought the graphical configuration would be pretty easy but then it is getting really confusing.

I need the configuration please this is urgent.

SHARE
Answered By 0 points N/A #135766

Ubuntu nfs gui tool problem

qa-featured

Hi Samantha.preety, this is not a hard task considering the software's can easily be found in the I.T system websites.

What you need to do is to go to the control panel and install the following packages;

#apt-get-install nfs kernel-server The real directories will be mounted with a –bind option.

#mkdir -p/export/users  This is created in the home directories.

The export users will need to be accessed without the authentication files such as LDAP/NIS. The real users directory will then be mounted with the following;

#mount–bind /home/users/export /users

/home /users  /export/users  none  bind 0   0

line to/etc/ fstab  To save from retyping after every reboot

Input configuration files that relate to an NFS server;

In etc/default/nfs kernel server;

NEED_SVCGSSD no #

In/etc/default/nfs_common;

NEED_IDMAPD=yes

NEED_GSSD=no # default

In order for id names to be automatically mapped, the file should have some lines in the mapping section;

[Mapping]

Nobody_User=nobody

Nobody-Group=nogroup

Install the NFS server;

sudo apt-get install rpcbind nfs-kernel-server

Shares

Edit/etc/exports

/home/myclients/rw,sync,no_subtree_check

Apply these to all clients;

/home/192.168.0.10/255.255.255.0

/usr/local/192.168.0.0/255.255.255.0(rw,sync,no_subtree_check)

after setting up exports;

sudo exportfs  -ra

Restart services

sudo/etc/init .d/portmap.restart

sudo/etc/init.d/nfs_kernel_sever_restart

Once you restart the server after these files, it should work well.

Thanks

Related Questions