Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: TL_CLD on April 29, 2005, 02:59:31 PM

Title: How to simplify?
Post by: TL_CLD on April 29, 2005, 02:59:31 PM
Hi all,

I need to know how to turn off all unused daemons and services on a SME 6.5 install.

The only thing I need running is Samba and Qmail.

How do I go about this best? I've tried to follow the FAQ here at the site, but no matter what, I simply cannot get rid of Mysql plus various different things I have no idea what does.  :-)

I've also downloaded and installed the Services RPM, and even that can't get rid of Mysql.

So basically I'm asking: What to do in order to create a SME box that only runs whatever is necessary to use Samba and Qmail?

Sincerely,
Thomas

ps. I'm used to Trustix where a clean install with all i need for this takes up a lowly 35 running processes in $ top. Seeing +120 here in SME scares me!   :-)
Title: Re: How to simplify?
Post by: Quail_Linux on April 29, 2005, 03:54:15 PM
Quote from: "TL_CLD"
Hi all,

I need to know how to turn off all unused daemons and services on a SME 6.5 install.

The only thing I need running is Samba and Qmail.

How do I go about this best? I've tried to follow the FAQ here at the site, but no matter what, I simply cannot get rid of Mysql plus various different things I have no idea what does.  :-)

I've also downloaded and installed the Services RPM, and even that can't get rid of Mysql.

So basically I'm asking: What to do in order to create a SME box that only runs whatever is necessary to use Samba and Qmail?

Sincerely,
Thomas

ps. I'm used to Trustix where a clean install with all i need for this takes up a lowly 35 running processes in $ top. Seeing +120 here in SME scares me!   :-)


Hi Thomas,

beside the deamons you said needing to run, you do need httpd and mysql for the web gui (admin) and horde (webmail)

And as the services panel says:
Quote
* Webmail service has dependencies on the following services:
# php
# mysqld

If any of these services are enabled, their dependencies will also be enabled but if disabled those dependencies - which are also stand-alone services - will NOT be disabled.


The best thing i can say if you have a dedicated firewall / gateway, just forward the ports you need for your server.

There is just some things that are needed for SME to function.


OH i forgot to add if you are using 6.5 in production environment, it is not recommended. Install 6.01-01 from
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/smeserver/releases/

HTH
Title: Re: How to simplify?
Post by: CharlieBrady on April 29, 2005, 08:09:14 PM
Quote from: "Quail_Linux"

beside the deamons you said needing to run, you do need httpd and mysql for the web gui (admin) and horde (webmail)


You'll also need a bunch of others - at least:

ldap
syslog
dnscache
tinydns
httpd-e-smith
httpd-admin

and possibly

dhcpcd
dhcp
pppoe

I don't think there will be much point to run qmail unless you also run:

smtpfront-qmail
imap

and maybe

pop

If your samba users want to print, you'll probably also want:

lpd

About the only standard service I'd advise you to disable is "atalk".
Title: How to simplify?
Post by: arne on April 30, 2005, 02:25:56 AM
Just to make things simple I use to run the sme server "as is" in server only mode. Then I apply a firewall script so I only get "exposed" those services I want to be exposed. The other is only available internally. Have worked well enough for me on all my sme installations, for some years. No problems at all.

Arne.
Title: How to simplify?
Post by: TL_CLD on May 02, 2005, 08:06:58 AM
Thank you all for your replies. I had no idea the webgui depended on MySQL. That kinda explains why I can't turn it off..   :-)

I will stick with the latest 6.5, as Samba is more up to date than on 6.01. So far it's been stable as a rock.

Sincerely,
Thomas