Apache Linux Startup on bootstrap

Per impostare che il servizio httpd (Apache) sia attivo all’avvio del sistema si può ulizzare il

comando chkconfig, da shell.

Visualizza la configurazione attuale del servizio
chkconfig –list httpd

Attiva il servizio al bootstap
chkconfig httpd on

Esempio stato servizio httpd NON attivo al bootstrap:

# chkconfig –list httpd

httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Esempio stato servizio httpd attivo al bootstrap:

# chkconfig –list httpd

httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

This entry was posted in Operating Systems, Unix Linux. Bookmark the permalink.