• Horde / IMP on RHEL 4 From RPM HOWTO

    Whenever you go to install applications and services on registered RHEL servers, it’s always nice to use the RPMs because up2date will keep everything current for you. Managing upgrades gets a whole lot easier when you can bring your system up to current with one simple command. Because of this, I decided that I would try to use as many RPMs as I could when I set up our latest Horde / IMP installation.

    Unfortunately, RedHat does not supply RPMs for the Horde applications, but luckily CentOS does. You should be able to download them from here. Get the latest version, which at the time of this writing was horde-3.1.3-1 and imp-h3-4.1.3-1.

    Don’t install them yet though because Horde and IMP have always had a lot of dependancies which must be installed and enabled first. Installing the following RPMs should take care of them.

    • mysql-4.1.20-1.RHEL4.1.i386.rpm
    • mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm
    • mysqlclient10-devel-3.23.58-4.RHEL4.1.i386.rpm
    • mysql-devel-4.1.20-1.RHEL4.1.i386.rpm
    • mysql-server-4.1.20-1.RHEL4.1.i386.rpm
    • perl-DBD-MySQL-2.9004-3.1.i386.rpm
    • php-4.3.9-3.15.i386.rpm
    • php-devel-4.3.9-3.15.i386.rpm
    • php-domxml-4.3.9-3.15.i386.rpm
    • php-imap-4.3.9-3.15.i386.rpm
    • php-ldap-4.3.9-3.15.i386.rpm
    • php-mysql-4.3.9-3.15.i386.rpm
    • php-pear-4.3.9-3.15.i386.rpm

    Assuming you will want up2date to handle upgrades of these packages, it is very important that you either use “up2date” to install them, or download them from correct channel at the RedHat website. You could also simply get them from the CD distribution that you used to install the system itself.

    Once PEAR is installed, you will have to upgrade it, and install the PEAR::Log module.

    [root@server]# pear upgrade -a PEAR-1.3.6
    [root@server]# pear upgrade PEAR

    Ok, now let’s make sure the web server is configured to start when the system comes up:

    [root@server /]# /sbin/chkconfig --list httpd

    You should see this:

    httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

    But if you see 5:off, simply run:

    [root@server /]# /sbin/chkconfig httpd on

    Now we enable and start up our new MySQL database server:

    [root@server /]# /sbin/chkconfig mysqld on
    [root@server /]# /sbin/service mysqld start

    And we’re ready to install Horde and IMP. Install the following RPM’s, which will put everything in /usr/share/horde and creates a file called horde.conf in /etc/httpd/conf.d/

    • horde-3.1.3-1.c4.noarch.rpm
    • imp-h3-4.1.3-1.c4.noarch.rpm

    This will install the HORDE and IMP packages in /usr/share, and /usr/share/horde respectively.

    Finally, we start or restart apache:

    [root@server /]# /sbin/service httpd start

    Grab a browser and go to the following URL to proceed with the Horde and IMP configuration.

    http://server.example.com/horde/

    This entry was posted on Thursday, December 21st, 2006 at 12:18 pm and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 4 Comments

    Take a look at some of the responses we've had to this article.

    1. Dec 26th
      Reply

      I don’t know if you take requests, but I’ve always been curious about making tarballs into RPMs. Your second paragraph got me on that idea.

    2. Jan 10th
      Reply

      Rolling a tarball to an rpm is generally pretty easy, but I learned from the old howto at rpm.org and following along. I don’t think it’s a subject for a 500wd blogpost.

    3. Jan 10th
      Reply

      gah. Lemme qualify that. I think that the seemingly simple subject of Tarball->RPM is deceptively simple, at least to say. It’s such a broad and persnickity subject, I think that tackling it here would be brave — or foolhardy! If you want examples of really simple to messed-up RPMs, though, drop me a note/jabber. bishopolis-at-gmail.

    4. adil ismael
      Jul 24th
      Reply

      when i enter up2date command. after filling the information i get error

      aaaaaaaaaaa Fatal Error aaaaaaaaaaaaaaaaaaaaaaaaaaaa
      problem registering system:

      Error Class Code: 70
      Error Class info:
      All available subscriptions for the requested channel have been exhausted.
      Please contact a Red Hat Network Sales associate.
      Explanation:
      An error has occurred while processing your request. If this problem
      persists please enter a bug report at
      bugzilla.redhat.com.
      If you choose to submit the bug report,
      please be sure to include
      details of what you were trynig to do when this error occurred and details on how to reproduce this problem.

      aaaaaa
      a ok a
      aaaaaa

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message:

Visitors have tagged this post: t (352) - all available subscriptions for the requested channel h (151) - horde rpm (84) - centos horde (72) - horde centos (64) - rhel rpm (62) - f (51) - rpm rhel (48) - RHEL rpms (47) - up2date error class code : 70 (47) - apache rpm rhel4 (43) - rhel4 rpm download (41) - All available subscriptions for the requested channel have been exhausted. (41) - RHEL imap (39) - All available subscriptions for the requested channel have been exhausted (35) - imp centos (34) - horde imp rpm (34) - horde (32) - "error class code: 70 (32) - Error Class Code: 70 (32) - horde webmail rpm (31) - horde rhel (31) - centos horde imp (29) - horde imp centos (27) - rhel rpm download (27) - imap rpm download (27) - Centos IMP (27) - imp rpm (26) - apache RPM download (25) - error class code 70 redhat (24) - php-mysql rpm (23) - perl-DBD-MySQL rhel4 (21) - rhel4 imap (21) - download mysql for rhel4 (21) - Redhat Error class Code 70 (21) - php-mysql rhel4 (20) - imap rhel (20) - imap rhel4 (20) - rhel4 apache rpm (20) - horde howto (20) - perl-DBD-MySQL-2.9004-3.1.i386.rpm (19) - rhel rpm install (19) - rhel rpm howto (19) - php-mysql rpm rhel4 (19) - Horde RPM centos (19) - rpm rhel4 (18) - Download mysql-4.1.20-1.RHEL4.1.i386.rpm (18) - MySQL rpm download (18) - horde rpm download (18) - php5 rhel4 (18) - error class code 70 up2date (18) - download horde rpm (18) - mysql-4.1.20-1.RHEL4.1.i386.rpm (17) - apache rpm rhel (17) - httpd rpm rhel4 (16) - rhel install rpm (15) - chkconfig howto (15) - apache rhel4 rpm (15) - php-mysql rpm download (15) - " php RPM download" (15) - problem registering system error class code: 70 (15) - install rpm RHEL4 (14) - RHEL4 rpm (14) - apache rpm for rhel4 (14) - rhel 4 download (14) - php-mysql rhel (14) - rhel4 rpm install (14) - php5 rpm download (14) - rhel apache rpm (14) - error class code 70 (14) - horde rpm redhat (13) - download perl-DBD-MySQL-2.9004-3.1.i386.rpm (13) - download mysql-4.1.20-1.RHEL4.1 (13) - centos horde howto (13) - install horde rpm (13) - rhel4 php5 rpm (13) - Download php-mysql rpm (13) - mysql RHEL4 download (13) - up2date All available subscriptions for the requested c (13) - up2date error 70 (13) - php-imap rhel4 (12) - `php rpm rhel4 (12) - php-mysql rpm rhel (12) - centos rpm howto (12) - rhel webmail (12) - horde rhel 5 (12) - rhel 4 rpm (12) - rpm howto (12) - install rpm RHEL (11) - howto horde (11) - horde 2 download (11) - rpm download rhel4 (11) - rhel4 download (11) - download rpm for RHEL4 (11) - horde.rpm (11) - download imap rpm (11) - download mysql rpm (11) - "all available subscriptions for the requested channel  (11) - up2date Error Class Code: 70 (11) - rhel4 rpms (10) - perl-DBD-MySQL rpm (10) - rhel4 - rpms download (10) - rhel ldap howto (10) - RHEL horde (10) - php-4.3.9-3.15.i386.rpm (10) - how to install rpm in rhel (10) - "All available subscriptions for the requested channel" (10) - download rpm rhel4 (10) - apache rpm for rhel 4 (10) - Horde rpm install (10) - up2date problem registering system (10) - apache RHEL4 (9) - horde centos howto (9) - php-pear-4.3.9-3.15.i386.rpm (9) - up2date howto (9) - mysql rhel4 rpm (9) - horde upgrade howto (9) - rhel 5 horde (9) - install rpm in RHEL (9) - php-mysql-4.3.9-3.15.i386.rpm (9) - rhel4 rpm downloads (9) - horde rpms (9) - download mysql rpm for RHEL4 (9) - download rhel4 rpms (9) - rhel4-php5 (9) - httpd rhel4 rpm (9) - horde centos rpm (9) - up2date error code 70 (9) - "All available subscriptions for the" (9) - rhel PHP-MySQL (9) - mysql-4 1 20-1 RHEL4 1 i386 rpm (9) - mysql-4 1 20-1 RHEL4 1 i386 rpm download (9) - Horde RHEL5 (9) - all (8) - mysql-4.1.20-1.RHEL4.1.i386.rpm download (8) - imap rpm rhel4 (8) - horde rhel 4 (8) - download RHEL 4 (8) - download mysql for rhel 4 (8) - install horde centos (8) - perl-DBD-MySQL rhel (8) - download RHEL4 rpm (8) - php.rpm download (8) - mysql-server-4.1.20-1.rhel4.1.i386.rpm (8) - perl-DBD-MySQL rhel4 rpm (8) - download rpm for RHEL 4 (8) - horde rpm rhel (8) - php5 rpm (8) - error class code 70 red hat (8) - php rpm download (8) -