<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Quinox's wiki</title>
	<atom:link href="http://quinox.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://quinox.wordpress.com</link>
	<description>The opensource linux wiki</description>
	<lastBuildDate>Mon, 20 Jul 2009 07:11:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='quinox.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Quinox's wiki</title>
		<link>http://quinox.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://quinox.wordpress.com/osd.xml" title="Quinox&#039;s wiki" />
	<atom:link rel='hub' href='http://quinox.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Check memory</title>
		<link>http://quinox.wordpress.com/2009/07/20/check-memory/</link>
		<comments>http://quinox.wordpress.com/2009/07/20/check-memory/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 07:11:09 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[HARDWARE TROUBLESHOOTING]]></category>
		<category><![CDATA[Memory]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=276</guid>
		<description><![CDATA[Here is a very simple command which can be used to determine which type of memory is installed on the system and if it contains errors. dmidecode (&#8211;type 17) eg: # dmidecode 2.9 SMBIOS 2.31 present. Handle 0x000E, DMI type 17, 27 bytes Memory Device Array Handle: 0x000C Error Information Handle: No Error Total Width: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=276&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a very simple command which can be used to determine which type of memory is installed on the system and if it contains errors.</p>
<p>dmidecode (&#8211;type 17)</p>
<p>eg:</p>
<p># dmidecode 2.9<br />
SMBIOS 2.31 present.</p>
<p>Handle 0x000E, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000C<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 1<br />
Locator: P0-DIMM0<br />
Bank Locator: P0<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<p>Handle 0x000F, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000C<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 1<br />
Locator: P0-DIMM1<br />
Bank Locator: P0<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<p>Handle 0&#215;0010, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000C<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 2<br />
Locator: P0-DIMM2<br />
Bank Locator: P0<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<p>Handle 0&#215;0011, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000C<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 2<br />
Locator: P0-DIMM3<br />
Bank Locator: P0<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<p>Handle 0&#215;0012, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000D<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 3<br />
Locator: P1-DIMM0<br />
Bank Locator: P1<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<p>Handle 0&#215;0013, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000D<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 3<br />
Locator: P1-DIMM1<br />
Bank Locator: P1<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<p>Handle 0&#215;0014, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000D<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 4<br />
Locator: P1-DIMM2<br />
Bank Locator: P1<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<p>Handle 0&#215;0015, DMI type 17, 27 bytes<br />
Memory Device<br />
Array Handle: 0x000D<br />
Error Information Handle: No Error<br />
Total Width: 144 bits<br />
Data Width: 128 bits<br />
Size: 1024 MB<br />
Form Factor: DIMM<br />
Set: 4<br />
Locator: P1-DIMM3<br />
Bank Locator: P1<br />
Type: DRAM<br />
Type Detail: Synchronous<br />
Speed: Unknown<br />
Manufacturer: Not Specified<br />
Serial Number: Not Specified<br />
Asset Tag: Not Specified<br />
Part Number: Not Specified</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/276/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=276&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2009/07/20/check-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Deleting snapshots</title>
		<link>http://quinox.wordpress.com/2009/07/14/deleting-snapshots/</link>
		<comments>http://quinox.wordpress.com/2009/07/14/deleting-snapshots/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 12:08:47 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[Snapshots]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=273</guid>
		<description><![CDATA[1. We want to know how big the snapshots are. ssh filer &#8220;priv set diag;snap status &#60;volume&#62;&#8221; 2. Delete snapshots ssh filer snap delete &#60;volume&#62; &#60;latest snapshot&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=273&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. We want to know how big the snapshots are.<br />
ssh filer &#8220;priv set diag;snap status &lt;volume&gt;&#8221;</p>
<p>2. Delete snapshots<br />
ssh filer snap delete &lt;volume&gt; &lt;latest snapshot&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=273&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2009/07/14/deleting-snapshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Aggregates</title>
		<link>http://quinox.wordpress.com/2009/07/14/aggregates/</link>
		<comments>http://quinox.wordpress.com/2009/07/14/aggregates/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 12:04:52 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[Aggregates]]></category>
		<category><![CDATA[SECURE SHELL PACKAGE]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=270</guid>
		<description><![CDATA[To add disks to an aggregates, we need to know a few things? 1. How many space I am allowed to add to an aggregate? The aggregates can have a maximum capacity of 12TB 2. How many free space you want to add? eg 1 disk (650GB) 3. What is the size of 1 disk? [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=270&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To add disks to an aggregates, we need to know a few things?</p>
<p>1. How many space I am allowed to add to an aggregate?<br />
The aggregates can have a maximum capacity of 12TB</p>
<p>2. How many free space you want to add?<br />
eg 1 disk (650GB)</p>
<p>3. What is the size of 1 disk?<br />
eg 621GB</p>
<p>4. How many spare disk do we have?<br />
10 spare disk all of the same size (650GB -&gt; 621GB)</p>
<p>5. What is the raid size?<br />
14 disks (aggr options aggr04)</p>
<p>6. How many disks can be added to the last raidgroup?<br />
Because the last raidgroup consists of 9 disks, we can add a maximum of disks to the aggregate, because the raid size is 14<br />
disks.</p>
<p>Now we have collected all information we need to to add a new disk(s) to the aggregate aggr04 savely.</p>
<p>ssh &lt;filer&gt; aggr add aggr04 -g rg2 1</p>
<p>This command will add one of the sparedisks to aggr04 in raidgroup rg2.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=270&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2009/07/14/aggregates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Taskset</title>
		<link>http://quinox.wordpress.com/2009/05/13/taskset/</link>
		<comments>http://quinox.wordpress.com/2009/05/13/taskset/#comments</comments>
		<pubDate>Wed, 13 May 2009 14:20:14 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[SPECIAL COMMANDS]]></category>
		<category><![CDATA[Taskset]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=266</guid>
		<description><![CDATA[taskset -cp &#60;cpu&#62; &#60;pid&#62; bv taskset -cp 0 &#60;123&#62; This will set pid 123 to cpu0<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=266&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>taskset -cp &lt;cpu&gt; &lt;pid&gt;</p>
<p>bv taskset -cp 0 &lt;123&gt;</p>
<p>This will set pid 123 to cpu0</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/266/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=266&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2009/05/13/taskset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>RCS Howto</title>
		<link>http://quinox.wordpress.com/2009/02/04/rcs-howto/</link>
		<comments>http://quinox.wordpress.com/2009/02/04/rcs-howto/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 08:45:48 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[RCS howto]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=261</guid>
		<description><![CDATA[Introduction RCS is a Revision Control System. It manages changes in text documents, automating the storage, retrieval, logging, and logging of file revisions. It’s a great tool for any sort of file that passes for source code: HTML files, published documents, programming code, etc. The RCS system consists of several binary applications: ci, co, ident, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=261&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 class="title">Introduction</h2>
<p><a class="ulink" href="http://www.cs.purdue.edu/homes/trinkle/RCS/">RCS</a> is a Revision Control System. It manages changes in text documents, automating the storage, retrieval, logging, and logging of file revisions. It’s a great tool for any sort of file that passes for source code: HTML files, published documents, programming code, etc.</p>
<p>The RCS system consists of several binary applications: <span class="command"><strong>ci</strong></span>, <span class="command"><strong>co</strong></span>, <span class="command"><strong>ident</strong></span>, <span class="command"><strong>rcs</strong></span>, <span class="command"><strong>rcsdiff</strong></span>, <span class="command"><strong>rcsmerge</strong></span>, and <span class="command"><strong>rlog</strong></span>. The Fedora Core, Red Hat,       Gentoo, and Debian distributions all include RCS in a package called (oddly enough) “<span class="quote">rcs.</span>”</p>
<p>The typical recipe for using RCS is quite short.</p>
<pre class="programlisting"># get to where you're going
cd /path/to/workingdirectory

# check out and lock your file
co -l workfile

# use editor of choice to work on file
$EDITOR workfile

# see what's changed in your latest version
rcsdiff workfile

# check in the new version of your file
ci -u workfile</pre>
<p>The rest of this article will explain and expand upon that simple procedure.</p>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="example" name="example"></a>An example session</h2>
</div>
</div>
</div>
<p>I think the best way to show you how to use RCS is to run through a relatively complete example session. This example       won’t by any means use all of RCS’s capabilities, but it’ll provide a decent base of knowledge and practice.</p>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="example-directory" name="example-directory"></a>Create a work directory</h3>
</div>
</div>
</div>
<p>For the purposes of this example, I’m going to call the directory in which we’ll do our work <code class="filename">$HOME/src</code> or <code class="filename">~/src</code>. There’s nothing important about that directory name;         feel free to adjust it to your needs.</p>
<p>So, first off, we’ll create it and make it our working directory.</p>
<pre class="programlisting">mkdir $HOME/src
cd $HOME/src</pre>
<p>Next, we’ll create a directory with a name that <span class="emphasis"><em>is</em></span> important and that shouldn’t         be changed.</p>
<pre class="programlisting">mkdir RCS</pre>
<p>Having a directory named <code class="filename">RCS</code> in your work directory isn’t mandatory, but if it’s there RCS will use it to store is working files. I find it much cleaner to have RCS do its housekeeping in a subdirectory rather than in my work directory.</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="example-file" name="example-file"></a>A sample file</h3>
</div>
</div>
</div>
<p>Now we need a sample file. Let’s create a short shell script that acts like the world’s favorite example file.</p>
<pre class="programlisting">#!/bin/sh
#
# foo.sh -- a silly example that acts in an oddly familiar way
#
# $Id$
# $Source$
#
echo "Hello, world!"</pre>
<p>You’ll notice the three non-standard lines, one with the RCS keyword <code class="literal">$Id$</code>, the other with         <code class="literal">$Source$</code>. The <em class="citetitle">co(1)</em> man page has a KEYWORD SUBSTITUTION section         that lists all the keywords you can use, but these will give you a flavor for what’s available.</p>
<p>A listing of our work directory now reveals one file and one subdirectory:</p>
<pre class="screen">$ <strong class="userinput"><code>/bin/ls -og</code></strong>
total 8
drwxr-xr-x  2 4096 Nov  5 14:09 RCS
-rw-r--r--  1  118 Nov  5 14:14 foo.sh</pre>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="example-ci" name="example-ci"></a>Initial check-in</h3>
</div>
</div>
</div>
<p>We’ll check the file into RCS using the <span class="command"><strong>ci</strong></span> application. The default         check-in process makes the working file “<span class="quote">disappear.</span>” There’s the revision-control version in the         <code class="filename">RCS</code> directory, but otherwise the file is invisible. I usually like to be able to see my working files (since I rarely maintain multiple working versions of the same file), so I almost always check files in using the <code class="option">-u</code> option.</p>
<pre class="programlisting">ci -u foo.sh</pre>
<p>RCS will spring to life and ask you to provide an overall description of the file you’re checking in. The text of the         description can span multiple lines; you signal the end of the text with line that consists of nothing but a period.</p>
<pre class="screen">$ <strong class="userinput"><code>ci -u foo.sh</code></strong>
RCS/foo.sh,v  &lt;--  foo.sh
enter description, terminated with single '.' or end of file:
NOTE: This is NOT the log message!
&gt;&gt; <strong class="userinput"><code>a silly, yet familiar, example</code></strong>
&gt;&gt; <strong class="userinput"><code>.</code></strong>
initial revision: 1.1
done</pre>
<p>There are three file changes now worth observing.</p>
<div class="orderedlist">
<ol type="1">
<li>The working file is now marked read-only by the filesystem.
<pre class="screen">$ <strong class="userinput"><code>/bin/ls -og</code></strong>
total 8
drwxr-xr-x  2 4096 Nov  7 20:19 RCS
-r--r--r--  1  200 Nov  7 20:16 foo.sh</pre>
</li>
<li>In the <code class="filename">RCS</code> directory is a file named <code class="filename">foo.sh,v</code>. It is               the source file that will (eventually, at least) keep track of all the changes made to your working file.</li>
<li>The RCS keyword tags in your working file now contain revision information.
<pre class="screen">$ <strong class="userinput"><code>cat foo.sh</code></strong>
#!/bin/sh
#
# foo.sh -- a silly example that acts in an oddly familiar way
#
# $Id: foo.sh,v 1.1 2004/11/08 04:19:33 heinlein Exp $
# $Source: /home/heinlein/src/RCS/foo.sh,v $
#
echo "Hello, world!"</pre>
<p>The <code class="literal">$Id$</code> tag now contains the number of the revision (1.1), the date and time that               revision was checked in (expressed in UTC <a class="link" title="Date stamps" href="http://madboa.com/geek/rcs/#tz">unless you say               otherwise</a>), and the username of the person who checked in that version.</p>
<p>The <code class="literal">$Source$</code> tag contains the full path to the source file.</li>
</ol>
</div>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="example-co" name="example-co"></a>Check out and edit</h3>
</div>
</div>
</div>
<p>After some time goes by, we become dissatisfied with our little script. We’re not always ready to send the world our         hearty greeting. It’s time to check the file out and work on it a bit. You’ll almost always want to lock the files you         check out, using the <code class="option">-l</code> option.</p>
<pre class="programlisting">co -l foo.sh</pre>
<p>When you ckeck out a file, RCS will report the version on the file you’re editing.</p>
<pre class="screen">$ <strong class="userinput"><code>co -l foo.sh</code></strong>
RCS/foo.sh,v  --&gt;  foo.sh
revision 1.1 (locked)
done</pre>
<p>When the file is checked out in this manner, the filesystem will once again report that it’s writable.</p>
<pre class="screen">$ <strong class="userinput"><code>/bin/ls -og</code></strong>
total 8
drwxr-xr-x  2 4096 Nov  7 20:20 RCS
-rw-r--r--  1  209 Nov  7 20:20 foo.sh</pre>
<p>We decide we need to rule out happy greetings on our least favorite day of the week, so we adjust our script         accordingly. At the end of our editing session, we use the <span class="command"><strong>rcsdiff</strong></span> utility to         make sure we introduced no unwanted changes into our working file.</p>
<pre class="screen">$ <strong class="userinput"><code>rcsdiff foo.sh</code></strong>
===================================================================
RCS file: RCS/foo.sh,v
retrieving revision 1.1
diff -r1.1 foo.sh
8c8,12
&lt; echo "Hello, world!"
---
&gt; if [ $(date +%A) = 'Monday' ]; then
&gt;   echo "Is it Friday yet?"
&gt; else
&gt;   echo "Hello, world!"
&gt; fi</pre>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="example-submit" name="example-submit"></a>Checking in the changes</h3>
</div>
</div>
</div>
<p>Satisfied with our latest editing efforts, we check the file back in, once again using the <code class="option">-u</code> option so ensure that our script is still visible after check-in.</p>
<pre class="programlisting">ci -u foo.sh</pre>
<p>During the check-in process, RCS will prompt us for a log message that describes the current changes.</p>
<pre class="screen">$ <strong class="userinput"><code>ci -u foo.sh</code></strong>
RCS/foo.sh,v  &lt;--  foo.sh
new revision: 1.2; previous revision: 1.1
enter log message, terminated with single '.' or end of file:
&gt;&gt; <strong class="userinput"><code>"Hello, world!" on Monday? Feh.</code></strong>
&gt;&gt; <strong class="userinput"><code>.</code></strong>
done</pre>
<p>That’s it. Just rinse, lather, and repeat as you continue to improve and enhance your work file. If you ever want to         recall the file’s revision history, just use the <span class="command"><strong>rlog</strong></span> application.</p>
<pre class="programlisting">rlog workfile</pre>
</div>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="bumps" name="bumps"></a>Incrementing version numbers</h2>
</div>
</div>
</div>
<p>By default, RCS will only increment the minor numbers in your version number: 1.1, 1.2, 1.3, 1.4, … At some point,       however, you’ll want to release version two. Just tell <span class="command"><strong>ci</strong></span> which version number       you want to start using the <code class="option">-r</code> option.</p>
<pre class="screen">$ <strong class="userinput"><code>ci -r2 -u foo.sh</code></strong>
RCS/foo.sh,v  &lt;--  foo.sh
new revision: 2.1; previous revision: 1.2
enter log message, terminated with single '.' or end of file:
&gt;&gt; <strong class="userinput"><code>rev 2 objectives met. customer happy.</code></strong>
&gt;&gt; <strong class="userinput"><code>.</code></strong>
done</pre>
<p>You’ll note that if you don’t supply a minor number for your release, RCS will assume that it’s <code class="literal">.1</code>. You can, if you’re so inclined, start with <code class="literal">.0</code> by specifying it,       <span class="foreignphrase"><em class="foreignphrase">e.g.</em></span>, <strong class="userinput"><code>ci -r2.0 -u       foo.sh</code></strong>.</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="bulk-ci" name="bulk-ci"></a>Bulk check-ins</h2>
</div>
</div>
</div>
<p>I often find myself wanting to check out an entire set of files to make a similar change in all of them, like altering a       directory path or URL they all reference.</p>
<p>Checking out a bunch of files is easy to automate since the <span class="command"><strong>co</strong></span> utility       requires no user intervention.</p>
<p>Likewise, making a common change in a set of files is easy using <span class="command"><strong>sed</strong></span>,       <span class="command"><strong>awk</strong></span>, or dozens of other scripting tools.</p>
<p>The more obscure part is automating the check-in process, since typically the <span class="command"><strong>ci</strong></span> utility requires a log entry for each file.</p>
<p>The answer is to use the <code class="option">-m</code> option or to pipe the log message to RCS. Either method will do       the trick.</p>
<pre class="programlisting"># using -m; no space allowed between option and the message
ci -u -m'altered name of main image file' *.html

# using stdin
echo 'altered name of main image file' | ci -u *.html</pre>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="tz" name="tz"></a>Date stamps</h2>
</div>
</div>
</div>
<p>RCS stores datestamps in UTC (aka GMT) time—and by default displays them that way—which can be confusing at first. Here on the American west coast, we’re seven or eight hours behind UTC, depending on the time of year. If I check in a file today at 5:30 p.m., the RCS date stamp will show the file checked in tomorrow at 12:30 a.m. (during daylight savings time) or 1:30 a.m. (if we’re on standard time).</p>
<p>RCS provides the <code class="option">-z</code> option to override the time zone displayed in the date stamp. The       <em class="citetitle">ci(1)</em> man page has the full details, but essentially you can specify either a time offset or the       string <code class="literal">LT</code> (indicating local time).</p>
<pre class="programlisting"># check in a file using the local timezone
ci -u -zLT workfile

# the same, using an explicit offset
ci -u -z-08:00 workfile</pre>
<p>Also by default, RCS uses the working file’s last modification time as the stamped date and time. That can be overridden       using the <code class="option">-d</code> option. See the <em class="citetitle">co(1)</em> man page for several more examples       and a list of acceptable date formats.</p>
<pre class="programlisting"># using a full ISO 8601 UTC timestamp
ci -u -d'2004-11-17 06:30:00+00' workfile

# using date(1) format
ci -u -d'Sun Nov 14 06:30:23 PST 2004' workfile

# the same, using GNU date and command substitution
ci -u -d"$(date -d '3 days ago')" workfile</pre>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="emacs" name="emacs"></a>RCS in emacs</h2>
</div>
</div>
</div>
<p>I divide my editing time between <span class="command"><strong>vim</strong></span> and <span class="command"><strong>emacs</strong></span>; I’m pretty neutral in the Text Editor Wars. One handy feature of emacs, however, is       its integrated RCS support. It’s possible to check files in and out of RCS from within the editor itself.</p>
<p>I use this feature constantly, but I’ll admit that I don’t use <a class="ulink" href="http://www.gnu.org/software/emacs/manual/html_node/Version-Control.html">the the full breadth</a> of emacs’ version-control       features. Instead, I typically just check files out and back in again.</p>
<p>If you use emacs to open a file currently under RCS control, you should see “<span class="quote">RCS</span>” and the       file’s version number in the mode line near the bottom of your buffer, <span class="foreignphrase"><em class="foreignphrase">e.g.</em></span>, <code class="computeroutput">RCS:1.5</code>.</p>
<p>After that, the recipe is pretty easy.</p>
<p>Use <strong class="userinput"><code>C-x v v</code></strong> (<code class="literal">vc-next-action</code>) to check out the       file. By default, this implies locking the file as you’d do with <strong class="userinput"><code>co -l</code></strong>.</p>
<p>After you’ve edited the file, you check in your changes using the same keystrokes: <strong class="userinput"><code>C-x v       v</code></strong>. You get a new buffer in which to add a log comment. Once you’re finished with the comment, type       <strong class="userinput"><code>C-c C-c</code></strong> to commit the changes. By default, this implies checking in the file       without a lock, like <strong class="userinput"><code>ci -u</code></strong>.</p>
<p>It’s worth noting that emacs won’t save the customary backup file (<span class="foreignphrase"><em class="foreignphrase">e.g.</em></span>, <code class="filename">foo.c~</code>) when working in RCS mode. If something goes haywire,       you’ll have to revert to the last good checked-in version of your working file.</div>
<div class="section" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a id="tocvs" name="tocvs"></a>Migrating from RCS to CVS</h2>
</div>
</div>
</div>
<p>I recently had the occasion to move a large number of files from RCS to CVS. Since both systems use the same underlying       libraries—indeed, CVS is built on top of RCS—they can use the same source files.</p>
<p>The biggest migration issues are getting rid of anything in your directory tree that’s not a source file and making sure       that all your source files are currently checked in. The following script will handle the migration, though it assumes       shell-friendly directory and filenames (it’ll fail if directory names include spaces).</p>
<pre class="programlisting">#!/bin/sh
#
# warning: this script does precious little error checking. bwahahaa!

# season these variables to taste
SRCDIR="/path/to/rcs/root"
DESTDIR="/path/to/destdir"

cd "$SRCDIR"

# identify any unlocked files
UNLOCKED=$(grep '^locks' $(find . -type f -name '*,v') | grep -v 'locks;')
if test -n "$UNLOCKED"; then
  printf \
    "%d files are unlocked and should be checked in:\n" \
    $(echo "$UNLOCKED" | wc -l)
  echo "$UNLOCKED" | sed 's!:locks$!!'
  exit 1
else
  printf "All existing source files are checked in. Excellent!\n\n"
fi

# copy all the ,v source files to destination; identify RCS
# directories, move source files out of them up a directory, and
# delete the RCS directories.
test -d "$DESTDIR" || mkdir -p "$DESTDIR"
printf "Copying source files to %s\n" "$DESTDIR"
tar -cf - $(find . -type f -name '*,v') | (cd "$DESTDIR" &amp;&amp; tar -xvf -)
cd "$DESTDIR"
printf "Removing any RCS directories\n"
for dir in $(find . -type d -name RCS); do
  (cd $dir &amp;&amp; mv *,v ..)
  rmdir -v $dir
done
printf "\n%s is now CVS-ready\n" "$DESTDIR"</pre>
<p>If the script is successful, your destination directory can now be copied as-is into your CVSROOT.</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=261&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2009/02/04/rcs-howto/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Generating ssh keys</title>
		<link>http://quinox.wordpress.com/2008/12/24/generating-ssh-keys/</link>
		<comments>http://quinox.wordpress.com/2008/12/24/generating-ssh-keys/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 13:03:31 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[ssh keys]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=254</guid>
		<description><![CDATA[Generating SSH keys: ssh-keygen -t dsa Two keys 1. public 2. private Then copy the public-key to the authorized-keys file on the remote computer.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=254&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Generating SSH keys:</p>
<p><em>ssh-keygen -t dsa</em></p>
<p><strong>Two keys</strong></p>
<p><em>1. public<br />
2. private</em></p>
<p>Then copy the public-key to the authorized-keys file on the remote computer.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=254&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2008/12/24/generating-ssh-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring Postfix</title>
		<link>http://quinox.wordpress.com/2008/12/24/configuring-postfix/</link>
		<comments>http://quinox.wordpress.com/2008/12/24/configuring-postfix/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 10:16:20 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[Postfix basic]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=249</guid>
		<description><![CDATA[The description is intend for a basic configuration of Postfix Modify the hostname directive to point to the name of your computer myhostname = host.domain.tld Modify the mydomain directive to reflect the domain name or IP network address of your system. mydomain = domain.tld Modify the myorigin directive, assuming you&#8217;ve activated the aforementioned myhostname directive. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=249&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>The description is intend for a basic configuration of Postfix</strong></p>
<p>Modify the <strong>hostname</strong> directive to point to the name of your computer<br />
<em>myhostname = host.domain.tld</em></p>
<p>Modify the <strong>mydomain</strong> directive to reflect the domain name or IP network address of your system.<br />
<em>mydomain = domain.tld</em></p>
<p>Modify the <strong>myorigin</strong> directive, assuming you&#8217;ve activated the aforementioned <strong>myhostname </strong>directive.<br />
<em>myorigin = $mydomain</em></p>
<p>The following two commands set Postfix to listen to only the local computer.<br />
Activate and deactivate the following commands to remove this limitation.<br />
<em>#inet_interfaces = all<br />
inet_interfaces = localhost</em></p>
<p>Activate and modify the following mynetworks command to point to the IP network address that you want to serve.<br />
<em>mynetworks = 192.168.0.0/24, 127.0.0.0/8</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/249/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=249&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2008/12/24/configuring-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring sendmail</title>
		<link>http://quinox.wordpress.com/2008/12/24/sendmail-configuration/</link>
		<comments>http://quinox.wordpress.com/2008/12/24/sendmail-configuration/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 09:14:38 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[Sendmail mail]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=243</guid>
		<description><![CDATA[This is a description howto configuring and securing Sendmail for basic operations There are two basic configuration files: 1. sendmail.cf for incoming mail 2. submit.cf for outgoing mail The following line limits sendmail access to the local computer: DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&#8217;)dnl To allow other computers to use your sendmail server by commenting out this line dnl [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=243&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>This is a description howto configuring and securing Sendmail for basic operations</strong></p>
<p>There are two basic configuration files:</p>
<p><em>1. sendmail.cf for incoming mail<br />
2. submit.cf for outgoing mail</em></p>
<p>The following line limits sendmail access to the local computer:<br />
<em>DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&#8217;)dnl</em></p>
<p>To allow other computers to use your sendmail server by commenting out this line<br />
<em>dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&#8217;)dnl</em></p>
<p>Next, if you have reliable DNS access, comment out the<strong> FEATURE</strong> directive that allows you to <strong>accept_unresolvable_domains.</strong><br />
This blocks spammers who use just an IP address or spammers who fake their domain name to hide themselves:<br />
<em>FEATURE(`accept_unresolvable_domains&#8217;)dnl</em></p>
<p>But that&#8217;s not enough. If you want to allow remote computers or networks access to your sendmail server, you&#8217;ll need to add their names or addresses to the /etc/mail/access file. This example allow access to the 192.168.30.0 domain.<br />
<em>192.168.30      RELAY</em></p>
<p>Now backup the current sendmail.cf file. then you can generate a new sendmail.cf file.</p>
<p><em>make -C /etc/mail</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=243&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2008/12/24/sendmail-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring Dovecot</title>
		<link>http://quinox.wordpress.com/2008/12/24/configuring-dovecot/</link>
		<comments>http://quinox.wordpress.com/2008/12/24/configuring-dovecot/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 08:39:19 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[Dovecot mail]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=237</guid>
		<description><![CDATA[The main configuration file is located in /etc/dovecot.conf Normally you should not activate a protocol unless you intend to use it; otherwise you&#8217;re opening up a potential security hole. #protocols = imap imaps pop3 pop3s If you have multiple network cards (or multiple IP adressesses on your network card), you&#8217;ll want to specify an IP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=237&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The main configuration file is located in /etc/dovecot.conf</p>
<p>Normally you should not activate a protocol unless you intend to use it; otherwise you&#8217;re opening up a potential security hole.<em><br />
#protocols = imap imaps pop3 pop3s</em></p>
<p>If you have multiple network cards (or multiple IP adressesses on your network card), you&#8217;ll want to specify an IP adress where the server listens for connections.<br />
<em>#listen = 192.168.0.22:10110<br />
#ssl_listen = 1923.168.0.23:10943</em></p>
<p>If you want POP3 and IMAP support, you&#8217;ll want to retain this directive )pay attention&#8212;it&#8217;s a double negative; in other words, this directive tells Dovecot that it should not disable SSL protocols).<br />
<em># ssl_disable = no</em></p>
<p>For secure support, you&#8217;ll need certificates and keys.<br />
<em>#ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem<br />
#ssl_key_file = /etc/pki/dovecot/private/dovecot.pem</em></p>
<p>Part of the way down the file, you can specify the location where email is stored,<br />
<em>#mail_location = </em></p>
<p><strong>DOVECOT SECURE CERTIFICATES</strong></p>
<p>1. To create your own certificate, you&#8217;ll need to edit the dovecot-openssl.cnf file. This file is located in /etc/pki/dovecot directorie.</p>
<p><em>cp dovecot-openssl.cnf dovecot-openssl.cnf.org<br />
vi dovecot-openssl.cnf</em></p>
<p>2. Delete or move the default certificates in the following directories</p>
<p><em>/etc/pki/dovecot/certs<br />
/etc/pki/dovecot/private</em></p>
<p>3. Make sure the assoiciated script, mkcert.sh, is in the /usr/share/doc/dovecot-&lt;versionnumber&gt;/examples/ directory and is executable. Then run:</p>
<p><em>/usr/share/doc/dovecot-&lt;versionnumber&gt;/examples/mkcert.sh</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=237&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2008/12/24/configuring-dovecot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring a slave name server</title>
		<link>http://quinox.wordpress.com/2008/12/23/configuring-a-slave-name-server/</link>
		<comments>http://quinox.wordpress.com/2008/12/23/configuring-a-slave-name-server/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 14:55:21 +0000</pubDate>
		<dc:creator>quinox</dc:creator>
				<category><![CDATA[Slave name server]]></category>

		<guid isPermaLink="false">http://quinox.wordpress.com/?p=231</guid>
		<description><![CDATA[There is no period at the end of any address in /etc/named.conf. If you want to create a slave server, the information that you&#8217;d enter is similar: zone &#8220;example.org&#8221; IN { type slave; file &#8220;slaves/example.org&#8221;; master { 192.168.30.5 }; }; The task for a slave server is easier. It periodically checks with the master DNS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=231&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is no period at the end of any address in /etc/named.conf.<br />
If you want to create a slave server, the information that you&#8217;d enter is similar:</p>
<p><em>zone &#8220;example.org&#8221; IN {<br />
type slave;<br />
file &#8220;slaves/example.org&#8221;;<br />
master {<br />
192.168.30.5<br />
};<br />
};</em></p>
<p>The task for a slave server is easier. It periodically checks with the master DNS server, in this case the computer with the ip address od 192.168.30.5. When it does, it automatically reads the master DNS server data and creates the slave.example.org.zone file in the /var/named/chroot/var/named/slaves directory.<em><br />
</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quinox.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quinox.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quinox.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quinox.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quinox.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quinox.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quinox.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quinox.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quinox.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quinox.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quinox.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quinox.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quinox.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quinox.wordpress.com/231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quinox.wordpress.com&amp;blog=5502648&amp;post=231&amp;subd=quinox&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quinox.wordpress.com/2008/12/23/configuring-a-slave-name-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c93e4c0235ede4516ad86fd22ed42401?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quinox</media:title>
		</media:content>
	</item>
	</channel>
</rss>
