Apache
Z wiki linux-user
(→Instalacja) |
(→Instalacja) |
||
| Linia 23: | Linia 23: | ||
natomiast w Debianie serwer wystartował po jego instalacji my musimy tylko go zrestartować | natomiast w Debianie serwer wystartował po jego instalacji my musimy tylko go zrestartować | ||
| − | /etc/init.d/ | + | /etc/init.d/apache2 restart |
| − | podobnie wygląda | + | podobnie wygląda restart w CentOS, polecenia przedstawione są poniżej |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
restartowanie serwera | restartowanie serwera | ||
| Linia 34: | Linia 30: | ||
/etc/init.d/httpd restart | /etc/init.d/httpd restart | ||
service httpd restart | service httpd restart | ||
| + | |||
| + | zatrzymywanie serwera w CentOS | ||
| + | apachectl stop | ||
| + | /etc/init.d/httpd stop | ||
| + | service httpd stop | ||
| + | zatrzymanie serwra w Debianie | ||
| + | /etc/init.d/apache2 stop | ||
sprawdzanie statusu | sprawdzanie statusu | ||
