<?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>Tequila Fish &#187; redhat</title>
	<atom:link href="http://www.tequilafish.com/tag/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tequilafish.com</link>
	<description>Ran-dumb ramblings of me...</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:30:47 +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>Yum: Cannot find a valid baseurl for repo: core</title>
		<link>http://www.tequilafish.com/2006/10/25/yum-cannot-find-a-valid-baseurl-for-repo-core/</link>
		<comments>http://www.tequilafish.com/2006/10/25/yum-cannot-find-a-valid-baseurl-for-repo-core/#comments</comments>
		<pubDate>Wed, 25 Oct 2006 22:17:40 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.tequilafish.com/2006/10/25/yum-cannot-find-a-valid-baseurl-for-repo-core/</guid>
		<description><![CDATA[I went to update my Fedora Core 5 machine today, and received the following error: [root ~] yum check-update Loading "installonlyn" plugin Setting up repositories core [1/3] Cannot find a valid baseurl for repo: core Error: Cannot find a valid baseurl for repo: core I tried running yum clean all but it didn't help. After [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.tequilafish.com%2F2006%2F10%2F25%2Fyum-cannot-find-a-valid-baseurl-for-repo-core%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.tequilafish.com%2F2006%2F10%2F25%2Fyum-cannot-find-a-valid-baseurl-for-repo-core%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I went to update my Fedora Core 5 machine today, and received the following error:<br />
<code>[root ~] yum check-update<br />
Loading "installonlyn" plugin<br />
Setting up repositories<br />
core                                                                 [1/3]<br />
Cannot find a valid baseurl for repo: core<br />
Error: Cannot find a valid baseurl for repo: core</code><br />
I tried running <strong><tt>yum clean all</tt></strong> but it didn't help.  After looking around I found that all of my repo files in <strong><tt>/etc/yum.repos.d/</tt></strong> had their <tt>baseurl</tt> values commented out.  Don't ask me how that happened, I have no idea.  Simply un-commenting all the <tt>baseurl</tt> values in all my repo files fixed the problem, and yum is once again running as expected.  So if you run into this problem, make sure everything is set up right in <strong><tt>/etc/yum.repos.d/*.repo</tt></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tequilafish.com/2006/10/25/yum-cannot-find-a-valid-baseurl-for-repo-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PDFlib Lite as a PHP module on Fedora Core 4</title>
		<link>http://www.tequilafish.com/2006/05/23/installing-pdflib-lite-as-a-php-module-on-fedora-core-4/</link>
		<comments>http://www.tequilafish.com/2006/05/23/installing-pdflib-lite-as-a-php-module-on-fedora-core-4/#comments</comments>
		<pubDate>Tue, 23 May 2006 23:15:21 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[pdflib]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.tequilafish.com/2006/05/23/installing-pdflib-lite-as-a-php-module-on-fedora-core-4/</guid>
		<description><![CDATA[The instructions for doing so (here) seemed straightforward enough, but I ran into a few problems. So here's how I got PDFLib working with my PHP install on Fedora Core 4. First we need to build PDFlib Lite from Source. Download it from here. Unpack it, then: ./configure make make install Easy enough. Now: yum [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.tequilafish.com%2F2006%2F05%2F23%2Finstalling-pdflib-lite-as-a-php-module-on-fedora-core-4%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.tequilafish.com%2F2006%2F05%2F23%2Finstalling-pdflib-lite-as-a-php-module-on-fedora-core-4%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The instructions for doing so (<a href="http://www.pdflib.com/products/pdflib/info/PDFlib-in-PHP-HowTo.pdf">here</a>) seemed straightforward enough, but I ran into a few problems.  So here's how I got PDFLib working with my PHP install on Fedora Core 4.</p>
<p>First we need to build PDFlib Lite from Source.  Download it from <a href="http://www.pdflib.com/products/pdflib/download-source.html">here</a>.  Unpack it, then:<br />
<code>./configure<br />
make<br />
make install</code><br />
Easy enough.  Now:<br />
<code>yum install automake<br />
yum install php-devel<br />
pecl install pdflib</code><br />
(Note: <tt>php-devel</tt> is required because we need <strong><tt>phpize</tt></strong> which is used by the <tt>pecl</tt> command.)</p>
<p>The PECL install will ask you a question: "Path to PDFlib installation?"  This is where I ran into problems.  You must put <strong><tt>/usr/local/</tt></strong> and NOT <strong><tt>/usr/local/include</tt></strong> because the script is hardcoded to look inside the include directory automatically.  Once PECL finds <tt>pdflib.h</tt> it will continue and finish compiling our shared object, <strong><tt>pdf.so</tt></strong>.  The script will install it for us in <strong><tt>/usr/lib/php/modules/</tt></strong><br />
Now we just have to tell PHP to load the SO.  Open up <tt>php.ini</tt> and add the following line:<br />
<code>extension=pdf.so</code><br />
Save &#038; exit, and restart your Apache with <strong><tt>apachectl graceful</tt></strong>.  Now browse to a file containing the <tt>phpinfo()</tt> function and check to see if PDFlib is now active.  If you see it, you're good to go!</p>
<p><strong>NOTE:</strong> I ran into a problem with RPM GPG Keys at the <tt>automake install</tt> step.  I was getting the following error:<br />
<code>warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID db42a60e<br />
public key not available for autoconf-2.59-5.noarch.rpm<br />
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora<br />
The GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x4F2A6FD2)<br />
is already installed but is not the correct key for this package.<br />
Check that this is the correct key for the "Fedora Core 4 - i386 - Base" repository.</code><br />
To get around this we need to import all the keys by run the following command:<br />
<code>rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*</code><br />
I found this solution in <a href="http://www.redhat.com/archives/fedora-maintainers/2005-July/msg00070.html">this thread</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tequilafish.com/2006/05/23/installing-pdflib-lite-as-a-php-module-on-fedora-core-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red Hat Fedora Linux: Add an additional IP to your network card.</title>
		<link>http://www.tequilafish.com/2006/02/27/red-hat-fedora-linux-add-an-additional-ip-to-your-network-card/</link>
		<comments>http://www.tequilafish.com/2006/02/27/red-hat-fedora-linux-add-an-additional-ip-to-your-network-card/#comments</comments>
		<pubDate>Mon, 27 Feb 2006 22:38:08 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.tequilafish.com/2006/02/27/red-hat-fedora-linux-add-an-additional-ip-to-your-network-card/</guid>
		<description><![CDATA[Adding an additional IP or IPs to your network card in Linux is easy. Here's how I did it in my Fedora Core 4 installation: cd /etc/sysconfig/network-scripts/ cp ifcfg-eth0 ifcfg-eth0:0 Now you will need to open your newly created ifcfg-eth0:0 file in your favorite editor and modify it to fit your needs. The two lines [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.tequilafish.com%2F2006%2F02%2F27%2Fred-hat-fedora-linux-add-an-additional-ip-to-your-network-card%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.tequilafish.com%2F2006%2F02%2F27%2Fred-hat-fedora-linux-add-an-additional-ip-to-your-network-card%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Adding an additional IP or IPs to your network card in Linux is easy.  Here's how I did it in my Fedora Core 4 installation:<br />
<code>cd /etc/sysconfig/network-scripts/<br />
cp ifcfg-eth0 ifcfg-eth0:0</code><br />
Now you will need to open your newly created <tt>ifcfg-eth0:0</tt> file in your favorite editor and modify it to fit your needs.  The two lines you MUST change are the following, the rest are optional:<br />
<code>DEVICE=eth0:0<br />
IPADDR=192.x.x.x</code><br />
Of course you will want to fill in the <tt>IPADDR</tt> value to fit your needs.</p>
<p>Now, to make the changes take effect, you will need to bring your new IP up by issuing the following command:<br />
<code>./ifup eth0:0</code><br />
Or if you want you can just restart the entire network:<br />
<code>/etc/rc.d/init.d/network reload</code><br />
There you go!  Run <strong><tt>ifconfig</tt></strong> and you should see your new IP assigned to <tt>eth0:0</tt>.  It should look something like this:<br />
<code>eth0:0    Link encap:Ethernet  HWaddr 00:D0:B7:B7:XX:XX<br />
inet addr:192.168.1.XX  Bcast:192.168.1.255  Mask:255.255.255.0<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</code><br />
You can add even more IPs by repeating this process and incrementing the value of <tt>eth0:0</tt>, for example you can add <tt>eth0:1</tt>, <tt>eth0:2</tt>, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tequilafish.com/2006/02/27/red-hat-fedora-linux-add-an-additional-ip-to-your-network-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

