<?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>[LINICKX].com &#187; Enterprise Linux</title>
	<atom:link href="http://www.linickx.com/tag/enterprise-linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linickx.com</link>
	<description>Moments of Genius followed by Trash.</description>
	<lastBuildDate>Thu, 17 May 2012 10:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>apc.php for rhel / centos</title>
		<link>http://www.linickx.com/3616/apc-php-for-rhel-centos</link>
		<comments>http://www.linickx.com/3616/apc-php-for-rhel-centos#comments</comments>
		<pubDate>Wed, 16 May 2012 14:39:17 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=3616</guid>
		<description><![CDATA[Note to self: The apc.php (script for monitroing apc performance) is stored in &#8211; /usr/share/doc/php-pecl-apc-3.1.3p1 Copyright &#169; 2012 [LINICKX].com. This Feed is for personal non-commercial use only. Please check my Site Terms and Conditions for full details on copyrights. If &#8230; <a href="http://www.linickx.com/3616/apc-php-for-rhel-centos">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Note to self: The apc.php (<em>script for monitroing apc performance</em>) is stored in &#8211; <code>/usr/share/doc/php-pecl-apc-3.1.3p1</code></p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/3616/apc-php-for-rhel-centos/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Minute CentOS/RHEL VPN</title>
		<link>http://www.linickx.com/3181/5-minute-centosrhel-vpn</link>
		<comments>http://www.linickx.com/3181/5-minute-centosrhel-vpn#comments</comments>
		<pubDate>Sun, 23 Jan 2011 09:51:09 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.linickx.com/?p=3181</guid>
		<description><![CDATA[I&#8217;m looking at running two servers on EC2; as we all know the most important thing about running services in the cloud is encryption! Whilst googling on how to setup a host-to-host IPSEC VPN I was surprised at how easy &#8230; <a href="http://www.linickx.com/3181/5-minute-centosrhel-vpn">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m looking at running two servers on EC2; as we all know the most important thing about running services in the cloud is <strong>encryption</strong>!</p>
<p>Whilst googling on how to setup a host-to-host IPSEC VPN I was surprised at how easy it is&#8230;</p>
<p>On Host1 (192.168.56.101)&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ipsec1
DST=192.168.56.102
TYPE=IPSEC
ONBOOT=no
IKE_METHOD=PSK
[root@CentOS1 ~]#
[root@CentOS1 ~]# cat /etc/sysconfig/network-scripts/keys-ipsec1
IKE_PSK=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[root@CentOS1 ~]#
[root@CentOS1 ~]# ifup ipsec1
</pre>
<p>On host2 (192.168.56.102)&#8230;</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS2 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ipsec1
DST=192.168.56.101
TYPE=IPSEC
ONBOOT=no
IKE_METHOD=PSK
[root@CentOS2 ~]#
[root@CentOS2 ~]# cat /etc/sysconfig/network-scripts/keys-ipsec1
IKE_PSK=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[root@CentOS2 ~]#
[root@CentOS2 ~]#ifup ipsec1
</pre>
<p>&#8230; done!!!</p>
<pre class="brush: bash; title: ; notranslate">
[root@CentOS1 ~]# tcpdump -n -i eth1 host 192.168.56.102
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
09:46:37.306292 IP 192.168.56.101 &gt; 192.168.56.102: AH(spi=0x0aff2b10,seq=0x203): ESP(spi=0x00a0a3cc,seq=0x203), length 84
09:46:37.310197 IP 192.168.56.102 &gt; 192.168.56.101: AH(spi=0x09f82154,seq=0x203): ESP(spi=0x098f0ff9,seq=0x203), length 68
09:46:38.175048 IP 192.168.56.101 &gt; 192.168.56.102: AH(spi=0x0aff2b10,seq=0x204): ESP(spi=0x00a0a3cc,seq=0x204), length 84
09:46:38.179017 IP 192.168.56.102 &gt; 192.168.56.101: AH(spi=0x09f82154,seq=0x204): ESP(spi=0x098f0ff9,seq=0x204), length 68
09:46:39.313583 IP 192.168.56.101 &gt; 192.168.56.102: AH(spi=0x0aff2b10,seq=0x205): ESP(spi=0x00a0a3cc,seq=0x205), length 84
09:46:39.316427 IP 192.168.56.102 &gt; 192.168.56.101: AH(spi=0x09f82154,seq=0x205): ESP(spi=0x098f0ff9,seq=0x205), length 68

6 packets captured
6 packets received by filter
0 packets dropped by kernel
[root@CentOS1 ~]#
</pre>
<p>Now this is a simple IKE pre-shared key vpn, you might want to google for using certificates for stronger authentication, you can also edit /etc/racoon/racoon.conf  to change your IPSEC parameters.</p>
<p>Reference: <a href="http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-vpn.htm">http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-vpn.html</a></p>
<p><strong>UPDATE: To make this work in EC2, <a href="http://www.linickx.com/archives/3195/centosredhat-ipsec-and-ec2">you need to enable NAT-T see my hack here</a>!</strong></p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/3181/5-minute-centosrhel-vpn/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel 3945ABG Wireless / WiFi Card on CentOS 5</title>
		<link>http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5</link>
		<comments>http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5#comments</comments>
		<pubDate>Thu, 24 May 2007 10:39:49 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/291/intel-3945abg-wireless-wifi-card-on-centos-5/</guid>
		<description><![CDATA[I&#8217;ve taken to using CentOS on my servers, and fedora on my Laptop. New job, means new laptop, and to avoid fedora update hell, I thought I&#8217;d try CentOS on my laptop. All seems good other than my wifi card &#8230; <a href="http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve taken to using CentOS on my servers, and fedora on my Laptop. New job, means new laptop, and to avoid fedora update hell, I thought I&#8217;d try CentOS on my laptop.</p>
<p>All seems good other than my wifi card not being detected, and for some reason googling for &#8220;<a href="http://www.google.com/search?q=%22centos+5%22+intel+3945">centos 5 intel 3945</a>&#8221; didn&#8217;t provide a working anserwer, actually I found the answer by googling for &#8220;<a href="http://www.google.com/search?q=Supplementary+disc+%22centos+5%22">supplementary disk centos 5</a>&#8221; which finds <a href="http://www.centos.org/modules/newbb/viewtopic.php?post_id=26959&amp;topic_id=8469">this thread</a> that says&#8230;</p>
<p>Install dag&#8217;s repo (<em><a href="http://dag.wieers.com/rpm/packages/rpmforge-release/">this rpm</a></em>), and then install dkms-ipw3945 (<em>yum will pick up the dependancies</em>)</p>
<pre class="brush: plain; title: ; notranslate">yum install dkms-ipw3945</pre>
<p>Next enable network manager&#8230;</p>
<pre class="brush: plain; title: ; notranslate">
chkconfig --level 345 NetworkManager on
chkconfig --level 345 NetworkManagerDispatcher on
</pre>
<p>reboot (seriously) and when you next log in you&#8217;ll get a little icon in you system tray where you can manage your WiFi <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/291/intel-3945abg-wireless-wifi-card-on-centos-5/feed</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>How to Migrate from White Box Linux 4 to CentOS 4.4</title>
		<link>http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44</link>
		<comments>http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44#comments</comments>
		<pubDate>Tue, 24 Apr 2007 14:16:47 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wbel]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/269/how-to-migrate-from-white-box-linux-4-to-centos-44/</guid>
		<description><![CDATA[There are somethings that you just never get round to, my nagios box was still running whitebox linux, and I&#8217;ve finally gotten round &#8220;upgrading&#8221; it to CentOS&#8230; yeah ok, upgrade is arguable, but you get my point. First off a &#8230; <a href="http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are somethings that you just never get round to, my nagios box was still running whitebox linux, and I&#8217;ve finally gotten round &#8220;upgrading&#8221; it to CentOS&#8230; yeah ok, upgrade is arguable, but you get my point.</p>
<p>First off a <strong>warning: Don&#8217;t do this !</strong> All the documentation, for CentOS, RHEL, Fedora, any redhat linux all say, clean installs are the best way, and upgrades are not advised&#8230;. therefore I offer no support or warranty that this will work, in fact, I you advise you to read this post, but step away from your consoles !</p>
<p>But, if you think it might be a laugh, the <a href="http://www.centos.org/modules/smartfaq/faq.php?faqid=19">centos documentation </a>is a bit old, and not 100% correct, so here is what I did. First up (<em>as root &#8211; obviously</em>), clear out your yum cache,and install the CentOS gpg key.</p>
<pre>
yum clean all
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4</pre>
<p>Next, install some base centos packages, take not that some need to be forced on</p>
<pre>
rpm -Uvh --nodeps http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/centos-release-4-4.2.i386.rpm
rpm -ivh http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-4.2.1.i386.rpm
rpm -ivh http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.i386.rpm
rpm -ivh http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/sqlite-3.3.3-1.2.i386.rpm
rpm -Uvh --force http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
rpm -Uvh --nodeps http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/yum-2.4.3-1.c4.noarch.rpm</pre>
<p>finally remove the whitebox rpm db.</p>
<pre>
rpm -ev rpmdb-whitebox</pre>
<p>Move any &#8220;whitebox&#8221; mirrors still in <em>/etc/yum.repos.d</em> and</p>
<pre>
yum install rpmdb-CentOS</pre>
<p>Once you have that sorted, you can complete the upgrade with</p>
<pre>
yum update
reboot</pre>
<p>&amp; cross your fingers <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
If you come across the following warnings while using yum: Warning, could not load sqlite, falling back to pickle , I found&#8230;</p>
<pre>
yum install python-sqlite</pre>
<p>Fixed the problem. And there we have it, all my boxes are now running CentOS &#8211; yay &#8211; just in time to look at the CentOS 5 upgrade <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Dependency Problems ?</strong><br />
If a whitebox rpm is newer than the CentOS one, it won&#8217;t get upgraded, this might cause problems when installing new packages via yum. To solve the problem download the rpm manually from http://www.centos.org/modules/tinycontent/index.php?id=13 and force an upgrade</p>
<pre>
rpm --force -Uvh Something-CentOS.rpm</pre>
<p><strong>UPDATE:</strong> If you&#8217;re using something like <a href="http://www.rootkit.nl/projects/rootkit_hunter.html">Root Kit Hunter</a>, you will notice a load of md5 hashes fail, these are whitebox rpm&#8217;s that didn&#8217;t need upgrading, to correct the problem you need to replace these with CentOS versions.. example rkhunter output:</p>
<pre>
/sbin/init  [ BAD ]
</pre>
<p>Find which rpm, init belongs to</p>
<pre>
# rpm -q --whatprovides /sbin/init
SysVinit-2.85-34.3
</pre>
<p>and upgrade it</p>
<pre>
wget http://www.mirrorservice.org/sites/mirror.centos.org/4.4/os/i386/CentOS/RPMS/SysVinit-2.85-34.3.i386.rpm
rpm --force -Uvh SysVinit-2.85-34.3.i386.rpm
</pre>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tripwire 2.4.1.1 rpm for CentOS, Redhat ( RHEL ) 4</title>
		<link>http://www.linickx.com/281/tripwire-2411-rpm-for-centos-redhat-rhel-4</link>
		<comments>http://www.linickx.com/281/tripwire-2411-rpm-for-centos-redhat-rhel-4#comments</comments>
		<pubDate>Tue, 17 Apr 2007 13:28:23 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpms]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/281/tripwire-2411-rpm-for-centos-redhat-rhel-4/</guid>
		<description><![CDATA[Following a request I&#8217;ve rebuilt a later tripwire rpm (2.4.1.1); I think at this point it would be prudent to point out that the rpms found here are not maintained, and I do not offer any kind of support &#8211; &#8230; <a href="http://www.linickx.com/281/tripwire-2411-rpm-for-centos-redhat-rhel-4">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Following <a href="http://www.linickx.com/blog/archives/229/tripwire-rpm-for-rhel-4-wbel-4-centos-4/#comments">a request</a> I&#8217;ve rebuilt a later tripwire rpm (<em>2.4.1.1</em>); I think at this point it would be prudent to point out that the <a href="http://www.linickx.com/files/rpm/">rpms found here</a> are not maintained, and I do not offer any kind of support &#8211; you use them at your own risk &#8211; but you&#8217;re welcome to make requests !</p>
<p align="center">  <a href="http://www.linickx.com/files/rpm/whitebox/4/i386/tripwire-2.4.1.1-1.i386.rpm">tripwire-2.4.1.1-1.i386.rpm</a></p>
<p>My Yum repo has also been updated, <a href="http://www.linickx.com/files/rpm/linickx-whitebox.repo">config file here</a> <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/281/tripwire-2411-rpm-for-centos-redhat-rhel-4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

