Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simple linux question



On Mon, Feb 05, 2007 at 07:41:23AM -0800, Joshua D. Milane wrote:
> Hi,
>    
>   I am totally unfamiliar with Linux (almost totally) and need to answer this question:
>    
>   There are at least two ways to start a server (web, mysql, or other kind) at Linux boot.
>    
>   What are they?

1. Use /etc/inittab to have init start it directly.
2. Add an entry in the rc files (two major varieties, SysV and BSD)
   to have init start it slightly later in the boot cycle.
3. Use a supervisor system of some kind (such as daemontools) to
   run and restart it.
4. Have an autologin user and put it in the rc files for that
   user.
5. Use anacron to start it at boot time.
6. Use cron to start it at a specified time, such as "every five
   minutes unless already running"

Everything can be classified according to how many levels away
from init the process is started.


-dsr-


-- 
_.. ___ . ...   _ .... .   _. ... ._   ._. . ._ _..   _.__ ___ .._ ._.
__ ._ .. ._.. ..__..   _ .... .   .._. _... .. ..__..
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org