reinstal apache2 ubuntu
sudo apt-get --purge remove apache2
sudo apt-get autoremove
sudo apt-get install apache2
sudo /etc/init.d/apache2 restart
reinstal apache2 ubuntu
sudo apt-get --purge remove apache2
sudo apt-get autoremove
sudo apt-get install apache2
sudo /etc/init.d/apache2 restart
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us