<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Debian Tutorials &#187; nfs</title>
	<atom:link href="http://www.debiantutorials.com/tag/nfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian based Linux distros</description>
	<lastBuildDate>Tue, 27 Dec 2011 01:15:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Setting up NFS client/server</title>
		<link>http://www.debiantutorials.com/setting-up-nfs-clientserver/</link>
		<comments>http://www.debiantutorials.com/setting-up-nfs-clientserver/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 08:45:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[nfs]]></category>

		<guid isPermaLink="false">http://debiantutorials.net/setting-up-nfs-clientserver/</guid>
		<description><![CDATA[Network File System (NFS) is a network file system protocol originally developed by Sun Microsystems in 1983, allowing a user on a client computer to access files over a network as easily as if the network devices were attached to its local disks. Server 1. Install the server package apt-get install nfs-kernel-server 2. Grant permission [...]]]></description>
			<content:encoded><![CDATA[<p>Network File System (NFS) is a network file system protocol originally developed by Sun Microsystems in 1983, allowing a user on a client computer to access files over a network as easily as if the network devices were attached to its local disks.</p>
<p><strong>Server</strong></p>
<p>1. Install the server package</p>
<p><code>apt-get install nfs-kernel-server<br />
</code><span id="more-24"></span><br />
2. Grant permission to a client computer</p>
<p>Add the following line to /etc/exports to grant read only permissions to the folder /var/www for the ip address 192.168.1.2:</p>
<p><code>/var/www   192.168.1.2(rw,root_squash)<br />
</code></p>
<p>Available options:</p>
<p>ro = Read only access<br />
rw = Read/Write access<br />
root_squash = Replace logins from root user with nobody to avoid superuser privileges over nfs<br />
Restart the server to enable the changes</p>
<p><code>/etc/init.d/nfs-kernel-server restart<br />
</code></p>
<p><strong>Client</strong></p>
<p>Create the target mount folder</p>
<p><code>mkdir /mnt/www<br />
</code></p>
<p>Mount the file system:</p>
<p><code>mount 192.168.1.1:/var/www /mnt/www<br />
</code></p>
<p>Optionally you can mount the filesystem on system boot by adding entry to the /etc/fstab file:</p>
<p><code>192.168.1.1:/var/www /mnt/www    nfs<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/setting-up-nfs-clientserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
