|
Sujet : Lancement Auto d'apache et Mysql [Newbie] |
| melba |
:hello: Merci mais j'ai trouver sur le net, et c'est bien plus simple que ça en fait :
Citation :
copier le prg apachectl dans /etc/rc.d/init.d sous le nom httpd.
Pour un lancement automatique sous RedHat à l'état de marche 3,4 et 5 on doit normalement taper : chkconfig --level 345 httpd on Pour créer les liens "à la main". Pour le lancement : ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc3.d/S85httpd ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc4.d/S85httpd ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc5.d/S85httpd Pour l'arrêt, en appliquant la règle 85+Y=100 : ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc0.d/K15httpd ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc1.d/K15httpd ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc2.d/K15httpd ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc3.d/K15httpd ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc6.d/K15httpd
|
Sous suse /etc/init.d/apache /ect/init.d/rc0.d/k15apache etc.. etc...
idem pour mysql.serveur
et la ça marche nickel chrome
Inittab n'est pas à modifier normalement [jfdsdjhfuetppo]--Message édité par melba le 16-05-2002 à 21:11:05--[/jfdsdjhfuetppo] |