Skip to main content

Webmin & Postfix Install

Email & Webmin Install

Computer: Shuttlex

OS: Mandrake Linux 10.0 Official Power Pack

Friday 16 July 2004

Installation Log

  1. Open terminal, su to root
  2. Install postfix: urpmi postfix
  3. Install webmin: urpmi webmin
  4. Install apache:  urpmi apache
  5. Update packages: urpmi --update --auto-select
  6. Start webmin, postfix daemons
  7. Test webmin in browser: https://localhost:10000/

Postfix Install

[root@shuttlex root]# urpmi postfix
To satisfy dependencies, the following packages are going to be installed (3 MB):
libpostfix1-2.1.0-0.20040209.18mdk.i586
postfix-2.1.0-0.20040209.18mdk.i586
Is this OK? (Y/n) Y
Please insert the medium named "Installation CD 1 (x86) " on device [/dev/hdb]
Press Enter when ready...

installing /mnt/cdrom/Mandrake/RPMS/postfix-2.1.0-0.20040209.18mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/libpostfix1-2.1.0-0.20040209.18mdk.i586.rpm
Preparing...                ##################################################
   1:libpostfix1            ##################################################
   2:postfix                ##################################################
Shutting down kernel logger: [  OK  ]
Shutting down system logger: [  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]

Webmin Install


[root@shuttlex root]# urpmi webmin
To satisfy dependencies, the following packages are going to be installed (24 MB):
lsof-4.68-1mdk.i586
perl-Authen-PAM-0.14-3mdk.i586
perl-CGI-3.00-2mdk.noarch
perl-Net_SSLeay-1.25-2mdk.i586
webmin-1.121-4mdk.noarch
Is this OK? (Y/n) Y
Please insert the medium named "Installation CD 2 (x86) " on device [/dev/hdb]
Press Enter when ready...

The following packages have bad signatures:
/mnt/cdrom/Mandrake/RPMS2/webmin-1.121-4mdk.noarch.rpm: Invalid Key ID ((sha1) dsa sha1 md5 gpg GPG#70771ff3 OK)
Do you want to continue installation ? (y/N) y
installing /mnt/cdrom/Mandrake/RPMS2/webmin-1.121-4mdk.noarch.rpm /var/cache/urpmi/rpms/perl-CGI-3.00-2mdk.noarch.rpm /var/cache/urpmi/rpms/perl-Net_SSLeay-1.25-2mdk.i586.rpm /var/cache/urpmi/rpms/perl-Authen-PAM-0.14-3mdk.i586.rpm /var/cache/urpmi/rpms/lsof-4.68-1mdk.i586.rpm
Preparing...                ##################################################
   1:lsof                   ##################################################
   2:perl-Authen-PAM        ##################################################
   3:perl-Net_SSLeay        ##################################################
   4:perl-CGI               ##################################################
   5:webmin                 ##################################################
[root@shuttlex root]#

Apache Install

[root@shuttlex root]# urpmi apache
To satisfy dependencies, the following packages are going to be installed (2 MB):
apache-1.3.29-1mdk.i586
apache-conf-2.0.48-2mdk.i586
apache-modules-1.3.29-1mdk.i586
apache2-common-2.0.48-6mdk.i586
libapr0-2.0.48-6mdk.i586
libdb3.3-3.3.11-17mdk.i586
libmm1-1.3.0-3mdk.i586
Is this OK? (Y/n) Y
Please insert the medium named "Installation CD 1 (x86) " on device [/dev/ide/host0/bus0/target1/lun0/cd]
Press Enter when ready...

installing /mnt/cdrom/Mandrake/RPMS/libapr0-2.0.48-6mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/apache-conf-2.0.48-2mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/libmm1-1.3.0-3mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/apache2-common-2.0.48-6mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/libdb3.3-3.3.11-17mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/apache-modules-1.3.29-1mdk.i586.rpm /mnt/cdrom/Mandrake/RPMS/apache-1.3.29-1mdk.i586.rpm
Preparing...                ##################################################
   1:libdb3.3               ##################################################
   2:libmm1                 ##################################################
   3:apache-conf            ##################################################
   4:libapr0                ##################################################
   5:apache2-common         ##################################################
   6:apache-modules         ##################################################
Recreating httpd-perl.conf from compat file
Recreating httpd.conf from compat file
   7:apache                 ##################################################
Re-creating /etc/httpd/modules
Re-creating /etc/httpd/extramodules

Test Webmin

Comments

Anonymous said…
Hi Neils,

Can you help me?

I do urpmi postfix, to install the email service. Now i need see the database that the emails are going. Whats the name of this database? And Is it Postgres or Mysql?

Sorry, i´m from Brasil and i cant speak english very well.

Thanks,
bruno.massaro@terra.com.br
contato@brunomassaro.com
Bruno Massaro
Neil said…
Bruno,

I don't know the details of your Postfix installation, but typically, Postfix defaults to a local, non-SQL database. For details, see the Postfix Lookup Table Overview..

You could probably find out which data store you are using by poking around in:

/etc/postfix/main.cf

Beyond that, I'm not familiar with the specifics of how to track email through the database.

Best,

Neil

Popular posts from this blog

Essential Firefox Add-Ons For the Cloud

If you don't want to be tied down to a desktop, you need direct access to your computer in the cloud. Since Firefox runs just about everywhere, it's a good place to start to set up a reliable way to access your accounts. Blog & Social  Delicious Bookmarks is the recommended and official Firefox add-on for Delicious, the world's leading social bookmarking service (formerly del.icio.us). It integrates your bookmarks and tags with Firefox and keeps them in sync for easy, convenient access. Syncing slows down startup, though. ScribeFire Blog Editor is a blog editor that integrates with your browser and lets you easily post to your blog. They've also integrated their affiliate Quick Ads advertising program, which I haven't tried.

Joomla 1.5 Directory Status: Writeable

[UPDATED] Joomla 1.5 is acting flaky on one of our installations because the directories are set to ‘unwriteable’. To see the their current state, log in as Super Administrator and go to Help > System Info > Directory Permissions . Elsewhere, it's been suggested that the specified directories must be set to “world-writeable” (777). This works, but it is a very bad idea , since it means anyone can change your files! Not cool. Fixing Security with User and Group Settings To perform these changes, you need shell (command line) access to your server. If you don't have it, you can beg your host to make these changes for you, or switch to a Joomla-friendly host. I'm going to assume that you are using a LAMP (Linux/Apache/MySQL/PHP) server because if you're not, then ... well, these instructions should work in principle, but the specifics for your server may be quite different. Here's the issue: you, the FTP user, need full access to your files. So does Joomla,

Virus scan Windows using a Linux live CD

[There's been quite a bit of interest in this post and I've expanded on it quite a bit. Please post any comments or questions to help me improve this guide. - Neil] Keith and I have both run into situations where we want to recover a Windows computer by cleaning it up with a Linux Live (bootable) CD distro. This offers several advantages to cleaning up an infected or compromised computer by booting into Windows: It prevents the malware, if it exists, from jumping from the infected computer or partition we are trying to fix to the repair partition or boot medium. If we boot from a CD, there's actually no way to alter the boot medium, since it's read-only. Naturally, we started with Knoppix -- download it here . Installing and scanning with F-Prot is covered in this Knoppix.net discussion thread, Virus Scan from LiveCD , which describes how to install F-Prot from the command line using apt-get. Also, In Knoppix 5.1, you can boot from the Knoppix CD and install F-P