Debian komandos: Skirtumas tarp puslapio versijų

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

Dabartinė 07:38, 27 balandžio 2020 versija

Darbas su Apache webserveriu

Restart Apache 2 web server, enter:

sudo /etc/init.d/apache2 restart

arba

sudo /etc/init.d/apache2 restart

arba

sudo service apache2 restart


To stop Apache 2 web server, enter:

sudo /etc/init.d/apache2 stop

arba

sudo /etc/init.d/apache2 stop

arba

sudo service apache2 stop

To start Apache 2 web server, enter:

sudo /etc/init.d/apache2 start

arba

sudo /etc/init.d/apache2 start

arba

sudo service apache2 start