<?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>Youritguy&#039;s Blog</title>
	<atom:link href="http://youritguy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://youritguy.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 08 Aug 2011 04:52:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='youritguy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Youritguy&#039;s Blog</title>
		<link>http://youritguy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://youritguy.wordpress.com/osd.xml" title="Youritguy&#039;s Blog" />
	<atom:link rel='hub' href='http://youritguy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PXE FreeDos with HDDerase</title>
		<link>http://youritguy.wordpress.com/2011/08/07/pxe-freedos-with-hdderase/</link>
		<comments>http://youritguy.wordpress.com/2011/08/07/pxe-freedos-with-hdderase/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 04:51:22 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[hdderase]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[PXE]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=702</guid>
		<description><![CDATA[This was done under CentOS 5.6. The dhcpd.conf assumes that the network&#8217;s IP address scheme is 192.168.0.0/24 with a router (with DHCP enabled) at the IP address 192.168.0.1 and the PXE boot server at 192.168.0.21. If the PXE boot server and other computers are connected to a switch, then remove next-server and add in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=702&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>This was done under CentOS 5.6</strong>.</p>
<pre class="brush: bash;">
yum install tftp-server dhcp syslinux
</pre>
<pre class="brush: bash;">
#Edit the dhcp.conf file
vi /etc/dhcpd.conf
</pre>
<p>The <em>dhcpd.conf</em> assumes that the network&#8217;s IP address scheme is <strong>192.168.0.0/24</strong> with a router (with DHCP enabled) at the IP address <strong>192.168.0.1</strong> and the PXE boot server at <strong>192.168.0.21</strong>. </p>
<p>If the PXE boot server and other computers are connected to a switch, then remove <em>next-server</em> and add in the IP address of the PXE boot server into <em>option routers</em></p>
<pre class="brush: plain;">
ddns-update-style none;
allow bootp;
allow booting;
subnet 192.168.0.0 netmask 255.255.255.0
{
	range 192.168.0.30 192.168.0.39;
	option subnet-mask 255.255.255.0;
	option broadcast-address 192.168.0.255;
	option routers 192.168.0.1;
	next-server 192.168.0.21;
	filename &quot;pxelinux.0&quot;
}
</pre>
<pre class="brush: bash;">
#Make sure there is no error in dhcpd.conf
dhcpd -t /etc/dhcpd.conf

#Start dhcpd
service dhcpd start

#Edit xinetd.d/tftp
vi /etc/xinetd.d/tftp
</pre>
<pre class="brush: plain;">
disable = no
</pre>
<pre class="brush: bash;">
service xinetd restart

#Copy the files below to the tftpboot directory
cp /usr/lib/syslinux/pxelinux.0 /tftpboot
cp /usr/lib/syslinux/menu.c32 /tftpboot
cp /usr/lib/syslinux/memdisk /tftpboot
cp /usr/lib/syslinux/mboot.c32 /tftpboot
cp /usr/lib/syslinux/chain.c32 /tftpboot

#Make a directory so you can boot FreeDOS
mkdir /tftpboot/images
mkdir /tftpboot/images/hdderase
</pre>
<pre class="brush: bash;">
#Upload the FreeDOS fdboot.img and hdderase.exe, mount the image before copy hdderase over to it. Copy fdboot.img to the /tftpboot/images/hdderase directory.
mkdir /media/floppy
mount -t vfat -o loop fdboot.img /media/floppy
cp /root/hdderase.exe /media/floppy
umount /mnt/floppy
</pre>
<pre class="brush: bash;">
#Create a PXE boot menu.
mkdir /tftpboot/pxelinux.cfg
vi /tftpboot/pxelinux.cfg/default
</pre>
<pre class="brush: plain;">
default menu.c32
prompt 0

menu title PXE Boot Menu

LABEL hdderase
menu label HDD Erase
kernel memdisk
append iso initrd=images/hdderase/fdboot.img
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/702/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=702&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/08/07/pxe-freedos-with-hdderase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>Enable InnoDB on MySQL in CentOS 5.6</title>
		<link>http://youritguy.wordpress.com/2011/08/07/enable-innodb-on-mysql-in-centos-5-6/</link>
		<comments>http://youritguy.wordpress.com/2011/08/07/enable-innodb-on-mysql-in-centos-5-6/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 04:26:40 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[INNODB]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=696</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=696&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="brush: bash;">
vi /etc/my.cnf
</pre>
<pre class="brush: plain;">
[mysqld]
default_storage_engine=INNODB
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/696/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/696/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/696/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/696/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/696/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/696/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/696/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/696/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/696/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/696/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/696/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/696/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/696/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/696/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=696&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/08/07/enable-innodb-on-mysql-in-centos-5-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Exchange Server 2010 SP1</title>
		<link>http://youritguy.wordpress.com/2011/06/01/installing-exchange-server-2010-sp1/</link>
		<comments>http://youritguy.wordpress.com/2011/06/01/installing-exchange-server-2010-sp1/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 02:13:02 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[R2]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SP1]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=687</guid>
		<description><![CDATA[Installing Exchange is a lot easier than I thought it would be. After searching around Google and reading the Technet documentation, I was able to document the steps to install it. My setup: Windows Server 2008 R2 Enterprise VMware Workstation 7.1.4 build-385536 Exchange Server 2010 SP1 *Windows Server 2008 R2 Enterprise (with AD DS) is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=687&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Installing Exchange is a lot easier than I thought it would be. After searching around Google and reading the Technet documentation, I was able to document the steps to install it.</p>
<h3>My setup:</h3>
<ul>
<li>Windows Server 2008 R2 Enterprise</li>
<li>VMware Workstation 7.1.4 build-385536</li>
<li>Exchange Server 2010 SP1</li>
</ul>
<p>*Windows Server 2008 R2 Enterprise (with AD DS) is running as a virtual machine in VMware Workstation.<br />
**<em>Client Access</em>, <em>Hub Transport</em>, and <em>Mailbox</em> roles will be installed for Exchange.</p>
<h3>Steps:</h3>
<ol>
<li>Get the latest patches and updates with <em>Windows Update</em></li>
<li>Install the <em>Office 2010 Filter Pack</em>.</li>
<li>Make sure the administrator account installing Exchange is a member of <strong>&#8220;Enterprise Admins&#8221;</strong> and <strong>&#8220;Schema Admins&#8221;</strong>.</li>
<li>Copy the following below into PowerShell:</li>
<ul>
<li><code>Import-Module ServerManager</code><code>Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart</code></li>
</ul>
<li>In the command prompt, go to the Exchange install CD and run the following:</li>
<ul>
<li><code>setup /PrepareSchema</code></li>
<li><code>setup /PrepareAD /OrganizationName:Organization_Name_Goes_Here</code></li>
<li><code>setup /PrepareDomain</code></li>
</ul>
<li>Run <strong>setup.exe</strong> and proceed with the remaining steps.</li>
<li>After the installation is complete for Exchange, check in <em>Server Manager</em> that the <strong>WimRM IIS Extension</strong> feature is installed (without it I got an error message when I tried to enter in the Exchange product key in the Exchange Management Console).</li>
</ol>
<h2>Screenshots from the installation below (self-explanatory):</h2>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_1.jpg"><img class="aligncenter size-full wp-image-676" title="Exchange_2010_1" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_1.jpg?w=450&#038;h=337" alt="" width="450" height="337" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_2.jpg"><img class="aligncenter size-full wp-image-677" title="Exchange_2010_2" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_2.jpg?w=450&#038;h=393" alt="" width="450" height="393" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_3.jpg"><img class="aligncenter size-full wp-image-678" title="Exchange_2010_3" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_3.jpg?w=450&#038;h=397" alt="" width="450" height="397" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_4.jpg"><img class="aligncenter size-full wp-image-679" title="Exchange_2010_4" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_4.jpg?w=450&#038;h=392" alt="" width="450" height="392" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_5.jpg"><img class="aligncenter size-full wp-image-680" title="Exchange_2010_5" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_5.jpg?w=450&#038;h=391" alt="" width="450" height="391" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_6.jpg"><img class="aligncenter size-full wp-image-681" title="Exchange_2010_6" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_6.jpg?w=450&#038;h=391" alt="" width="450" height="391" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_7.jpg"><img class="aligncenter size-full wp-image-682" title="Exchange_2010_7" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_7.jpg?w=450&#038;h=393" alt="" width="450" height="393" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_8.jpg"><img class="aligncenter size-full wp-image-683" title="Exchange_2010_8" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_8.jpg?w=450&#038;h=392" alt="" width="450" height="392" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_9.jpg"><img class="aligncenter size-full wp-image-684" title="Exchange_2010_9" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_9.jpg?w=450&#038;h=394" alt="" width="450" height="394" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_10.jpg"><img class="aligncenter size-full wp-image-685" title="Exchange_2010_10" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_10.jpg?w=450&#038;h=396" alt="" width="450" height="396" /></a></p>
<p><a href="http://youritguy.files.wordpress.com/2011/06/exchange_2010_11.jpg"><img class="aligncenter size-full wp-image-686" title="Exchange_2010_11" src="http://youritguy.files.wordpress.com/2011/06/exchange_2010_11.jpg?w=450&#038;h=335" alt="" width="450" height="335" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/687/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=687&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/06/01/installing-exchange-server-2010-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_1.jpg" medium="image">
			<media:title type="html">Exchange_2010_1</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_2.jpg" medium="image">
			<media:title type="html">Exchange_2010_2</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_3.jpg" medium="image">
			<media:title type="html">Exchange_2010_3</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_4.jpg" medium="image">
			<media:title type="html">Exchange_2010_4</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_5.jpg" medium="image">
			<media:title type="html">Exchange_2010_5</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_6.jpg" medium="image">
			<media:title type="html">Exchange_2010_6</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_7.jpg" medium="image">
			<media:title type="html">Exchange_2010_7</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_8.jpg" medium="image">
			<media:title type="html">Exchange_2010_8</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_9.jpg" medium="image">
			<media:title type="html">Exchange_2010_9</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_10.jpg" medium="image">
			<media:title type="html">Exchange_2010_10</media:title>
		</media:content>

		<media:content url="http://youritguy.files.wordpress.com/2011/06/exchange_2010_11.jpg" medium="image">
			<media:title type="html">Exchange_2010_11</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure static IP address with Fedora 15</title>
		<link>http://youritguy.wordpress.com/2011/05/25/configure-static-ip-address-with-fedora-15/</link>
		<comments>http://youritguy.wordpress.com/2011/05/25/configure-static-ip-address-with-fedora-15/#comments</comments>
		<pubDate>Wed, 25 May 2011 23:40:53 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[static]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=670</guid>
		<description><![CDATA[So I downloaded Fedora 15 x86-64 today, installed it as a virtual machine in VMware Workstation (without the desktop GUI), and was a bit annoyed to find out that the static IP address I configured using system-config-network doesn&#8217;t show up when I execute ifconfig eth0. Fortunately after some searching, I figured out how to do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=670&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I downloaded Fedora 15 x86-64 today, installed it as a virtual machine in VMware Workstation (without the desktop GUI), and was a bit annoyed to find out that the static IP address I configured using <strong>system-config-network</strong> doesn&#8217;t show up when I execute <strong>ifconfig eth0</strong>. Fortunately after some searching, I figured out how to do it.</p>
<pre class="brush: bash;">
service NetworkManager stop
chkconfig NetworkManager off

service network restart
chkconfig network on

vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
</pre>
<p><strong>#Example of a temporary way of configuring a static IP address (it is lost on restart):</strong></p>
<pre class="brush: bash;">
ifconfig eth0 down
ifconfig eth0 192.168.0.40 netmask 255.255.255.0
ifconfig eth0 up
route add default gw 192.168.0.1
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/670/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/670/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/670/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/670/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/670/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/670/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/670/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/670/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=670&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/05/25/configure-static-ip-address-with-fedora-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS 5.6 and MySQL replication with SSL encryption</title>
		<link>http://youritguy.wordpress.com/2011/05/16/centos-5-6-and-mysql-replication-with-ssl-encryption/</link>
		<comments>http://youritguy.wordpress.com/2011/05/16/centos-5-6-and-mysql-replication-with-ssl-encryption/#comments</comments>
		<pubDate>Tue, 17 May 2011 04:43:20 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[replication]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=661</guid>
		<description><![CDATA[DRAFT &#8211; INCOMPLETE #######Replication &#8211; Master####### #Verify that SSL is enabled. #Enable SSL by adding &#8216;ssl&#8217; (without the quotes) in the section under [mysqld] #Create a directory, log file, and change the ownership #Create a self-signed CA #Create and sign a certificate for the replication MASTER #Create and sign a certificate for the replication SLAVE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=661&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>DRAFT &#8211; INCOMPLETE</strong></p>
<pre class="brush: plain;">
Setup:
OS = CentOS 5.6 x86-64 (one running in vSphere, the other in VMware Workstation)
Network = 192.168.0.0/24
Replication Master IP address = 192.168.0.21
Replication Slave IP address = 192.168.0.25
</pre>
<p><strong>#######Replication &#8211; Master#######</strong></p>
<p><strong>#Verify that SSL is enabled.</strong></p>
<pre class="brush: bash;">mysql -u root -p</pre>
<pre class="brush: sql;">show variables like '%ssl%';</pre>
<p><strong>#Enable SSL by adding &#8216;ssl&#8217; (without the quotes) in the section under [mysqld]</strong></p>
<pre class="brush: bash;">service mysqld restart</pre>
<p><strong>#Create a directory, log file, and change the ownership</strong></p>
<pre class="brush: bash;">
mkdir /var/log/mysql
touch /var/log/mysql/mysql-bin.log
chown -R mysql:mysql /var/log/mysql
</pre>
<p><strong>#Create a self-signed CA</strong></p>
<pre class="brush: bash;">
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout root-ca.key -out root-ca.crt
</pre>
<p><strong>#Create and sign a certificate for the replication MASTER</strong></p>
<pre class="brush: bash;">
openssl req -newkey rsa:2048 -days 365 -nodes -keyout master-db.key -out master-db.csr
openssl x509 -req -in master-db.csr -days 365 -CA root-ca.crt -CAkey root-ca.key -set_serial 01 -out master-db.crt
</pre>
<p><strong>#Create and sign a certificate for the replication SLAVE</strong></p>
<pre class="brush: bash;">
openssl req -newkey rsa:2048 -days 365 -nodes -keyout slave-db.key -out slave-db.csr
openssl x509 -req -in slave-db.csr -days 365 -CA root-ca.crt -CAkey root-ca.key -set_serial 01 -out slave-db.crt
</pre>
<p><strong>Copy root-ca.crt, slave-db.key, and slave-db.crt to the replication slave</strong></p>
<pre class="brush: bash;">
scp root-ca.crt root@192.168.0.25:/root
scp slave-db.crt root@192.168.0.25:/root
scp slave-db.key root@192.168.0.25:/root
</pre>
<p><strong>Edit my.cnf</strong></p>
<pre class="brush: bash;">vi /etc/my.cnf</pre>
<pre class="brush: plain;">
#Add the follwoing under [mysqld]
server-id=1
log_bin=/var/log/mysql/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
binlog_ignore_db = mysql

ssl-ca=&quot;/etc/mysql/openssl/root-ca.crt&quot;
ssl-cert=&quot;/etc/mysql/openssl/master-db.cert&quot;
ssl-key=&quot;/etc/mysql/openssl/master-db.key&quot;
ssl-cipher=DHE-RSA-AES256-SHA
</pre>
<p><strong>Create an account for the replication slave.</strong></p>
<pre class="brush: bash;">mysql -u root -p</pre>
<pre class="brush: sql;">
GRANT REPLICATION SLAVE ON *.* TO 'replication_user'@'%' IDENTIFIED BY 'averysecurepassword' REQUIRE SSL;
FLUSH PRIVILEGES;
</pre>
<p><strong>#######Replication &#8211; Slave#######</strong></p>
<p><strong>#Edit my.cnf</strong></p>
<pre class="brush: bash;">vi /etc/my.cnf</pre>
<pre class="brush: plain;">
#Add the following under [mysqld]
server-id=2
read_only
[/text]
1service mysqld restart</pre>
<p><strong>#Configure MySQL to be replication slave</strong></p>
<pre class="brush: bash;">mysql -u root -p</pre>
<pre class="brush: sql;">
CHANGE MASTER TO
MASTER_HOST='192.168.0.21',
MASTER_USER='replication_user',
MASTER_PASSWORD='averysecurepassword',
MASTER_LOG_FILE='mysql-bin.000001',
MASTER_LOG_POS=98,
MASTER_SSL=1,
MASTER_SSL_CA='/root/root-ca.crt',
MASTER_SSL_CERT='/root/slave-db.crt',
MASTER_SSL_KEY='/root/slave-db.key',
MASTER_SSL_CIPHER='DHE-RSA-AES256-SHA';

START SLAVE;
SHOW SLAVE STATUS \G;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/661/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/661/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/661/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/661/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/661/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/661/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/661/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/661/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/661/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/661/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/661/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/661/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/661/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/661/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=661&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/05/16/centos-5-6-and-mysql-replication-with-ssl-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS 5.6 and BIND DNS</title>
		<link>http://youritguy.wordpress.com/2011/05/14/centos-5-6-and-bind-dns/</link>
		<comments>http://youritguy.wordpress.com/2011/05/14/centos-5-6-and-bind-dns/#comments</comments>
		<pubDate>Sun, 15 May 2011 06:11:33 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[BIND]]></category>
		<category><![CDATA[named]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=647</guid>
		<description><![CDATA[I got the hang of configuring a BIND DNS server on CentOS 5.6. So far it is only for my PRIVATE home network. I guess I did this because I have too much time on my hands and that I have always been interested in knowing how the Internet and computer networks work. BIND and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=647&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got the hang of configuring a BIND DNS server on CentOS 5.6. So far it is only for my <strong>PRIVATE</strong> home network. I guess I did this because I have too much time on my hands and that I have always been interested in knowing how the Internet and computer networks work.<br />
BIND and bind-chroot are installed, the internal network is 192.168.0.0/24, and incoming traffic to UDP port 53 is allowed.<br />
Anyway here it goes. . .</p>
<p><strong>#Create and configure the named.conf file</strong></p>
<pre class="brush: bash;">vi /var/named/chroot/etc/named.conf</pre>
<pre class="brush: plain;">
options{
	recursion no;
	version &quot;Guess&quot;;
	directory &quot;/var/named&quot;;
	allow-transfer {&quot;none&quot;;};
	allow-query{
		127.0.0.1;
		192.168.0.0/24;
	};

	listen-on port 53 {any;};
};
</pre>
<p><strong>#Create and configure the forward zone file:</strong></p>
<pre class="brush: bash;">vi /var/named/chroot/var/named/nguyen.home.zone</pre>
<pre class="brush: plain;">
$ORIGIN example.com.
$TTL 1D; Default TTL value for the zone
@ IN SOA ns1.example.com. admin.example.com. (
20110514; Serial Number in YYYYMMDD format
3H; Time to refresh - 3 hours
1H; Time to retry - 1 hour
1W; Time to expire - 1 week
1D); Minimum TTL - 1 day

@ IN NS ns1.example.com.
ns1 IN A 192.168.0.21

linksys-router IN A 192.168.0.1
</pre>
<p><strong>#Create and configure the reverse zone file:</strong></p>
<pre class="brush: bash;">vi /var/named/chroot/var/named/example.com.rr.zone</pre>
<pre class="brush: plain;">
$ORIGIN 0.168.192.in-addr.arpa.
$TTL 3D
@ IN SOA ns1.example.com. hostmaster.example.com. (
20110514 ; Serial, todays date + todays serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D) ; Minimum TTL

	NS ns1. ; VERY IMPORTANT TO HAVE TAB BEFORE NS!

1 PTR linksys-router.example.com.
</pre>
<p><strong>#Add the forward and reverse zones into named.conf:</strong></p>
<pre class="brush: bash;">vi /var/named/chroot/etc/named.conf</pre>
<pre class="brush: plain;">
zone &quot;example.com&quot; IN {
type master;
file &quot;example.com.zone&quot;;
allow-update { none; };
};

zone &quot;0.168.192.in-addr.arpa&quot; IN {
type master;
file &quot;example.com.rr.zone&quot;;
allow-update {none;};
};
</pre>
<pre class="brush: bash;">
service named start
chkconfig named on
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/647/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=647&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/05/14/centos-5-6-and-bind-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up an email server</title>
		<link>http://youritguy.wordpress.com/2011/04/20/setting-up-an-email-server/</link>
		<comments>http://youritguy.wordpress.com/2011/04/20/setting-up-an-email-server/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 19:28:03 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Dovecot]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[SASL]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[TLS]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=635</guid>
		<description><![CDATA[DRAFT OS used = CentOS 5.6 x86-64 Postfix and Dovecot with SASL authentication and TLS encryption Check the status, start, restart, and stop Postfix # Edit main.cf #Postfix SASL authentication setup #Generate a self-signed certificate for Postfix #Enable TLS encryption for Postfix ======================================================== Check the status, start, restart, and stop Dovecot #Generate self-signed certificates for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=635&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>DRAFT</strong></p>
<p>OS used = CentOS 5.6 x86-64<br />
Postfix and Dovecot with SASL authentication and TLS encryption</p>
<pre class="brush: bash;">
yum remove sendmail
yum install dovecot postfix
</pre>
<p><strong>Check the status, start, restart, and stop Postfix</strong></p>
<pre class="brush: bash;">
service postfix status
service postfix start
service postfix restart
service postfix stop
</pre>
<p><strong># Edit main.cf</strong></p>
<pre class="brush: bash;">
vi /etc/postfix/main.cf
</pre>
<pre class="brush: plain;">
myhostname = mail.example.home
mydomain = example.home
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 192.168.1.0/24, 127.0.0.0/8
relay_domains =
home_mailbox = Maildir/
</pre>
<p><strong>#Postfix SASL authentication setup</strong></p>
<pre class="brush: plain;">
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
</pre>
<p><strong>#Generate a self-signed certificate for Postfix</strong></p>
<pre class="brush: plain;">openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/pki/tls/private/postfix.key -out /etc/pki/tls/certs/postfix.crt
</pre>
<p><strong>#Enable TLS encryption for Postfix</strong></p>
<pre class="brush: plain;">
smtpd_tls_key_file = etc/pki/tls/private/postfix.key
smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.crt

smtpd_tls_ciphers = high
smtpd_tls_protocols = TLSv1
smtpd_tls_mandatory_ciphers = high
smtpd_tls_mandatory_protocols = TLSv1

smtpd_tls_loglevel = 1
smtpd_tls_auth_only = yes
smtpd_tls_security_level = encrypt
tls_random_source = dev:/dev/urandom
smtpd_sasl_tls_security_options = noanonymous, noplaintext
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:/var/spool/postfix/smtpd_tls_cache
</pre>
<p>========================================================<br />
<strong>Check the status, start, restart, and stop Dovecot</strong></p>
<pre class="brush: bash;">
service dovecot status
service dovecot start
service dovecot restart
service dovecot stop
</pre>
<p><strong>#Generate self-signed certificates for dovecot</strong></p>
<pre class="brush: bash;">
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/pki/tls/private/dovecot.key -out /etc/pki/tls/certs/dovecot.crt
chown root:root /etc/pki/tls/private/dovecot.key
chmod 400 /etc/pki/tls/private/dovecot.key
chown root:root /etc/pki/tls/certs/dovecot.crt
chmod 444 /etc/pki/tls/certs/dovecot.crt
</pre>
<p><strong>Edit dovecot.conf</strong></p>
<pre class="brush: bash;">vi /etc/dovecot.conf</pre>
<pre class="brush: plain;">
ssl = yes
protocols = imaps
ssl_cert = /root/dovecot.crt
ssl_key = /root/dovecot.key
ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL

mail_location = maildir:~/Maildir
pop3_uidl_format = %08Xu%08Xv

# Required on x86_64 kernels
login_process_size = 64
</pre>
<p>========================================================</p>
<p><strong>A simple script to create users</strong></p>
<pre class="brush: bash;">
#!/bin/bash
echo Please enter a username:
read USERNAME
useradd $USERNAME
echo Please set the password:
passwd $USERNAME
mkdir /home/$USERNAME/Maildir
chown $USERNAME:$USERNAME /home/$USERNAME/Maildir
chmod -R 700 /home/$USERNAME/Maildir
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/635/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=635&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/04/20/setting-up-an-email-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS 5.6 and vsftpd</title>
		<link>http://youritguy.wordpress.com/2011/04/13/centos-5-6-and-vsftpd/</link>
		<comments>http://youritguy.wordpress.com/2011/04/13/centos-5-6-and-vsftpd/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 21:11:45 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=620</guid>
		<description><![CDATA[Install vsftpd Start, stop, restart, and check the status of vsftpd Location of vsftpd.conf Verify that vsftpd can support SSL Backup the original vsftpd.conf Edit vsftpd.conf Encrypt the FTP connection Use openSSL to generate a self-signed 2048-bit RSA certificate with a lifetime of 365 days Edit vsftpd.conf Misc. options to add to vsftpd.conf<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=620&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Install vsftpd</strong></p>
<pre class="brush: bash;">
yum install vsftpd
</pre>
<p><strong>Start, stop, restart, and check the status of vsftpd</strong></p>
<pre class="brush: bash;">
service vsftpd start
service vsftpd stop
service vsftpd restart
service vsftpd status
</pre>
<p><strong>Location of vsftpd.conf</strong></p>
<pre class="brush: plain;">
/etc/vsftpd/vsftpd.conf
</pre>
<p><strong>Verify that vsftpd can support SSL</strong></p>
<pre class="brush: bash;">
ldd /usr/sbin/vsftpd | grep libssl
</pre>
<p><strong>Backup the original vsftpd.conf</strong></p>
<pre class="brush: bash;">
cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.bak
</pre>
<p><strong>Edit vsftpd.conf</strong></p>
<pre class="brush: bash;">
vi /etc/vsftpd/vsftpd.conf
</pre>
<p><strong>Encrypt the FTP connection</strong><br />
<em>Use openSSL to generate a self-signed 2048-bit RSA certificate with a lifetime of 365 days</em></p>
<pre class="brush: bash;">
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/vsftpd/vsftpd.key -out /etc/vsftpd/vsftpd.crt

chmod 600  /etc/vsftpd/vsftpd.key
chmod 600  /etc/vsftpd/vsftpd.crt
</pre>
<p><em>Edit vsftpd.conf</em></p>
<pre class="brush: plain;">
ssl_enable=YES
ssl_sslv2=NO
ssl_sslv3=NO
ssl_tlsv1=YES

#Some ciphers you can use:
#RC4-MD5,RC4-SHA,AES128-SHA,AES256-SHA
#Use AES256-SHA if you are paranoid
ssl_ciphers=AES256-SHA

rsa_cert_file=/etc/vsftpd/vsftpd.crt
rsa_private_key_file=/etc/vsftpd/vsftpd.key

#Both login and file transfers are encrypted
force_local_logins_ssl=YES
force_local_data_ssl=YES

#Both login and file transfers are encrypted
allow_anon_ssl=YES
force_anon_logins_ssl=YES
force_anon_data_ssl=YES
</pre>
<p><strong>Misc. options to add to vsftpd.conf</strong></p>
<pre class="brush: plain;">
hide_ids=YES
force_dot_files=YES

#Directory for anonymous users
anon_root=/var/ftp/pub

#Uncomment to set the welcome banner
#banner_file=

#Allow/disallow anonymous users
anonymous_enable=YES

#Passive mode options
pasv_enable=YES
#pasv_addr_resolv=NO
#pasv_address=
#pasv_min_port=
#pasv_max_port=
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/620/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=620&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/04/13/centos-5-6-and-vsftpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>How to copy Blu-ray and DVD discs</title>
		<link>http://youritguy.wordpress.com/2011/04/12/how-to-copy-blu-ray-and-dvd-discs/</link>
		<comments>http://youritguy.wordpress.com/2011/04/12/how-to-copy-blu-ray-and-dvd-discs/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 18:45:35 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[AACS]]></category>
		<category><![CDATA[Blu-ray]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=615</guid>
		<description><![CDATA[This isn&#8217;t a step-by-step tutorial. I am just giving some pointers. Requirements: The trial version of AnyDVD can be used to rip DVDs (it&#8217;s great because it is constantly updated to handle DVD that may come with protection such as Disney&#8217;s Tangled). If I had the money, I&#8217;d purchase the AnyDVD HD version to rip [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=615&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>This isn&#8217;t a step-by-step tutorial. I am just giving some pointers.</em></p>
<p><strong>Requirements:</strong></p>
<pre class="brush: plain; toolbar: false;">
-Slysoft's AnyDVD
-MakeMKV
-An optical disc drive that can read Blu-ray/DVD discs
-Lots of hard drive space
-A brain (a big FUCK YOU to those that don't use their gray matter and can't figure things out but instead ask STUPID questions online)
</pre>
<p>The trial version of AnyDVD can be used to rip DVDs (it&#8217;s great because it is constantly updated to handle DVD that may come with protection such as Disney&#8217;s Tangled). If I had the money, I&#8217;d purchase the AnyDVD HD version to rip Blu-rays as well.</p>
<p>To rip Blu-rays, use MakeMKV&#8217;s &#8220;Backup disc&#8221; option to have the entire disc decrypted and copied into the hard drive.</p>
<p><strong><br />
Don&#8217;t bother asking about it online. . .but yes you can copy the discs that you rented (and it is cheaper too) <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/615/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=615&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/04/12/how-to-copy-blu-ray-and-dvd-discs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
		<item>
		<title>Angry Birds sends statistics back to data.flurry.com</title>
		<link>http://youritguy.wordpress.com/2011/03/13/angry-birds-sends-statistics-back-to-data-flurry-com/</link>
		<comments>http://youritguy.wordpress.com/2011/03/13/angry-birds-sends-statistics-back-to-data-flurry-com/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 06:57:51 +0000</pubDate>
		<dc:creator>youritguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aap.do]]></category>
		<category><![CDATA[Angry]]></category>
		<category><![CDATA[Birds]]></category>
		<category><![CDATA[capture]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[flurry.com]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[unencrypted]]></category>
		<category><![CDATA[Wifi]]></category>
		<category><![CDATA[Wireshark]]></category>

		<guid isPermaLink="false">http://youritguy.wordpress.com/?p=603</guid>
		<description><![CDATA[UPDATE 24MAR2011 Rovio&#8217;s privacy policy does state that &#8220;non-personal&#8221; information is collected. An excerpt of the privacy policy as of 24MAR2011: So, I was bored today and decided to fire up BT4 and use airodump to sniff my neighbor&#8217;s unencrypted wifi. People these days are so FUCKING STUPID when it comes to wireless security. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=603&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE 24MAR2011</strong><br />
Rovio&#8217;s privacy policy does state that &#8220;non-personal&#8221; information is collected.</p>
<pre class="brush: plain; toolbar: false;">

http://www.rovio.com/index.php?page=privacy-policy
</pre>
<p>An excerpt of the privacy policy as of 24MAR2011:</p>
<pre class="brush: plain; toolbar: false;">
Personal Data:

Rovio does not collect or use any personal data that may be used to identify or contact you. Rovio does not collect or use names, email addresses, photos, telephone numbers, credit cards numbers, account numbers or other information that would enable Rovio to identify you.

Non-personal data:

Rovio may use tools or third party analytical software to collect and use certain non-personal data that does not enable Rovio to identify you. The types of non-personal data Rovio may collect and use include, but are not limited to: (i) mobile device type and device properties; (ii) mobile device software platform and firmware; (iii) mobile phone carrier; (iv) geographical data no more accurate that metropolitan areas; (v) gamescore and achievements; (vi) other non-personal data as reasonably required by Rovio to enhance its services.

Rovio may use the collected data for purposes of analyzing usage of Angry Birds, managing and providing Angry Birds and to further develop Rovio’s services and products. Rovio reserves the right to use and disclose the collected non-personal data for purposes of advertisement by Rovio or Rovio’s partners.

Data Retention:

Rovio retains the information collected pursuant to this Privacy Policy for 12 months. Thereafter if the collected information if no longer needed for purposes specified in this Privacy Policy, Rovio shall delete all aforementioned information in its possession.
</pre>
<p>So, I was bored today and decided to fire up BT4 and use airodump to sniff my neighbor&#8217;s unencrypted wifi. People these days are so <strong>FUCKING STUPID</strong> when it comes to wireless security. The average Joe wastes a bunch of time twittering and Facebooking (is that even a word?) but don&#8217;t know shit about how the Internet works, how to build a computer, or how to secure a wireless network. </p>
<p>Anyway, my family is in possession of an iPad and someone loaded the Angry Birds (regular and the seasons) free version onto it. So the iPad was connected to my neighbor&#8217;s wifi and after looking at the airodump capture with Wireshark, I noticed that there was a strange file named <strong>aap.do</strong>. I decided to right-click and &#8220;Follow TCP stream&#8221; to see what its contents are. It turns out that someone in my family was playing Angry Birds Seasons on the iPad and connected to my neighbor&#8217;s wifi.</p>
<p>The aap.do file is sent to </p>
<pre class="brush: plain; toolbar: false;">data.flurry.com</pre>
<p> with the application name and version in the user-agent field.</p>
<pre class="brush: plain; toolbar: false;">
User-Agent=AngryBirdsSeasonsHDFree/1.2.0
</pre>
<p>The file&#8217;s contents seems to consist of the level(s) attempted, the number of birds used/available, whether the level was completed/failed/restarted, and the menu used (like levelselection, failed, paused, or completed). &#8220;levelselection&#8221; is spelled that way in the file.</p>
<p>Flurry seems to be a company that collects data on mobile applications and has offices in San Francisco and New York. If one was to go to
<pre class="brush: plain; toolbar: false;">data.flurry.com</pre>
<p> then there would be a simple message saying:</p>
<pre class="brush: plain; toolbar: false;">
Nothing to see here, please move along.
</pre>
<p>I don&#8217;t know if it is a privacy concern to anyone out there, but it is apparent that Angry Birds sends unencrypted data back to Flurry on game usage (I am pretty sure it is not the only one app to do so).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/youritguy.wordpress.com/603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/youritguy.wordpress.com/603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/youritguy.wordpress.com/603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/youritguy.wordpress.com/603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/youritguy.wordpress.com/603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/youritguy.wordpress.com/603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/youritguy.wordpress.com/603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/youritguy.wordpress.com/603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/youritguy.wordpress.com/603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/youritguy.wordpress.com/603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/youritguy.wordpress.com/603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/youritguy.wordpress.com/603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/youritguy.wordpress.com/603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/youritguy.wordpress.com/603/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=youritguy.wordpress.com&amp;blog=9078512&amp;post=603&amp;subd=youritguy&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy sd-like-enabled"></div>]]></content:encoded>
			<wfw:commentRss>http://youritguy.wordpress.com/2011/03/13/angry-birds-sends-statistics-back-to-data-flurry-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ddcf0d3a8c79aff71c321bdd21131335?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">youritguy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
