Horje
start apache server in ubuntu Code Example
start apache2 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

# Reload Apache 2 server on Linux/Unix "No downtime!"
sudo service apache2 reload
start apache server in ubuntu
# Start Apache 2 server on Linux/Unix
sudo apt install apache2

# allow uncomplicated firewall
sudo ufw allow 'Apache'

# start the server
sudo service apache2 start

# /var/www/html/index.html is now live on =>
http://localhost/ 

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

#remove apache2 packages
$ sudo apt-get purge apache2 apache2-utils apache2-bin apache2.2-common

# cleanup
$ sudo apt-get autoremove
how to install apache server in ubuntu
sudo apt update
sudo apt install apache2
Source: ubuntu.com




Shell

Related
vim replace last match on every line Code Example vim replace last match on every line Code Example
nextjs init Code Example nextjs init Code Example
change commit date Code Example change commit date Code Example
vim replace text at end of line Code Example vim replace text at end of line Code Example
Could not load project management plugin KDevCMakeManager. Code Example Could not load project management plugin KDevCMakeManager. Code Example

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