Installing WordPress on your Mac computer is quiet similar to Windows installation procedure. Read the following to know how to install WordPress locally on Mac using MAMP.
MAMP is nothing but a bundle of facilities like Apache, PHP and MySQL put together. Using MAMP you can test drive WordPress and it is mostly used for development purposes by WordPress developers. It can be used only locally and if you want it to be sported on web, you need to look into WordPress hosting.
Step one : Install MAMP on Mac
Visit the MAMP website to download MAMP on your mac. After the download, run the MAMP file. Copy your image filed into your Applications folder. Follow instructions on screen. MAMP can be now launched from Applications > MAMP.
Now go to preferences to tune the setting to your requirement. Inside Preferences you would find the Ports tab that will be utilized by Apache and MySQL. Set port 80 for Apache and 3306 for MySQL. When setting 80 ports would means access to your website from simple http : / / localhost (instead of http : / / localhost : 8888), it would also ask you to provide admin password every time you access the servers. Small price to pay.
Our next stop is to set up Document root which is the folder where you create and store websites. From the Preferences dialogue box choose Apache and click a folder where you want your website to reside. It is better to create a new folder and save the websites there and give a name to it. To explain further, let me name it as mywebsite.
Save the changes and on the home screen ensure that both Apache and My SQL servers are in the run.
Step Two : Install WordPress locally on Mac
Go to WordPress.org and download the installation file. Copy paste this WordPress folder into your MAMP Document root folder. Give it a name like mysites, mywordpress etc. in the MAMP application window select Open Start page and a new browser window will appear. On the top menu bar, click phpMyAdmin.
PhpmyAdmin is crafted to manage MySQL databases and is a web-based application. In the phpMyAdmin dialogue box select Databases and from there create a new database and name it. For example test_db.
We are close, stay with me. Open a new browser window and enter http: / / localhost / my website (or instead the name you gave earlier). Once you have done that you will receive a note from WordPress saying it is unable to find wp- config. php file. Select Create a configuration file at the end of the dialogue box.
On the next window provide the Database information such as the name (test_db) and password and localhost as your server.
WordPress will automatically connect with database and create a configuration file. Run Install from the success message.
Now in the next window you will have to provide your website’s information such as username, password and email address. Once you have finished with the detail select Install WordPress option.
After sometime, you would receive a success dialogue box appears with the details of your username and password.
Congratulations! You have now successfully installed WordPress locally on your Mac using MAMP. Launch the MAMP application to start using WordPress.