In this tutorial I will demonstrate the necessary steps to start Apache on MacBook.
Just to make sure Apache is not running, go to browser and type http://localhost/.
The picture above tells that Apache is not running yet, if you see the message It's Works, your MacBook is already with the Apache server running.
To start the Apache server, the procedure is similar to users who have some experience with Linux system, follow the steps below:
Step 1 - Go to the terminal
Step 2 - Type sudo apachectl start command.
You must enter sudo apachectl start command. The administrator password is required. After that the Apache server is already running.
Step 3 - Make sure Apache is running.
To confirm, access the browser and go to http://localhost/.
You are now with Apache running on MacBook or MacBook Air with OS X Yosemite.
In the next tutorial I will explain how to configure the PHP service.