Skip navigation.
Home
Now Shipping Version 7.0

Stop services on boot


Posts: 13

How do I stop services so it won't start at booting?
I wanted to stop apache2 services at boot time.

I tried to look around but couldn't figure it out.

Thnx

you have one

Using synaptic, install sysv-rc-conf

It is far away from being friendly but helps. Run it on a terminal as root.

Alberto

AdrianTM's picture

Or execute as root:

Or execute as root:
update-rc.d -f apache2 remove

same for other services, if you prefer to use a GUI install ksysv
--
Post questions on www.mepislovers.org too -- very helpful community

Going for three in a row...

Or...

If you want to keep apache around and just not have it start at boot:

1. Go to /etc/init.d (as root)

2. Create a new directory within called "old" (no quotes).

3. Move the "apache2" file from /etc/init.d in to the new /etc/init.d/ old file.

4. Reboot for the full experience.
Smiling

q

the gui way..

In synaptic get ksysv .. it's a GUI based runlevel editor.

The default MEPIS runlevel is runlevel 5. Just drag and drop what you don't want to the trashbin on the left side Eye-wink

Here's a quick list of what I dumped on my machine...

isdnactivecards = ISDN Stuff
isdn* = more ISDN stuff
ppp = I think for dialup..
hpoj = hp office jet printer driver
spamassasin = I don't really need it so far Thunderbird is doing fine.
canna = support for japanese input
apache(2) = no need.. my devel server is elsewhere

just be careful what you remove.. If in doubt LEAVE IT!! I just do a quick google search for each item in the list to get an idea of what it is before I remove it.

good luck.

Re: Going for three in a row...

qtech wrote:
Or...

If you want to keep apache around and just not have it start at boot:

1. Go to /etc/init.d (as root)

2. Create a new directory within called "old" (no quotes).

3. Move the "apache2" file from /etc/init.d in to the new /etc/init.d/ old file.

4. Reboot for the full experience.
Smiling

q

Yep this is the hands on slackware way but that other GUI tool is pretty cool, too. Laughing out loud

stop services on boot

Quick and dirty method using command line:

as root cd to /etc/rc5.d (cat /etc/inittab to see that level 5 is default on boot up)
mv S91apache2 s91apache2

any rc script that has lower case letter instead of upper case will not start.

cheers.

floppy boot

Thank You nd3

I followed your suggestions.

How do I stop the floppy boot. I did not see it in there?

Carl

floppy

disbale booting from floppy disk from the BIOS

booting floppy

Thank You nd3

I followed your suggestions. It helped.

However, My laptop does not have a floppy. Yet, it still trys to load the floppy,and later in the boot shows an error. I would like to disable that if possible using the KSYS v. I do not see floppy in there. Could it be under another name?

boot time to log in now at 1:15 I would love to bring that down more.

Open to more suggestions.

Carl

bohu's picture

ksysv is confusing

Is 5 the only run-level I need to edit? What about others?

---------------------------------------
Bob L Hunter
bicycle tourist, bookworm, linux newbie
---------------------------------------

AdrianTM's picture

For floppy issue, I think it

For floppy issue, I think it helps if you add on kernel line "nofloppy" if I remember right (so try that when you boot and if it works, add that in /boot/grub/menu.lst to make it permanent)

you need to edit only rc5 since that's what Mepis uses when you boot in a normal way.

--
Post questions on www.mepislovers.org too.
Check out our wiki: www.mepislovers-wiki.org

Another text-only program

Another text-only program that I've used to do this is sysvconfig.

anticapitalista's picture

Re: booting floppy

stylus wrote:
Thank You nd3

boot time to log in now at 1:15 I would love to bring that down more.

Open to more suggestions.

Carl

You could try initng. It is in early stages of development, but it is super fast.

http://initng.thinktux.net/index.php/Main_Page

EDIT: Duh, just noticed the date.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.