<?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>DevSlash &#187; Informational</title>
	<atom:link href="http://devslash.org/category/informational/feed/" rel="self" type="application/rss+xml" />
	<link>http://devslash.org</link>
	<description>Gerard's Professional Blog</description>
	<lastBuildDate>Tue, 06 Feb 2007 23:02:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Grub on software RAID 1</title>
		<link>http://devslash.org/2006/04/19/installing-grub-on-software-raid-1/</link>
		<comments>http://devslash.org/2006/04/19/installing-grub-on-software-raid-1/#comments</comments>
		<pubDate>Wed, 19 Apr 2006 17:38:29 +0000</pubDate>
		<dc:creator>gerard</dc:creator>
				<category><![CDATA[Informational]]></category>

		<guid isPermaLink="false">http://devslash.org/2006/04/19/installing-grub-on-software-raid-1/</guid>
		<description><![CDATA[I have recently run into an issue where I needed to reinstall grub after an install. The problem was that the server was running software RAID 1 on a Redhat Enterprise Linux 4 server and the grub-install command doesn&#8217;t support software RAID. To fix this issue, I manually booted the server. Then, I simply ran [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently run into an issue where I needed to reinstall grub after an install. The problem was that the server was running software RAID 1 on a Redhat Enterprise Linux 4 server and the grub-install command doesn&#8217;t support software RAID. To fix this issue, I manually booted the server. Then, I simply ran the <em>grub</em> command to get into the grub shell. Once in there the steps were simple. At the prompt you will need to fist type the following.</p>
<blockquote><p>root(hd0,0)</p></blockquote>
<p>The first 0 referrs to the actual drive, and the second 0 referrers to the partition. So, for this example you would be referring to /dev/hda1 which is where your /boot directory resides. Now you will need to actually set up grub. For this you will use the following command.</p>
<blockquote><p>setup (hd0)</p></blockquote>
<p>Once you execute this command it will run through the install and everything will be installed correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://devslash.org/2006/04/19/installing-grub-on-software-raid-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Generating SSH Keys</title>
		<link>http://devslash.org/2006/04/18/generating-ssh-keys/</link>
		<comments>http://devslash.org/2006/04/18/generating-ssh-keys/#comments</comments>
		<pubDate>Wed, 19 Apr 2006 01:07:17 +0000</pubDate>
		<dc:creator>gerard</dc:creator>
				<category><![CDATA[Informational]]></category>

		<guid isPermaLink="false">http://devslash.org/?p=12</guid>
		<description><![CDATA[This is a quick little how to for getting ssh keys working.
First you will need to generate the keys. The default is 2048 bytes which should be sufficient. You can specify a different value by using the -b option. The -t option is so that you create an SSH2 key and not an SSH1 key. [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick little how to for getting ssh keys working.</p>
<p>First you will need to generate the keys. The default is 2048 bytes which should be sufficient. You can specify a different value by using the -b option. The -t option is so that you create an SSH2 key and not an SSH1 key. I like to use a passphrase for some extra security; however, you can leave the passphrase blank if you do not want to use one. Not recommended though.</p>
<p>Use the following command.</p>
<blockquote><p><em> ssh-keygen -t rsa</em></p></blockquote>
<blockquote><p>gerard@despondency:~$ ssh-keygen -t rsa<br />
Generating public/private rsa key pair.<br />
Enter file in which to save the key (/home/gerard/.ssh/id_rsa):<br />
Enter passphrase (empty for no passphrase):<br />
Enter same passphrase again:<br />
Your identification has been saved in /home/gerard/.ssh/id_rsa.<br />
Your public key has been saved in /home/gerard/.ssh/id_rsa.pub.<br />
The key fingerprint is:<br />
8a:28:a4:4e:d6:a1:7c:9b:38:d4:1c:19:82:a9:ef:ca gerard@despondency</p></blockquote>
<p>This will create two files id_rsa and id_rsa.pub unless you have specified a different file name. The file with the .pub extension is your public key which you should put on the client systems which I will explain later. The one without the .pub extension is your private key which you should guard with your life!</p>
<p>Now you will need to distribute the public keys to the destination systems. The easiest way is to use <em>ssh-copy-id </em>.  You will use a command similar to the following.</p>
<blockquote><p>ssh-copy-id -i .ssh/id_rsa.pub gerard@192.168.xxx.xxx</p></blockquote>
<p>Using this command you will need to use -i then the name of the file which contains the public key you would like to distribute. Then, the destination is where you would like to SCP the public key to.</p>
<blockquote><p>gerard@despondency:~$ ssh-copy-id -i .ssh/id_rsa.pub root@192.168.xxx.xxx<br />
15<br />
root@192.168.30.45&#8217;s password:<br />
Now try logging into the machine, with &#8220;ssh &#8216;root@192.168.xxx.xxx&#8217;&#8221;, and check in:<br />
.ssh/authorized_keys</p>
<p>to make sure we haven&#8217;t added extra keys that you weren&#8217;t expecting.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://devslash.org/2006/04/18/generating-ssh-keys/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CVS pserver</title>
		<link>http://devslash.org/2006/04/16/cvs-pserver/</link>
		<comments>http://devslash.org/2006/04/16/cvs-pserver/#comments</comments>
		<pubDate>Sun, 16 Apr 2006 21:51:05 +0000</pubDate>
		<dc:creator>gerard</dc:creator>
				<category><![CDATA[Informational]]></category>

		<guid isPermaLink="false">http://devslash.org/?p=8</guid>
		<description><![CDATA[I set up my server on my Libranet server which is based on Debian. I am using Sarge sources. If you are running a different distribution, some files may differ but are essentially the same.
First you need to install CVS if it is not already installed. Type apt-get install cvs.
Once the server is installed you [...]]]></description>
			<content:encoded><![CDATA[<p>I set up my server on my Libranet server which is based on Debian. I am using Sarge sources. If you are running a different distribution, some files may differ but are essentially the same.</p>
<p>First you need to install CVS if it is not already installed. Type <em>apt-get install cvs</em>.<br />
Once the server is installed you would want to make sure that you check the <em>/etc/services</em> and <em>/etc/inetd.conf</em></p>
<p>This is /etc/services.</p>
<p>cvspserver      2401/tcp                        # CVS client/server operations<br />
cvspserver      2401/udp                        # CVS client/server operations</p>
<p>This is /etc/inetd.conf<br />
<em>cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs &#8211;allow-root=/home/cvs/rep pserver</em></p>
<p>Next, you will need to create the repository directory. This is where your projects will reside, you can put it anywhere you want and call it whatever you want. I chose to put it in <em>/home/cvs/rep</em>. Also when creating this directory you want to make sure that the user that will be using this has ample permissions to the directory.</p>
<p>Depending on which shell you use you will need to set your environment variables for the cvs. I use bash so I will need to edit my ~/bashrc file and add the lines for the CVSROOT variable.</p>
<p>Here is an example for the local machine.</p>
<p><em>CVSROOT=&#8221;/home/cvs/rep&#8221;<br />
export CVSROOT</em></p>
<p>Here is a remote example.</p>
<p><em>CVSROOT=&#8221;:pserver:username@servername:/home/cvs/rep&#8221;<br />
export CVSROOT</em></p>
<p>Next you want to initialize the repository. You want to make sure you run this as the CVS user.</p>
<p><em>cvs -d /home/cvs/rep init</em></p>
<p>Now, everything should be working. It&#8217;s time to add projects to the repository. The way I like to do it is as follows.<br />
Create a directory, or you can copy an existing directory with files. for example lets use <em>~/devslash</em>.</p>
<p><em>mkdir devslash</em><br />
<em>cd devslash</em><br />
<em>cvs import devslash devslash start</em></p>
<p>Everything should be in your repository now under the directory of devslash. If you want to make sure, go into an empty directory and type <em>cvs checkout devslash</em> and all of the files should propagate down.</p>
<p>That should be enough to get you going. If you have any other questions or need more help you can get me as always by email.</p>
]]></content:encoded>
			<wfw:commentRss>http://devslash.org/2006/04/16/cvs-pserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extra mouse buttons</title>
		<link>http://devslash.org/2006/04/15/extra-mouse-buttons/</link>
		<comments>http://devslash.org/2006/04/15/extra-mouse-buttons/#comments</comments>
		<pubDate>Sat, 15 Apr 2006 21:11:56 +0000</pubDate>
		<dc:creator>gerard</dc:creator>
				<category><![CDATA[Informational]]></category>

		<guid isPermaLink="false">http://devslash.org/?p=7</guid>
		<description><![CDATA[Ok, so I have a mouse with extra buttons. And as you can guess I wanted to use them to go back and forward in a browser and such. Here is the configuration I have whipped up. At current I have a Microsoft IntelliMouse Optical. But I assume this will work with most mice.
First you [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I have a mouse with extra buttons. And as you can guess I wanted to use them to go back and forward in a browser and such. Here is the configuration I have whipped up. At current I have a Microsoft IntelliMouse Optical. But I assume this will work with most mice.</p>
<p>First you will need to edit the /etc/X11/XF86Config-4 file.</p>
<p>Section &#8220;InputDevice&#8221;<br />
Identifier      &#8220;Default Mouse&#8221;<br />
Driver           &#8220;mouse&#8221;<br />
Option          &#8220;CorePointer&#8221;<br />
Option          &#8220;Protocol&#8221; &#8220;ExplorerPS/2&#8243;<br />
Option          &#8220;Device&#8221; &#8220;/dev/input/mice&#8221;<br />
Option          &#8220;Buttons&#8221; &#8220;7&#8243;<br />
Option          &#8220;ZAxisMapping&#8221; &#8220;6 7&#8243;<br />
EndSection</p>
<p>Now you will need to edit your <em>.imwheelrc</em> file.</p>
<p>&#8220;.*&#8221;<br />
None, Left, Alt_L|Left<br />
None, Right, Alt_L|Right</p>
<p>You can edit this file to do whatever you would like the extra buttons to do. This configuration will make just about every program go back or forward. Which is what Alt and the left arrow would do. Next, you will need to run the following lines.</p>
<p><em>xmodmap -e &#8220;pointer = 1 2 3 6 7 4 5&#8243;<br />
imwheel -b 0067</em></p>
<p>You will need to run this basically every time you log in or you can put it in your startup files. I run gdm so I added the lines to my session file. This is actually a lot simpler to set up the I thought it would be.</p>
]]></content:encoded>
			<wfw:commentRss>http://devslash.org/2006/04/15/extra-mouse-buttons/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
