How to disable port/service in Ubuntu 8.04
Nigel Henry
cave.dnb2m97pp at aliceadsl.fr
Thu Aug 28 12:26:11 UTC 2008
On Thursday 28 August 2008 13:48, Ashish Yadav wrote:
> > If you want to disable a particular port, find out what's running on
> > that port and stop it. "netstat -a" sometimes helps.
>
> That is my question, *how* to stop it from running?
> From example if there is http server running and I don''t want it to
> run when my system starts where do I go and make changes?
> I could very simply do that by renaming scripts in init based systems,
> here I don't have clue.
You could install the package sysv-rc-conf. Run it as sudo sysv-rc-conf, and
you can stop and start services as you wish. So to stop the Apache server,
stop the httpd service.
Nigel.
> Regards,
>
> Ashish
>
> "There are 10 types of people; those who understand binary, and those who
> don't"
More information about the ubuntu-users
mailing list