Starting and Stopping Services in Debian

In Debian GNU/Linux, one can find start/stop scripts for services in /etc/init.d. Common examples include crond, ssh, and gpm. One can configure a service to start or not at boot using update-rc.d, or by manipulating symlinks found in /etc/rcN.d (N = run level). See the file README in /etc/init.d in your Debian system, and read update-rc.d(8).

For example, to keep SSH from starting on boot, do

# update-rc.d -f sshd remove

To make sshd start at boot in run levels 2, 3, 4, and 5 (sequence 30) and stop in run levels 0, 1, and 6 (sequence 20), do

# update-rc.d ssh start 30 2 3 4 5 . stop 20 0 1 6.

Referensi : http://nmglug.org/tutorials_os.html#services-deb

Share it now...
Share on FacebookTweet about this on TwitterEmail this to someoneShare on Google+

Debian Sarge: Change Default Web-Browser

Cara memilih web broser default di debian sarge, karena biasanya debian sarge, default web browsernya mengunakan konqueror, nah, jika kita menginginkan default we browsernya menggunakan Mozilla firefox, gmn caranya?, mudah kok…

debian:~# update-alternatives –config x-www-browser

There are 2 alternatives which provide `x-www-browser’.

Selection Alternative
———————————————–
*+ … 1 /usr/bin/konqueror
……… 2 /usr/bin/mozilla-firefox

Press enter to keep the default[*], or type selection number: 2

(input angka 2, jika kita ingin menggunakan firefox sebagai default web browser)

Using `/usr/bin/mozilla-firefox’ to provide `x-www-browser’.

Dan jika suatu saat kita ingin mengembalikan setting default web browsernya menggunakan konqueror, ulangi langkah2 sebagaimana disebut diatas, kemudian pilihlah “konqueror”.

Share it now...
Share on FacebookTweet about this on TwitterEmail this to someoneShare on Google+