Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Wednesday, June 9, 2010

Creating/Adding an NFS Share

A couple days ago I had to create an NFS share at work. I never had to create one before but I found it to be quite painless. Here's how I did it in Sabayon Linux:

1. Start the nfs daemon if it is not already launched:
#/etc/init.d/nfs start

2. Edit the /etc/exports file (create it if needed) to include the share you wish to allow access to using the following syntax:

[full_path_to_share] [client_ip] ([privalages])


Example:

/home/aether/share 192.168.64.100 (rw)


3. Update the exports by running:
#exportfs -rv


Note: you may see some output warnings, but it will most likely still work.

4. You should now be able to mount the nfs share on the client

Wednesday, August 26, 2009

OpenRC Runtime Script: Dual<-->Single Display Switching

This runtime script should work on any system that uses OpenRC (namely gentoo and sabayon). Instead of me reposting an article that I wrote up on Sabayon's Wiki, I will just link to it.
Link