Apache2 Server not starting

I installed Apache 2 using:

sudo apt-get install Apache2

Then tried to start it with:

sudo service Apache2 start

But ended up with:

Failed to start Apache2.service: Unit Apache2.service not found.

Any help? Thx


Solution 1:

Remember that linux/unix is case-sensitive, so apache2 is not the same as Apache2

Try

sudo apt-get install apache2

Then it should start right after you install it

sudo service apache2 status

If stopped

sudo service apache2 start