Horje
restart apache Code Example
restart apache ubuntu
# Restart Apache 2 server on Linux/Unix
sudo service apache2 restart

# Start Apache 2 server on Linux/Unix
sudo service apache2 start

# Stop Apache 2 server on Linux/Unix
sudo service apache2 stop
ubuntu 14 apache2 graceful restart
# Restart Apache 2 server on Linux/Unix
sudo service apache2 restart

# Start Apache 2 server on Linux/Unix
sudo service apache2 start

# Stop Apache 2 server on Linux/Unix
sudo service apache2 stop

# Reload Apache 2 server on Linux/Unix "No downtime!"
sudo service apache2 reload
restart apache
sudo systemctl restart apache2
# or
sudo service apache2 restart
How to start apache2 server
# Start Apache 2 server on Linux/Unix
sudo service apache2 start
restart apache
# CentOS/RedHat
sudo service httpd restart

# Debian/Ubuntu
sudo service apache2 restart
restart apache
/usr/sbin/httpd -k restart




Shell

Related
zsh compinit: insecure directories, run compaudit for list. Code Example zsh compinit: insecure directories, run compaudit for list. Code Example
Amazon Linux 2 AMI install docker Code Example Amazon Linux 2 AMI install docker Code Example
kill a process on a port ubuntu Code Example kill a process on a port ubuntu Code Example
how to remove an apt repository Code Example how to remove an apt repository Code Example
stop port ubintu Code Example stop port ubintu Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12