I installed Apache 2 using:
sudo apt-get install Apache2Then tried to start it with:
sudo service Apache2 startBut ended up with:
Failed to start Apache2.service: Unit Apache2.service not found.Any help? Thx
2 Answers
Remember that linux/unix is case-sensitive, so apache2 is not the same as Apache2
Try
sudo apt-get install apache2Then it should start right after you install it
sudo service apache2 statusIf stopped
sudo service apache2 start 3 The problem is the upper_case letter being used on your command.
USE: sudo service apache2 status NOT: sudo service Apache2 status