s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
2. Component installation2.1 PreparationsYou have two options
Get source rpmsYou will need:
Get binary rpmsQmail does not come in binary form. Such packages are explicitly disallowed by the author of Qmail, and frustrating as it may be, I understand his reasoning. Courier-imap does not come in binary form, unless you want to use the one I built. If you want mine, visit http://www.clearrivertech.com/linux/HOWTO/supportfiles/. VMailMgr does not come in binary form that supports Courier-imap, unless you want to use the one I built. If you want mine, email me, and I will send it.
Get tarred sources (for non-RPM users)If your system does not have, or you do not use RPMS, you can install from source.
2.2 Install support packagesInstall with RPMSCompiling SRC.RPM'sSimply run the following command for each package rpm --rebuild <package.src.rpm>-Example- rpm --rebuild ucspi-tcp-0.88-1.src.rpm rpm --rebuild daemontools-0.70-1.src.rpm rpm --rebuild supervise-scripts-2.4-1.src.rpm Installing RPM'sIf you compiled the source rpms, the binaries will be located
in Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm> -Example- rpm -ivh /usr/src/redhat/RPMS/i386/ucspi-tcp-0.88-1.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/daemontools-0.70-1.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/supervise-scripts-2.4-1.i386.rpm Install with sourceRun the following commands for each package (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> ./configure make (As root) make setup check (for ucspi-tcp and daemontools) or make install (for supervise-scripts) -Example- (As non-root user) tar zxf supervise-scripts-2.4.tar.gz cd supervise-scripts-2.4 ./configure make (As root) make setup check or make install 2.3 Install QmailInstall with RPMS
Compiling SRC.RPM'sAfter installing the support packages, rpm --rebuild <package.src.rpm> -Example- rpm --rebuild qmail-1.03+patches-12.src.rpm Installing RPM'sAfter compiling the source rpms, the binaries will be located
in Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm> -Example- rpm -ivh /usr/src/redhat/RPMS/i386/qmail-1.03+patches-12.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/qmail-pop3d-1.03+patches-12.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/qmail-qmqpd-1.03+patches-12.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/qmail-qmtpd-1.03+patches-12.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/qmail-smtpd-1.03+patches-12.i386.rpm
* note start * - Remove sendmail and any dependant applications prior to installing Qmail - by running the following command for each package - rpm -e <packagename>* - - On my system I had to remove sendmail, so I typed - rpm -e sendmail * note end * Install with sourceAs of this writing Bruce Guenter has not released a tar.gz package of his patched qmail. So until Bruce does this, I am having you download the standard Qmail package, and forcing you to read the included INSTALL file. Installing the standard build may cause minor differnces in the config, one example that comes to mind is that the init scripts are named differently. This should not cause too much confusion, I just want you to be aware. Run the following command (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> (Now read the INSTALL file and follow the steps to install Qmail)-Example- (As non-root user) tar zxf qmail-1.03.tar.gz cd qmail-1.03 vi INSTALL (Read and follow steps) 2.4 Install Courier-imapInstall with RPMSCompiling SRC.RPM'sBuild the courier-imap rpms from the tar file
* note start * - This errors out if you compile as root, but if your not root you - wont have permissions to /usr/src/redhat. You will want to build as a - non-root user, so create a ".rpmmacros" file (for rpm v3 and later) in - your home directory containing the line "%_topdir /path/to/home/redhat". - Then create your own "redhat" directory containing all the subdirs that - /usr/src/redhat contains. - You should never build RPMs as root unless you have to. * note end * * I will mention again, that I have built the binaries, and you can get them at *
Installing RPM'sAfter compiling the source rpms, the binary will be located
in Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm> -Example- rpm -ivh /usr/src/redhat/RPMS/i386/courier-imap-0.31-1.i386.rpm
Install with sourceRun the following command (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> ./configure make (As root) make install -Example- (As non-root user) tar zxf courier-imap-0.31.tar.gz cd courier-imap-0.31 ./configure make (As root) make install 2.5 Install VMailMgrInstall with RPMSCompiling SRC.RPM'sSimply run the following command rpm --rebuild <package.src.rpm>-Example- rpm --rebuild vmailmgr-0.96.6-1.src.rpm Installing RPM'sIf you compiled the source rpm, the binaries will be located
in Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm> -Example- rpm -ivh /usr/src/redhat/RPMS/i386/vmailmgr-0.96.6-1.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/VMailMgr-daemon-0.96.6-1.i386.rpm Install with sourceRun the following commands (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> ./configure make (As root) make install-Example- (As non-root user) tar zxf vmailmgr-0.96.6.tar.gz cd vmailmgr-0.96.6 ./configure make (As root) make setup check or make install That should do it. Next Previous Contents |