<?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>Joe's Linux Blog &#187; Centos</title>
	<atom:link href="http://joseph.freivald.com/linux/category/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://joseph.freivald.com/linux</link>
	<description>Linux Admin tips and tricks</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:37:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Qt 4.6.3 and qt-creator 1.3.1-1 updates for Centos 5.5</title>
		<link>http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/</link>
		<comments>http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 16:49:16 +0000</pubDate>
		<dc:creator>jfreivald</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Centos Qt QtSDK]]></category>
		<category><![CDATA[Qt Updates]]></category>
		<category><![CDATA[QtSDK]]></category>

		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=113</guid>
		<description><![CDATA[I&#8217;ve built the Qt 4.6.3 packages for Centos 5.5. To install, as root, type: rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator Also, I&#8217;ve updated the qt-creator package to 1.3.1-1.  The issue with the package was that on the 64-bit environment, qt-creator continues to look into /usr/lib/qtcreator for it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve built the Qt 4.6.3 packages for Centos 5.5.</p>
<p>To install, as root, type:</p>
<pre>rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm
yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator</pre>
<p>Also, I&#8217;ve updated the qt-creator package to 1.3.1-1.  The issue with the package was that on the 64-bit environment, qt-creator continues to look into /usr/lib/qtcreator for it&#8217;s plugins instead of /usr/lib64/qtcreator.  I added a link from /usr/lib/qtcreator to /usr/lib64/qtcreator in the x86_64 arch build.  This means that you should not install the 32-bit version and the 64 bit version on the same machine &#8211; but I&#8217;m not sure that was ever a good idea in the first place. <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Please post here if you have any issues with the Qt 4.6.3 build or the qtcreator 1.3.1-1.</p>
<p>I&#8217;ve also posted the public key that I use to sign the packages <a title="here" href="http://software.freivald.com/centos/RPM-GPG-KEY-software.freivald.com" target="_blank">here</a>.  To use it, as root, type:</p>
<pre>rpm --import http://software.freivald.com/centos/RPM-GPG-KEY-software.freivald.com</pre>
<p>NOTE: If you use yum-priorities you will need to set this repository  to the same level as &#8216;core&#8217; for these to install properly.  You&#8217;ll know  if you have a priorities issue because &#8216;yum install qt-creator&#8217; will  scream at you that you are missing libaries.  These libraries come in  the version that I compile but not in the Centos core distribution and  if the priorities are wrong it will pull those packages from core.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ALIX Centos Image</title>
		<link>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/</link>
		<comments>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 05:48:20 +0000</pubDate>
		<dc:creator>jfreivald</dc:creator>
				<category><![CDATA[ALIX]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Centos 5.5]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 5.5]]></category>

		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=87</guid>
		<description><![CDATA[UPDATE: A new version of the image is available.  It had &#8216;yum upgrade&#8217; executed on June 12th, 2010, which upgraded it to Centos Version 5.5.  The new image is located at http://software.freivald.com/centos/alix-centos-5.5-2gcf.gz.  There is also an MD5 sum file at http://software.freivald.com/centos/alix-centos-5.5-2gcf.md5. I could not find my 2 GB card.  I used the original image, copied [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: </strong>A new version of the image is available.  It had &#8216;yum upgrade&#8217; executed on June 12th, 2010, which upgraded it to Centos Version 5.5.  The new image is located at <a title="http://software.freivald.com/centos/alix-centos-5.5-2gcf.gz" href="http://software.freivald.com/centos/alix-centos-5.5-2gcf.gz" target="_blank">http://software.freivald.com/centos/alix-centos-5.5-2gcf.gz</a>.  There is also an MD5 sum file at <a title="http://software.freivald.com/centos/alix-centos-5.5-2gcf.md5" href="http://software.freivald.com/centos/alix-centos-5.5-2gcf.md5" target="_blank">http://software.freivald.com/centos/alix-centos-5.5-2gcf.md5</a>.</p>
<p>I could not find my 2 GB card.  I used the original image, copied it to a 4 GB card, performed the update, and then copied only the first 2 GB back into the new image.  Please provide feedback if the image does not work on a 2GB card.</p>
<p><strong>INFO: </strong>For those who are unfamiliar with Centos, it is a distribution that is binary compatible with RedHat Enterprise Linux.</p>
<p><strong>EDIT:</strong> We&#8217;ve been added to the ALIX web page.  Thank you for the testing and support from the PC-Engines crew.</p>
<p>I&#8217;ve been working with one of <a href="http://www.pcengines.ch/alix6e1.htm">PC Engine&#8217;s Alix 6e1 boards</a> a bit lately.  It&#8217;s a 500 MHz i586 AMD Geode-based embedded board with 256 MB of RAM that sells for under $150.  I was testing various distributions and found that Centos was pretty easy to adapt.  It wasn&#8217;t listed as supported on the PC Engines Web Site, so I wanted to contribute an image back to the community.</p>
<p>The image I&#8217;ve created has the following changes from a base install:</p>
<p>1.  It has no swap.</p>
<p>2.  It has the noatime and nodiratime options for all mounted partitions, although it uses ext3 because of the wal-wart-no-backup-power-for-shutdown configuration.</p>
<p>3.  Grub is configured for a 2-second timeout, and uses the serial port as the console &#8211; both for grub and the kernel.</p>
<p>4.  /etc/inittab was modified to use the serial console.  xdm was also disabled.</p>
<p>5.  All console settings are set for 38400 because that is what the initial boot-up bios uses on the ALIX 6e1 that I have.</p>
<p>6.  /etc/securetty has been modified to allow login via /dev/ttyS0 (tty0 and vc/1 are also left open because I used VMWare to modify the image).</p>
<p>7.  Fortunately, due to the stock Centos LVM configuration, no changes were necessary to fstab or the initrd image.</p>
<p>8.  Only a base install was performed.  Several of the &#8216;default&#8217; packages have been omitted (things like bluetooth, extra shells, smart card reader daemon, procmail, cups, NetworkManager, etc. )  Of course they are still available using YUM.</p>
<p>9.  Lots of the startup stuff is turned off (kudzu, gpm, netfs, iptables and others).  Use chkconfig to turn them back on if you want them.</p>
<p>10.  The root password is &#8211; yep, you guess it: password</p>
<p>11.  The eth0 (next to the USB ports) is configured for DHCP.  eth1 (next to the serial port) is configured for 192.168.1.50.  The hardware MAC lines have been commented out so that it will work with any box, but there is a slight chance that the order of the ports will get reversed.  This has never happened to me, but YMMV.  You can use either port to get the box up and running with ssh or putty if you don&#8217;t want to use or don&#8217;t have a serial interface.</p>
<p>12.  The CF card I used was A 2GB SanDisk Ultra 15MB/s.  Because it&#8217;s LVM based, you can use the LVM tools to shrink or grow the volumes.  Check out the LVM Howto for all the recipies you need.</p>
<p>13.  I updated the packages using &#8216;yum update&#8217; on the day it was created, so hopefully you won&#8217;t have as much downloading to do.  I did not enable centosplus, extras, or any other repositories, which makes the image binary compatible with RHEL 5.4.</p>
<p>To use the image,</p>
<p>1.  Download the image from <a title="http://software.freivald.com/centos/" href="http://software.freivald.com/centos/" target="_blank">http://software.freivald.com/centos/alix-centos-5.5-2gcf.gz</a>.</p>
<p>2.  Unzip the image with bunzip2 and copy it to your Compact Flash drive using &#8216;dd if=&lt;inputfile&gt; of=&lt;outputdevice&gt;&#8217;</p>
<p>3.  Install the Compact Flash into the ALIX.</p>
<p>4.  Attach your favorite terminal program to the ALIX platform.  I use putty.exe under Windows or minicom under linux.</p>
<p>5.  Apply power to the unit.  It should boot without any fuss.  If you don&#8217;t have a serial port, use eth0 (next to the USB) to have your DHCP router assign and address, or use eth1 (next to the serial port) for a static configuration.  eth1 is configured for 192.168.1.50 and the connector auto-rolls the cable if it needs to, so configure your computer for something like 192.168.1.51 and ping until the system is online.  Then use ssh, or putty.exe if you are using Windows, to access the unit.</p>
<p>6.  I recommend some changes: Obviously, the root password.  Also, add an MD5 password to the grub configuration, since without one anyone with a serial cable can pass parameters to the kernel.  You will also probably want to add more software using yum.  You might also want to create some scratch space under /tmp, or some of the /var/cache directories using tmpfs.  I didn&#8217;t do any of the these because they are simple, and different users will have different requirements, especially with the advancement of CF cards (wear leveling, 1000000+writes/block, etc.).  You will probably want to customize /etc/securetty for your installation.</p>
<p>With this setup, the initial boot up takes 1:32 and has 193MB of free memory.  Should be plenty for your embedded Linux server.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
			<wfw:commentRss>http://joseph.freivald.com/linux/2010/04/22/alix-centos-image/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Qt 4.6.2 packages for Centos 5.4</title>
		<link>http://joseph.freivald.com/linux/2010/02/25/qt-4-6-2-packages-for-centos-5-4/</link>
		<comments>http://joseph.freivald.com/linux/2010/02/25/qt-4-6-2-packages-for-centos-5-4/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 21:25:13 +0000</pubDate>
		<dc:creator>jfreivald</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=83</guid>
		<description><![CDATA[UPDATE: New post for the new packages: http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/ The Qt4 packages for Centos are updated to 4.6.2 and Qt Creator is updated to 1.3.1. To install: rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator Verify that the versions are coming from software.freivald.com and enjoy.]]></description>
			<content:encoded><![CDATA[<p>UPDATE: New post for the new packages: <a title="http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/" href="http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/" target="_self">http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/</a></p>
<p>The Qt4 packages for Centos are updated to 4.6.2 and Qt Creator is updated to 1.3.1.</p>
<p>To install:</p>
<pre>rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm</pre>
<pre>yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator</pre>
<p>Verify that the versions are coming from software.freivald.com and enjoy.  <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://joseph.freivald.com/linux/2010/02/25/qt-4-6-2-packages-for-centos-5-4/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Qt4 RPMs for Centos 5</title>
		<link>http://joseph.freivald.com/linux/2009/05/24/qtsdk-on-centos-53/</link>
		<comments>http://joseph.freivald.com/linux/2009/05/24/qtsdk-on-centos-53/#comments</comments>
		<pubDate>Sun, 24 May 2009 18:03:18 +0000</pubDate>
		<dc:creator>jfreivald</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[Linux Centos Qt QtSDK]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://joseph.freivald.com/linux/?p=11</guid>
		<description><![CDATA[UPDATE; New post for the new packages: http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/ UPDATE: Nokia released Qt 4.6.0 and qt-creator 1.3.0 today.  The new RPMs are compiled and stored in the repository.  &#8216;yum update&#8217; should be sufficient to grab the new ones.  I also changed the directory to reflect Centos 5.4 instead of 5.3.  Let me know of any issues. [...]]]></description>
			<content:encoded><![CDATA[<p>UPDATE; New post for the new packages: <a title="http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/" href="http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/" target="_self">http://joseph.freivald.com/linux/2010/06/09/qt-4-6-3-and-qt-creator-1-3-1-1-updates-for-centos-5-5/</a></p>
<p>UPDATE: Nokia released Qt 4.6.0 and qt-creator 1.3.0 today.  The new RPMs are compiled and stored in the repository.  &#8216;yum update&#8217; should be sufficient to grab the new ones.  I also changed the directory to reflect Centos 5.4 instead of 5.3.  Let me know of any issues.</p>
<p>&#8211;JATF</p>
<p>Want to get the Qt SDK working on Centos 5.3?</p>
<p>Quick instructions:</p>
<pre>rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm</pre>
<pre>yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator</pre>
<p>Verify that the versions are coming from software.freivald.com and install.  <img src='http://joseph.freivald.com/linux/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Longer story:</p>
<p>All of the RPM&#8217;s described in this post are in a yum repository that you can access by installing <a href="http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm">this RPM</a>.  It includes both x86_64 and i386 repositories that are automatically selected based on your architecture.</p>
<p>The first problem: the FcFreeTypeQueryFace problem that is very well described <a href="http://theitdepartment.wordpress.com/2009/03/15/centos-qt-fcfreetypequeryface/">here</a>, with a manual compile and upgrade way around it.  I thought I would go one step further and create an RPM.  Here is what I did:</p>
<p>I started with <a href="http://fontconfig.org/release/fontconfig-2.5.93.tar.gz">this</a> source file from fontconfig.org and <a href="ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/fontconfig-2.4.1-7.el5.src.rpm">this</a> SRPM from redhat.com, modified the spec file from the SRPM because of a changed config file location, and created <a href="http://software.freivald.com/centos/5.3/"> these </a> RPM files for you to install.</p>
<p>The second problem:  the QtSDK is built against several other libraries that are newer than provided with CentOS 5.3.  Rather than update those libraries, I&#8217;ve opted to compile RPMs for qt4 and qt-creator for CentOS 5.3.  There are all new packages for them in the repository.  They upgrade the shipped version (4.2.1) to the new version.  They should be binary compatible, since theoretically Qt only breaks binary backwards compatibility on a major revision number change, but I don&#8217;t have any real way to test this.  Feel free to post any problems you encounter.</p>
<p>The third problem: qt-creator isn&#8217;t included with the qt4 source.  I created it as its own package.  &#8216;yum install qt-creator&#8217; to install it by itself.</p>
<p>Hopefully after installing the repository package, a</p>
<pre>yum update</pre>
<p>and everything should &#8216;just work&#8217;.</p>
<p>Oh, and feel free to use the &#8216;joewidgets&#8217; and &#8216;joewidgets-devel&#8217; packages.  They include some widgets that I use for other projects, primarily a back-port of the KLed widget to QLed that removed KDE dependancies, and a multi-state button with configurable colors for each state.  The &#8216;devel&#8217; package includes designer plugins that also work in qt-creator.  Source for those are published in the srpms directory.</p>
<p>&#8211;JATF</p>
]]></content:encoded>
			<wfw:commentRss>http://joseph.freivald.com/linux/2009/05/24/qtsdk-on-centos-53/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
