Debian komandos

Iš OeeTechWiki.
Jump to navigation Jump to search

Darbas su Apache webserveriu

Restart Apache 2 web server, enter:

/etc/init.d/apache2 restart

arba sudo /etc/init.d/apache2 restart

arba sudo service apache2 restart


To stop Apache 2 web server, enter:

  1. /etc/init.d/apache2 stop

arba sudo /etc/init.d/apache2 stop

arba $ sudo service apache2 stop

To start Apache 2 web server, enter:

  1. /etc/init.d/apache2 start

arba $ sudo /etc/init.d/apache2 start

arba $ sudo service apache2 start