Koozali.org: home of the SME Server

changing Lilo Conf

Dan

changing Lilo Conf
« on: June 14, 2002, 04:15:38 AM »
Hi All,
Here's my problem. I have a single Cpu Motherboard, with an Intel bois that reconizes a dual Cpu configuration. Mitel V5.1.2 boots up and at the Lilo boot screen there is 2 entries eg. E-Emith, and E-Smith-U, I have installed Trend Server Protect which fails to load because of the Dual Intel chipset and I need to know How do I get E-Smith_U to boot instead of E-Smith?
How do I go about Changing the Default boot image in lilo.conf and then setting the custom template.
Any help would be Great as I need some anti virus Protection on the server these days
Thanks

Kees Vonk

Re: changing Lilo Conf
« Reply #1 on: June 14, 2002, 10:28:23 AM »
Changing the default in lilo.conf is easy (if you don't like vi use another editor):

login: root
> vi /etc/lilo.conf
Change 'default: esmith' to 'default: esmith-up'.
> mkdir /etc/e-smith/templates-custom/etc/lilo.conf
> cp /etc/e-smith/templates/etc/lilo.conf/80default /etc/e-smith/templates-custom/etc/lilo.conf
> vi /etc/e-smith/templates-custom/etc/lilo.conf/80default
Change 'default: esmith' to 'default: esmith-up'
> lilo


As far as antivirus goes, I have amavis with H+BEDV Antivir running on my server, it is free for personal and non-commercial use. Here are some instructions:

Download the Antivir for linux workstation from www.hbedv.com and register it to get a license (personal registration (free) at www.hbedv.com/private/). Copy the tarball and the key onto the server, untar the tarball and move the key into the newly created directory. cd into the directory and run:

> ./install

(go for the default answers, except for configuring Antivir, say no to that.

Create a file called /etc/e-smith/templates-custom/etc/crontab/updateantivir that contains one line like this:

1 1 * * * root antivir --update 2>&1 | grep -v downloading | mail -s "antivir update" admin

and then run:

>/sbin/e-smith/expand-template /etc/crontab

Now you need to download and install amavis (the instructions are quite clear, but let me know if you are having problems). I am running amavis-perl-11, but you could try a newer version, you will also find some rpms for perl modules on the amavis site (under binary distributions), they work well, but you will need to use the --nodep option on rpm to get them to install.

Make sure you read the amavis README file, there used to be a patch you needed to apply to Compress::Zlib in the README file, but I don't know if that is needed in the newer version as well.

Any way you are installing amavis for qmail so after your final 'make install' you need to do the following:

> cd /var/qmail/bin
> mv qmail-queue qmail-queue-real
> cp /usr/sbin/amavis qmail-queue
> chown qmailq:qmail qmail-queue
> chmod 4711 qmail-queue


That should be all, I hope this helps

Kees