<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Tue, 24 Apr 2007 14:16:00 +0100</lastBuildDate><item><title>How to Migrate from White Box Linux 4 to CentOS 4.4</title><link>https://www.linickx.com/how-to-migrate-from-white-box-linux-4-to-centos-44</link><description>&lt;p&gt;There are somethings that you just never get round to, my nagios box was
still running whitebox linux, and I've finally gotten round "upgrading"
it to CentOS... yeah ok, upgrade is arguable, but you get my point.&lt;/p&gt;
&lt;p&gt;First off a &lt;strong&gt;warning: Don't do this !&lt;/strong&gt; All the documentation, for
CentOS, RHEL, Fedora, any redhat linux all say, clean installs are the
best way, and upgrades are not advised.... 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 !&lt;/p&gt;
&lt;p&gt;But, if you think it might be a laugh, the &lt;a href="http://www.centos.org/modules/smartfaq/faq.php?faqid=19"&gt;centos
documentation&lt;/a&gt;is
a bit old, and not 100% correct, so here is what I did. First up (&lt;em&gt;as
root - obviously&lt;/em&gt;), clear out your yum cache,and install the CentOS gpg
key.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;yum clean all
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Next, install some base centos packages, take not that some need to be
forced on&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;finally remove the whitebox rpm db.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;rpm -ev rpmdb-whitebox
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Move any "whitebox" mirrors still in &lt;em&gt;/etc/yum.repos.d&lt;/em&gt; and&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;yum install rpmdb-CentOS
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Once you have that sorted, you can complete the upgrade with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;yum update
reboot
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;amp; cross your fingers ;)&lt;br /&gt;
If you come across the following warnings while using yum: Warning,
could not load sqlite, falling back to pickle , I found...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;yum install python-sqlite
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Fixed the problem. And there we have it, all my boxes are now running
CentOS - yay - just in time to look at the CentOS 5 upgrade ;)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dependency Problems ?&lt;/strong&gt;&lt;br /&gt;
If a whitebox rpm is newer than the CentOS one, it won'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&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;rpm --force -Uvh Something-CentOS.rpm
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; If you're using something like &lt;a href="http://www.rootkit.nl/projects/rootkit_hunter.html"&gt;Root Kit
Hunter&lt;/a&gt;, you will
notice a load of md5 hashes fail, these are whitebox rpm's that didn't
need upgrading, to correct the problem you need to replace these with
CentOS versions.. example rkhunter output:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/sbin/init  [ BAD ]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Find which rpm, init belongs to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# rpm -q --whatprovides /sbin/init
SysVinit-2.85-34.3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and upgrade it&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 24 Apr 2007 14:16:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-04-24:how-to-migrate-from-white-box-linux-4-to-centos-44</guid><category>centos</category><category>Enterprise Linux</category><category>Enterprise Linux</category><category>how to</category><category>migrate</category><category>redhat</category><category>upgrade</category><category>wbel</category></item><item><title>Xfce 4.2.3.1 - I have a problem</title><link>https://www.linickx.com/xfce-4231-i-have-a-problem</link><description>&lt;p&gt;Sorry &lt;em&gt;yum friends&lt;/em&gt;, when I saw the &lt;a href="http://foo-projects.org/pipermail/xfce-announce/2005-November/000024.html"&gt;announcement from xfce about Xfce
4.2.3.1&lt;/a&gt;
I sighed, not because my love for xfce has changed, but I remember what
I'd forgotten.&lt;/p&gt;
&lt;p&gt;When my place of work moved office I &lt;em&gt;lost&lt;/em&gt; my white box build server
:-( as soon as I've got one, I'll get the rpms built, in the mean time
please see &lt;a href="http://www.xfce.org/"&gt;www.xfce.org&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 09 Nov 2005 20:41:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2005-11-09:xfce-4231-i-have-a-problem</guid><category>Blog</category><category>Enterprise Linux</category><category>Linux</category><category>rpm</category><category>wbel</category><category>xfce</category></item><item><title>Network Card Teaming on LINUX (How to)</title><link>https://www.linickx.com/network-card-teaming-on-linux-how-to</link><description>&lt;p&gt;Maybe it's just me, but I found it incredibly hard to find how to NIC
Teaming in linux similar to compaq network card teaming.&lt;/p&gt;
&lt;p&gt;Now I'm fully aware that hp provide an official "pack" (&lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=+ProLiant+Support+Pack+for++red+hat+3&amp;amp;btnG=Search"&gt;Google Search
Results
Here&lt;/a&gt;),
but what if you don't have a supported server ? - Like me ! I've
actually got an old hp netserver lp1000r.&lt;/p&gt;
&lt;p&gt;Well after an age of searching, I found &lt;a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-networkscripts-interfaces.html#S2-NETWORKSCRIPTS-INTERFACES-CHAN"&gt;redhat's page on the
issue.&lt;/a&gt;
, it was the usual scenario, if you don't know the right word, how can
the search engine find it ?&lt;/p&gt;
&lt;p&gt;For those that just want to get it working, below are the 3 config files
you need ( Save them in &lt;em&gt;/etc/sysconfig/network-scripts/&lt;/em&gt;) once you've
created them add&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;alias bond0 bonding&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;to &lt;em&gt;/etc/modules.conf&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;ifcfg-bon0&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-code"&gt;DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.2.0
NETMASK=255.255.255.0
IPADDR=192.168.1.1
USERCTL=no
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;ifcfg-eth0&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-code"&gt;DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;ifcfg-eth1&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-code"&gt;DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Once I'd updated modules.conf &amp;amp; created the above files I did a reboot
(to ensure bond0 get loaded into the kernel) . When the box finishes
rebooting you'll have a load balanced team. In my case a 200mb Ethernet
connection :cool:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-shell"&gt;[nick@WhiteBox nick]$ ifconfig -a
bond0     Link encap:Ethernet  HWaddr 00:30:6E:05:64:D7
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:373134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:274144 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:38984323 (37.1 Mb)  TX bytes:37004178 (35.2 Mb)

eth0      Link encap:Ethernet  HWaddr 00:30:6E:05:64:D7
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:186460 errors:0 dropped:0 overruns:0 frame:0
          TX packets:137072 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19476584 (18.5 Mb)  TX bytes:18475825 (17.6 Mb)
          Interrupt:11 Base address:0x1800 Memory:fb001000-fb001038

eth1      Link encap:Ethernet  HWaddr 00:30:6E:05:64:D7
          inet addr:192.168.2.101  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:186674 errors:0 dropped:0 overruns:0 frame:0
          TX packets:137072 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19508259 (18.6 Mb)  TX bytes:18530361 (17.6 Mb)
          Interrupt:11 Base address:0x1840 Memory:fb003000-fb003038

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:698888 errors:0 dropped:0 overruns:0 frame:0
          TX packets:698888 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:80164429 (76.4 Mb)  TX bytes:80164429 (76.4 Mb)
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 26 Aug 2005 14:18:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2005-08-26:network-card-teaming-on-linux-how-to</guid><category>Enterprise Linux</category><category>wbel</category></item><item><title>XFCE 4.2.2 Released</title><link>https://www.linickx.com/xfce-422-released</link><description>&lt;p&gt;XFCE 4.2.2 has been released, and to be honest I've struggled to get the
rpm rebuilds done... just no time :'( !&lt;/p&gt;
&lt;p&gt;Anyway the &lt;em&gt;official&lt;/em&gt; announcement was here [  &lt;/p&gt;
&lt;p&gt;http://foo-projects.org/pipermail/xfce-announce/2005-May/000021.html](http://foo-projects.org/pipermail/xfce-announce/2005-May/000021.html)&lt;/p&gt;
&lt;p&gt;You can update your whitebox installation using [LINICKX].com ! Check
that you have something like this in your &lt;span
class="code"&gt;/etc/yum.conf&lt;/span&gt;...&lt;/p&gt;
&lt;div class="code"&gt;

[LINICKX]  
name=LINICKX Yum Repo  
baseurl=https://www.linickx.com/files/rpm/whitebox/xfce-repo/

&lt;/div&gt;

&lt;p&gt;Then... from a shell do:&lt;/p&gt;
&lt;div class="shell"&gt;

&lt;span class="shell-prompt"&gt;root@localhost \#&lt;/span&gt; yum update xffm\\\*
xfwm4\\\* xfce\\\* xfdesktop

&lt;/div&gt;

&lt;p&gt;...and your done :cool:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 18 May 2005 16:54:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2005-05-18:xfce-422-released</guid><category>Announcements</category><category>Enterprise Linux</category><category>Linux</category><category>rpm</category><category>wbel</category><category>xfce</category></item></channel></rss>