<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://bliki.rimuhosting.com/rdf'>
    <s:Snip rdf:about='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/distros/RHEL+4'
         s:cUser='yves'
         s:oUser=''
         s:mUser='retep'>
        <s:name>knowledgebase/linux/distros/RHEL 4</s:name>
        <s:content>&#xD;&#xA;1 RHEL - RimuHosting Enterprise Linux 4 notes&#xD;&#xA;&#xD;&#xA;1.1 Switch To Centos4&#xD;&#xA;&#xD;&#xA;RimuHosting build the RPMs for the RimuHosting EL4 distro (based on RedHat&apos;s source RPMs).&#xD;&#xA;&#xD;&#xA;Due to the number of pending packages and the amount of testing that would be required to ensure there were no &apos;breakages&apos;  it has been a while since we have pushed up new RPMs to the RHEL4 repository.  &#xD;&#xA;&#xD;&#xA;We recommend that RHEL4 users switch to the Centos4 apt repository instead.  This repository is compatible with ours.  A number of users have made this change and it is working well.  Minimal (just the extra/new/updated) package updates will be required after an apt-get update; apt-get upgrade.&#xD;&#xA;&#xD;&#xA;To change the sources.list:&#xD;&#xA;&#xD;&#xA;{code}&#xD;&#xA;{&#xD;&#xA;# add a centos4 line (includes centosplus with PHP 5.1 and MySQL 5&#xD;&#xA;if ! grep -qai &apos;^rpm &quot;http://mirror.centos.org/centos&quot;&apos; /etc/apt/sources.list ; then&#xD;&#xA;echo &apos;rpm &quot;http://mirror.centos.org/centos&quot; /4/apt/i386 os updates addons centosplus&apos; &gt;&gt; /etc/apt/sources.list&#xD;&#xA;fi&#xD;&#xA;# comment out the RHEL4 lines&#xD;&#xA;sed --in-place &apos;s%^rpm http:\//apt.rimuhosting.com rhel/4%#rpm http:\//apt.rimuhosting.com rhel/4%&apos; /etc/apt/sources.list&#xD;&#xA;sed --in-place &apos;s%^rpm-src http:\//apt.rimuhosting.com rhel/4%#rpm-src http:\//apt.rimuhosting.com rhel/4%&apos; /etc/apt/sources.list&#xD;&#xA;apt-get update&#xD;&#xA;apt-get dist-upgrade&#xD;&#xA;}&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;1.1 strange &quot; error: Macro % has illegal name (%define) &quot; messages&#xD;&#xA;&#xD;&#xA;If you are getting this message (&quot;error: Macro % has illegal name (%define)&quot;) when using RPM or apt-get/apt-cache, this is what we&apos;ve done to fix it. Any of these would do:&#xD;&#xA;&#xD;&#xA;1. Comment out the last line in /etc/rpm/macros.solve, or;&#xD;&#xA;&#xD;&#xA;1. Remove the package rpmdb-rhel would also do the job, if you don&apos;t need that. &#xD;&#xA;&#xD;&#xA;Note: the last line in /etc/rpm/macros.solve is:&#xD;&#xA;&#xD;&#xA;{code:none}&#xD;&#xA;%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm       /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm}&#xD;&#xA;{code}</s:content>
        <s:mTime>2008-02-03 19:13:10.0</s:mTime>
        <s:cTime>2007-02-17 14:30:41.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux'/>
                <rdf:li rdf:resource='#knowledgebase'/>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/postfixadmin on debian sarge'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/ruby on rails'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/rpm based php5.1 install'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/java/alfresco install'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/rpm based mysql5 install'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/webmin'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/java/liferay install on tomcat 5.5'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/clamav'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/sendmail notes'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/grub'/>
                <rdf:li rdf:resource='#brandon'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/mail/qmail notes'/>
                <rdf:li rdf:resource='#yves'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/roundcube'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/distros/ubuntu'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/rimuhosting/custom vps image'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/java/-Xmx settings'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/rimuhosting/argh my server was exploited'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/webserver/apache/mod_deflate'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/webserver/apache/mod_jk'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#retep/extra packages for rhel4 and centos5'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/webserver/apache/mod_rewrite'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/mercurial on rhel4'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/webserver/apache/php'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
