Debian komandos: Skirtumas tarp puslapio versijų

Iš OeeTechWiki.
Jump to navigation Jump to search
2 eilutė: 2 eilutė:
  
  
=== Restart Apache 2 web server, enter: ===
+
==== Restart Apache 2 web server, enter: ====
 
/etc/init.d/apache2 restart
 
/etc/init.d/apache2 restart
 +
 
arba
 
arba
 
sudo /etc/init.d/apache2 restart
 
sudo /etc/init.d/apache2 restart
 +
 
arba
 
arba
 
sudo service apache2 restart
 
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
 
arba
 
sudo /etc/init.d/apache2 stop
 
sudo /etc/init.d/apache2 stop
 +
 
arba
 
arba
 
$ sudo service apache2 stop
 
$ 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
 
arba
 
$ sudo /etc/init.d/apache2 start
 
$ sudo /etc/init.d/apache2 start
 +
 
arba
 
arba
 
$ sudo service apache2 start
 
$ sudo service apache2 start

07:35, 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:

  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