Debian komandos: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
(Naujas puslapis: === Darbas su Apache webserveriu === Restart Apache 2 web server, enter: # /etc/init.d/apache2 restart OR $ sudo /etc/init.d/apache2 restart OR $ sudo service apache2 restart...) |
|||
1 eilutė: | 1 eilutė: | ||
=== Darbas su Apache webserveriu === | === 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: === | |
− | |||
− | To stop Apache 2 web server, enter: | ||
# /etc/init.d/apache2 stop | # /etc/init.d/apache2 stop | ||
+ | arba | ||
+ | sudo /etc/init.d/apache2 stop | ||
+ | arba | ||
+ | $ sudo service apache2 stop | ||
− | + | === To start Apache 2 web server, enter: === | |
− | |||
− | |||
− | |||
− | |||
− | To start Apache 2 web server, enter: | ||
# /etc/init.d/apache2 start | # /etc/init.d/apache2 start | ||
− | + | arba | |
− | |||
$ sudo /etc/init.d/apache2 start | $ sudo /etc/init.d/apache2 start | ||
− | + | arba | |
− | |||
$ sudo service apache2 start | $ sudo service apache2 start |
07:34, 27 balandžio 2020 versija
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:
- /etc/init.d/apache2 stop
arba sudo /etc/init.d/apache2 stop arba $ sudo service apache2 stop
To start Apache 2 web server, enter:
- /etc/init.d/apache2 start
arba $ sudo /etc/init.d/apache2 start arba $ sudo service apache2 start