Setting Up NFS Service on Slackware

OS: Slackware 13.0

Installation: Full

 

# cp /etc/exports /etc/exports.default -pd

# vim /etc/exports

 

Add the following line:

/home/nfs      192.168.0.0/24(ro,sync,insecure,all_squash,subtree_check)

 

# mkdir /home/nfs/

# chmod a+x /etc/rc.d/rc.nfsd

# /etc/rc.d/rc.nfsd restart

 

For test, use the following command:

# mount -o nolock localhost:/home/nfs/ /your/nfs/mounted/dir/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s