GNU/Linux >> Linux Esercitazione >  >> Linux

Come avviare, riavviare e arrestare il server Web Apache

Qui elencheremo alcuni comandi molto semplici per avviare, riavviare e arrestare il server web Apache. Ovviamente, dovresti occuparti del comando stop poiché i tuoi siti Web smetteranno di funzionare.

Per avviare Apache utilizzare:

root@web [/home/admin]# /sbin/service httpd start
httpd (pid 11858) already running
root@web [/home/admin]#

Come puoi vedere, se l'Appache (servizio httpd) è già in esecuzione il sistema ti avviserà.

Per riavviare httpd:

root@web [/home/admin]# /sbin/service httpd restart
root@web [/home/admin]#

Per fermare il server Apache:

root@web [/home/admin]# /sbin/service httpd stop
root@web [/home/admin]#

Linux
  1. Come configurare un server web Apache

  2. Avvia, arresta e riavvia i servizi sul server Linux RHEL 7 systemd

  3. Come avviare, arrestare e riavviare i servizi su un server dedicato Linux

  4. In che modo Linux gestisce più separatori di percorsi consecutivi (/home////nomeutente///file)?

  5. Come modificare /tmp predefinito in /home/user/tmp

Come installare e configurare Apache Web Server su Debian 11

Come installare e configurare Apache Web Server su Ubuntu

Come aggiungere il supporto PHP-FPM su Apache e Nginx Web Server su Ubuntu 18.04

Come installare e configurare un server Web LAMP su Ubuntu 18.04

Come avviare, arrestare, riavviare, controllare lo stato del servizio IIS tramite riga di comando

Come configurare un server domestico