Qmail Toaster and X/OS Linux Part 1Qmail Toaster and X/OS Linux Part 1

0 Comments

This is the first part in my experiences installing Qmail on a XOS Linux cluster.   Just so you know there are some differences, mostly due to dependancies and such, between installing Qmail on a standard RHEL cluster and a XOS cluster.  In this part we will cover downloading the Qmail toaster files, removing sendmail, making sure all dependancies are covered and setting up and updating/installing all needed Perl packages…

This is the first part in my experiences installing Qmail on a X/OS Linux cluster.   Just so you know there are some differences, mostly due to dependancies and such, between installing Qmail on a standard RHEL cluster and a XOS cluster.  In this part we will cover downloading the Qmail toaster files, removing sendmail, making sure all dependancies are covered and setting up and updating/installing all needed Perl packages…

Log in to your box and then execute the following commands: 

mkdir qmail
cd qmail
wget http://www.qmailtoaster.com/info/current-download-script.sh
chmod 700 current-download-script.sh
./current-download-script.sh
rpm –import /usr/share/doc/xos-release-4/RPM*
yum -y remove sendmail
rpm -e –nodeps openssl
yum -y install autoconf automake automake17 bzip2 bzip2-devel curl curl-devel expect expect-devel gcc gcc-c++ gcc-g77 gdbm gdbm-devel gmp gmp-devel httpd httpd-devel httpd-manual httpd-suexec krb5-auth-dialog krb5-devel krb5-libs krb5-workstation libgcc libidn libidn-devel libtool mysql mysql-bench mysql-devel mysql-server mrtg ntp openssh openssh-clients openssh-askpass openssh-server openssl openssl-devel pcre pcre-devel perl-Digest-HMAC perl-Digest-SHA1 perl-Net-DNS perl-Time-HiRes php php-ldap php-mysql php-pear redhat-rpm-config rpm-build rpm-devel rpm-libs rpm-python sed setup setuptool stunnel system-config-date which

cpan
    o conf init
    select defaults for all until you arrive at the mirrors section then enter all listed.
    o conf commit
    reload cpan
    quit

perl -e 'use CPAN; install Bundle::CPAN;'
perl -e 'use CPAN; install MIME::Base64;'
perl -e 'use CPAN; install DB_File;'
perl -e 'use CPAN; install Net::DNS;'
perl -e 'use CPAN; install Net::SMTP;'
perl -e 'use CPAN; install Mail::SPF::Query;'
perl -e 'use CPAN; install Time::HiRes;'
perl -e 'use CPAN; install Mail::DomainKeys;'     * Watch out for Crypt::OpenSSL::RSA may need to be forced. see below
perl -e 'use CPAN; install IO::Zlib;'
perl -e 'use CPAN; install Archive::Tar;'

chkconfig apmd off
service apmd stop

chkconfig atd off
service atd stop

chkconfig autofs off
service autofs stop

chkconfig cups off
service cups stop

chkconfig cups-config-daemon off
service cups-config-daemon stop

chkconfig gpm off
service gpm stop

chkconfig isdn off
service isdn stop

chkconfig mdmonitor off
service mdmonitor stop

chkconfig netfs off
service netfs stop

chkconfig nfslock off
service nfslock stop

chkconfig pcmcia off
service pcmcia stop

chkconfig portmap off
service portmap stop

chkconfig rawdevices off
service rawdevices stop

chkconfig rhnsd off
service rhnsd stop

chkconfig sendmail off
service sendmail stop

ln -s /usr/include/et/com_err.h /usr/include/com_err.h

yum -y update

*Crypt::OpenSSL::RSA Forced install

    cpan
        force install Crypt::OpenSSL::RSA
       quit

Then restart the Perl updates to finish.

The above is fairly straight forward and simple prepares the system for what we will cover Tomorrow. There is acutally very little difference in the above and the normal RHEL install steps except for the RPM related commands and packages.  To be totally honest the "reload cpan" is not really needed, habit, so you can skip it if you want.

Well, hope to see you tomorrow when I  post a few modified scripts, originally for RHEL Qmail toaster install, and start with the actual install of Qmail Toaster.

Have fun,

chuck

 

Log in to your box and then execute the following commands: 

mkdir qmail
cd qmail
wget http://www.qmailtoaster.com/info/current-download-script.sh
chmod 700 current-download-script.sh
./current-download-script.sh
rpm –import /usr/share/doc/xos-release-4/RPM*
yum -y remove sendmail
rpm -e –nodeps openssl
yum -y install autoconf automake automake17 bzip2 bzip2-devel curl curl-devel expect expect-devel gcc gcc-c++ gcc-g77 gdbm gdbm-devel gmp gmp-devel httpd httpd-devel httpd-manual httpd-suexec krb5-auth-dialog krb5-devel krb5-libs krb5-workstation libgcc libidn libidn-devel libtool mysql mysql-bench mysql-devel mysql-server mrtg ntp openssh openssh-clients openssh-askpass openssh-server openssl openssl-devel pcre pcre-devel perl-Digest-HMAC perl-Digest-SHA1 perl-Net-DNS perl-Time-HiRes php php-ldap php-mysql php-pear redhat-rpm-config rpm-build rpm-devel rpm-libs rpm-python sed setup setuptool stunnel system-config-date which

cpan
    o conf init
    select defaults for all until you arrive at the mirrors section then enter all listed.
    o conf commit
    reload cpan
    quit

perl -e 'use CPAN; install Bundle::CPAN;'
perl -e 'use CPAN; install MIME::Base64;'
perl -e 'use CPAN; install DB_File;'
perl -e 'use CPAN; install Net::DNS;'
perl -e 'use CPAN; install Net::SMTP;'
perl -e 'use CPAN; install Mail::SPF::Query;'
perl -e 'use CPAN; install Time::HiRes;'
perl -e 'use CPAN; install Mail::DomainKeys;'     * Watch out for Crypt::OpenSSL::RSA may need to be forced. see below
perl -e 'use CPAN; install IO::Zlib;'
perl -e 'use CPAN; install Archive::Tar;'

chkconfig apmd off
service apmd stop

chkconfig atd off
service atd stop

chkconfig autofs off
service autofs stop

chkconfig cups off
service cups stop

chkconfig cups-config-daemon off
service cups-config-daemon stop

chkconfig gpm off
service gpm stop

chkconfig isdn off
service isdn stop

chkconfig mdmonitor off
service mdmonitor stop

chkconfig netfs off
service netfs stop

chkconfig nfslock off
service nfslock stop

chkconfig pcmcia off
service pcmcia stop

chkconfig portmap off
service portmap stop

chkconfig rawdevices off
service rawdevices stop

chkconfig rhnsd off
service rhnsd stop

chkconfig sendmail off
service sendmail stop

ln -s /usr/include/et/com_err.h /usr/include/com_err.h

yum -y update

*Crypt::OpenSSL::RSA Forced install

    cpan
        force install Crypt::OpenSSL::RSA
       quit

Then restart the Perl updates to finish.

The above is fairly straight forward and simple prepares the system for what we will cover Tomorrow. There is acutally very little difference in the above and the normal RHEL install steps except for the RPM related commands and packages.  To be totally honest the "reload cpan" is not really needed, habit, so you can skip it if you want.

Well, hope to see you tomorrow when I  post a few modified scripts, originally for RHEL Qmail toaster install, and start with the actual install of Qmail Toaster.

Have fun,

chuck

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.