<?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>A Waage Blog &#187; CentOS</title>
	<atom:link href="http://qugstart.com/blog/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://qugstart.com/blog</link>
	<description>Ruby, Rails, Life</description>
	<lastBuildDate>Thu, 10 Nov 2011 00:35:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS NFS How-to Guide: Exporting and Mounting a NFS Drive</title>
		<link>http://qugstart.com/blog/linux/centos-nfs-how-to-guide-exporting-and-mounting-a-nfs-drive/</link>
		<comments>http://qugstart.com/blog/linux/centos-nfs-how-to-guide-exporting-and-mounting-a-nfs-drive/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 02:22:16 +0000</pubDate>
		<dc:creator>Andrew Waage</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[portmap]]></category>

		<guid isPermaLink="false">http://qugstart.com/blog/?p=62</guid>
		<description><![CDATA[This guide shows you how to start an NFS service on one (host) machine, export the NFS drive, and then connect to that NFS drive from a client machine.
## On the NFS host machine:
#Start Portmap service if needed.
#NFS uses portmap and a bunch of ports (that you can set in /etc/sysconfig/nfs) if you want.
See this [...]]]></description>
			<content:encoded><![CDATA[<p>This guide shows you how to start an NFS service on one (host) machine, export the NFS drive, and then connect to that NFS drive from a client machine.</p>
<p>## On the NFS host machine:</p>
<p>#Start Portmap service if needed.<br />
#NFS uses portmap and a bunch of ports (that you can set in /etc/sysconfig/nfs) if you want.<br />
See this <a href="http://pario.no/2008/01/15/allow-nfs-through-iptables-on-a-redhat-system/">link for more details on NFS ports</a>.</p>
<p>#Start portmap service</p>
<pre lang='bash' class='prettyprint'>
service portmap status
service portmap start (if needed)
</pre>
<p>#Start NFS</p>
<pre lang='bash' class='prettyprint'>
service nfs start
</pre>
<p>#Edit /etc/exports<br />
#Reference: https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-nfs-server-export.html</p>
<p>Format is (select the options you want):<br />
 [Directory to export] [Hosts to allow](options)</p>
<pre lang='bash' class='prettyprint'>
/home/just_testing 192.168.0.0/24(rw,async,wdelay,root_squash)
</pre>
<p>#Run exportfs to refresh NFS exports</p>
<pre lang='bash' class='prettyprint'>
exportfs -av
</pre>
<p>Be sure the proper ports are open on iptables<br />
Reference: http://pario.no/2008/01/15/allow-nfs-through-iptables-on-a-redhat-system/</p>
<p>## Now on your NFS client machine:<br />
Start portmap</p>
<pre lang='bash' class='prettyprint'>
service portmap start
</pre>
<p>Create a mount point and mount the NFS drive. Remember to use your own server&#8217;s IP address:</p>
<pre lang='bash' class='prettyprint'>
mkdir /mnt/nfs-usbdisk
mount 192.168.0.2:/home/just_testing /mnt/nfs-usbdisk
</pre>
<p>Voila ! Tail your logs if you have any problems !</p>
]]></content:encoded>
			<wfw:commentRss>http://qugstart.com/blog/linux/centos-nfs-how-to-guide-exporting-and-mounting-a-nfs-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to mount an Amazon S3 bucket as virtual drive on CentOS 5.2</title>
		<link>http://qugstart.com/blog/linux/how-to-mount-an-amazon-s3-bucket-as-virtual-drive-on-centos-5-2/</link>
		<comments>http://qugstart.com/blog/linux/how-to-mount-an-amazon-s3-bucket-as-virtual-drive-on-centos-5-2/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 01:38:41 +0000</pubDate>
		<dc:creator>Andrew Waage</dc:creator>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[bucket]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://qugstart.com/blog/?p=53</guid>
		<description><![CDATA[#Note: If you are using CentOS 4, it&#8217;s the same general process. You might have more difficulty finding the packages to install fuse and dependencies.
This is a simple guide on how to mount your S3 bucket as a &#8220;virtual drive&#8221;. This is great for backing up your data to S3, or downloading a bunch of [...]]]></description>
			<content:encoded><![CDATA[<p>#Note: If you are using CentOS 4, it&#8217;s the same general process. You might have more difficulty finding the packages to install fuse and dependencies.</p>
<p>This is a simple guide on how to mount your S3 bucket as a &#8220;virtual drive&#8221;. This is great for backing up your data to S3, or downloading a bunch of files from S3.</p>
<p>#First, make sure you have the fuse package installed.</p>
<p>#On CentOS, fuse is available from RPMforge </p>
<pre lang='bash' class='prettyprint'>
#http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
</pre>
<p>#Now install fuse</p>
<pre lang='bash' class='prettyprint'>
yum install fuse
modprobe fuse
</pre>
<p>#Download s3fs and make</p>
<pre lang='bash' class='prettyprint'>
cd /usr/local/src
wget http://s3fs.googlecode.com/files/s3fs-r191-source.tar.gz
cd s3fs
make
</pre>
<p>#Copy the binary to /usr/local/bin (or wherever you prefer)</p>
<pre lang='bash' class='prettyprint'>
cp s3fs /usr/local/bin
</pre>
<p>#Make a mount point </p>
<pre lang='bash' class='prettyprint'>
mkdir /mnt/s3drive
</pre>
<p>#Mount your bucket like this:</p>
<pre lang='bash' class='prettyprint'>
s3fs bucketname -o accessKeyId=XXXXXXXXXXXXXXXXXXXX -o secretAccessKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX /mnt/s3drive
</pre>
<p>That&#8217;s it ! You can change directory to your virtual drive or start copying files !<br />
Go ahead and use a visual client such as CyberDuck or S3Hub to verify with your own eyes that this actually worked. <img src='http://qugstart.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://qugstart.com/blog/linux/how-to-mount-an-amazon-s3-bucket-as-virtual-drive-on-centos-5-2/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

