<?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>Coretanium &#187; Linux</title>
	<atom:link href="http://www.coretanium.net/category/blog/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.coretanium.net</link>
	<description>tech blah blah</description>
	<lastBuildDate>Tue, 20 Sep 2011 07:21:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Perl inline replace</title>
		<link>http://www.coretanium.net/perl-inline-replace</link>
		<comments>http://www.coretanium.net/perl-inline-replace#comments</comments>
		<pubDate>Tue, 20 Sep 2011 07:21:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Perl Inline Replace]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=439</guid>
		<description><![CDATA[Replacing a string in a bunch of files using perl inline replace: perl -pi -e &#8216;s/ORIG/NEW/g&#8217;]]></description>
			<content:encoded><![CDATA[<p>Replacing a string in a bunch of files using perl inline replace:</p>
<p>perl -pi -e &#8216;s/ORIG/NEW/g&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/perl-inline-replace/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>S3FS on XenServer 5.6</title>
		<link>http://www.coretanium.net/s3fs-on-xenserver-5-6</link>
		<comments>http://www.coretanium.net/s3fs-on-xenserver-5-6#comments</comments>
		<pubDate>Sun, 07 Aug 2011 12:26:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=426</guid>
		<description><![CDATA[Get s3fs going on xenserver 5.6: yum remove fuse fuse* yum --enablerepo=base install yum-utils yumdownloader --enablerepo=base e2fsprogs-devel rpm --nodeps -Uvh e2fsprogs-devel*.rpm yum install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap cd /usr/local/src wget --no-check-certificate "https://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz?r=&#38;ts=1312707573&#38;use_mirror=kent" tar -zxff fuse-2.8.4.tar.gz cd fuse-2.8.4 ./configure --prefix=/usr &#38;&#38; make &#38;&#38; make install export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/ ldconfig modprobe [...]]]></description>
			<content:encoded><![CDATA[<pre>Get s3fs going on xenserver 5.6:</pre>
<pre class="brush: bash; gutter: false; first-line: 1">yum remove fuse fuse*
yum --enablerepo=base install yum-utils
yumdownloader --enablerepo=base e2fsprogs-devel
rpm --nodeps -Uvh e2fsprogs-devel*.rpm
yum install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap
cd /usr/local/src
wget --no-check-certificate "https://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz?r=&amp;ts=1312707573&amp;use_mirror=kent"
tar -zxff fuse-2.8.4.tar.gz
cd fuse-2.8.4
./configure --prefix=/usr &amp;&amp; make &amp;&amp; make install
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/
ldconfig
modprobe fuse
pkg-config --modversion fuse (confirm correct version)
cd ../
wget http://s3fs.googlecode.com/files/s3fs-1.59.tar.gz
tar -zxf s3fs-1.59.tar.gz
cd s3fs-1.59
./configure --prefix=/usr &amp;&amp; make &amp;&amp; make install
vi /etc/passwd-s3fs (add aws id and secret key in format xxxxx:xxxxx)
mkdir /mnt/s3drive
s3fs bucket /mnt/s3drive

dump all running vms/data to the AWS S3 cloud mount (/mnt/s3drive)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/s3fs-on-xenserver-5-6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL 9.0 on Debian lenny</title>
		<link>http://www.coretanium.net/postgresql-9-0-on-debian-lenny</link>
		<comments>http://www.coretanium.net/postgresql-9-0-on-debian-lenny#comments</comments>
		<pubDate>Wed, 05 Jan 2011 10:16:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=402</guid>
		<description><![CDATA[/etc/apt/sources.list deb http://backports.debian.org/debian-backports lenny-backports main deb http://backports.debian.org/debian-backports lenny-backports-sloppy main Install from the new target release: apt-get install -t lenny-backports postgresql-common apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0 http://lists.debian.org/debian-backports-announce/2010/10/msg00000.html]]></description>
			<content:encoded><![CDATA[<p>/etc/apt/sources.list</p>
<p><code><br />
deb http://backports.debian.org/debian-backports lenny-backports   main<br />
deb http://backports.debian.org/debian-backports lenny-backports-sloppy main<br />
</code></p>
<p>Install from the new target release:</p>
<p><code><br />
apt-get install -t lenny-backports postgresql-common<br />
apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0<br />
</code></p>
<p><a href="http://lists.debian.org/debian-backports-announce/2010/10/msg00000.html">http://lists.debian.org/debian-backports-announce/2010/10/msg00000.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/postgresql-9-0-on-debian-lenny/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RHCE</title>
		<link>http://www.coretanium.net/rhce</link>
		<comments>http://www.coretanium.net/rhce#comments</comments>
		<pubDate>Sun, 19 Dec 2010 21:56:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[RHCE]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=397</guid>
		<description><![CDATA[https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010134456250]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010134456250">https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010134456250</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/rhce/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL Database Import/Export</title>
		<link>http://www.coretanium.net/postgresql-database-importexport</link>
		<comments>http://www.coretanium.net/postgresql-database-importexport#comments</comments>
		<pubDate>Sun, 19 Dec 2010 21:55:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=395</guid>
		<description><![CDATA[Importing a database into pgsql: cat dbname.pgdump &#124; psql -d db_name Or psql -d db_name -f dbname.pgdump Exporting a database from pgsql: su &#8211; postgres pg_dump dbname > dbname.pgdump Exporting all databases from pgsql: pg_dumpall -o > all_dbs.pgdump psql -e template1 < all_dbs.pgdump]]></description>
			<content:encoded><![CDATA[<p>Importing a database into pgsql:</p>
<p><code>cat dbname.pgdump | psql -d db_name</code></p>
<p>Or</p>
<p><code>psql -d db_name -f dbname.pgdump</code></p>
<p>Exporting a database from pgsql:</p>
<p>su &#8211; postgres<br />
pg_dump dbname > dbname.pgdump</p>
<p>Exporting all databases from pgsql:</p>
<p>pg_dumpall -o > all_dbs.pgdump<br />
psql -e template1 < all_dbs.pgdump</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/postgresql-database-importexport/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 64-Bit Kernel Exploit</title>
		<link>http://www.coretanium.net/linux-64-bit-kernel-exploit</link>
		<comments>http://www.coretanium.net/linux-64-bit-kernel-exploit#comments</comments>
		<pubDate>Wed, 22 Sep 2010 21:25:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=380</guid>
		<description><![CDATA[https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-3081 https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-3301 Patch all 64-bit kernels]]></description>
			<content:encoded><![CDATA[<p>https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-3081</p>
<p>https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-3301</p>
<p>Patch all 64-bit kernels</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/linux-64-bit-kernel-exploit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix maximum email size</title>
		<link>http://www.coretanium.net/postfix-maximum-email-size</link>
		<comments>http://www.coretanium.net/postfix-maximum-email-size#comments</comments>
		<pubDate>Thu, 11 Mar 2010 14:23:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=360</guid>
		<description><![CDATA[The default &#8220;message_size_limit&#8221; is set to 10240000 bytes which is approximately 10MB. To change it, add/modify the message_size_limit line in your main.cf to; message_size_limit = 20480000 The above is roughly 20MB and is more than enough on a typical server.]]></description>
			<content:encoded><![CDATA[<p>The default &#8220;message_size_limit&#8221; is set to 10240000 bytes which is approximately 10MB. To change it, add/modify the message_size_limit line in your main.cf to;</p>
<p><code>message_size_limit = 20480000</code></p>
<p>The above is roughly 20MB and is more than enough on a typical server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/postfix-maximum-email-size/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qmail smtproutes</title>
		<link>http://www.coretanium.net/qmail-smtproutes</link>
		<comments>http://www.coretanium.net/qmail-smtproutes#comments</comments>
		<pubDate>Thu, 11 Mar 2010 14:19:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Qmail]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/?p=358</guid>
		<description><![CDATA[If you ever need to route mail destined for a certain domain through a smarthost you can edit/create the following file; /var/qmail/control/smtproutes The contents is straight forward&#8230; to relay mail destined for domain.com through smtp.yourdomain.com add the following; domain.com:smtp.yourdomain.com If you want to relay ALL mail through smtp.yourdomain.com add; :smtp.yourdomain.com]]></description>
			<content:encoded><![CDATA[<p>If you ever need to route mail destined for a certain domain through a smarthost you can edit/create the following file;</p>
<p><code>/var/qmail/control/smtproutes</code></p>
<p>The contents is straight forward&#8230; to relay mail destined for domain.com through smtp.yourdomain.com add the following;</p>
<p><code>domain.com:smtp.yourdomain.com</code></p>
<p>If you want to relay ALL mail through smtp.yourdomain.com add;</p>
<p><code>:smtp.yourdomain.com</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/qmail-smtproutes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell OMSA reports No controllers found.</title>
		<link>http://www.coretanium.net/dell-omsa-reports-no-controllers-found</link>
		<comments>http://www.coretanium.net/dell-omsa-reports-no-controllers-found#comments</comments>
		<pubDate>Tue, 09 Mar 2010 06:42:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.coretanium.net/dell-omsa-reports-no-controllers-found</guid>
		<description><![CDATA[During a routine scheduled upgrade window I upgraded to the latest Dell OMSA on a range of Dell PowerEdge servers running CentOS. After the upgrade, shell scripts that check the health of disks started reporting that no storage controllers can be found. # omreport storage pdisk controller=0 Invalid controller value. Read, controller=0 No controllers found. [...]]]></description>
			<content:encoded><![CDATA[<p>During a routine scheduled upgrade window I upgraded to the latest Dell OMSA on a range of Dell PowerEdge servers running CentOS. After the upgrade, shell scripts that check the health of disks started reporting that no storage controllers can be found.</p>
<p><code><br />
# omreport storage pdisk controller=0<br />
Invalid controller value. Read, controller=0<br />
No controllers found.<br />
</code></p>
<p>After some digging through the Dell mailling lists it became apparent that i&#8217;m missing the Dell Firmware Tools on my installation. Installing the firmware tools solved the problem.</p>
<p><code><br />
# yum -y install dell_ft_install</p>
<p># srvadmin-services.sh restart<br />
</code></p>
<p>Once done, all was fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/dell-omsa-reports-no-controllers-found/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerDNS Multiple MySQL Backends</title>
		<link>http://www.coretanium.net/powerdns-multiple-mysql-backends</link>
		<comments>http://www.coretanium.net/powerdns-multiple-mysql-backends#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:14:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PowerDNS]]></category>

		<guid isPermaLink="false">http://www.xnetcore.com/powerdns-multiple-mysql-backends/</guid>
		<description><![CDATA[http://doc.powerdns.com/modules.html To launch two backends of the same&#160;type, you can assign a name to each launch like this; launch=gmysql:connection1,gmysql:connection2 gmysql-connection1-host=10.10.10.1gmysql-connection1-user=pdnsgmysql-connection1-dbname=pdns gmysql-connection2-host=10.10.10.2gmysql-connection2-user=pdnsgmysql-connection2-dbname=pdns]]></description>
			<content:encoded><![CDATA[<p><font color="#0066cc"><a href="http://doc.powerdns.com/modules.html" target="_blank">http://doc.powerdns.com/modules.html</a><a href="http://doc.powerdns.com/modules.html"></a></font></p>
<p>To launch two backends of the same&nbsp;type, you can assign a name to each launch like this;</p>
<p>launch=gmysql:connection1,gmysql:connection2</p>
<p>gmysql-connection1-host=10.10.10.1<br />gmysql-connection1-user=pdns<br />gmysql-connection1-dbname=pdns</p>
<p>gmysql-connection2-host=10.10.10.2<br />gmysql-connection2-user=pdns<br />gmysql-connection2-dbname=pdns</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coretanium.net/powerdns-multiple-mysql-backends/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

