Users may have different types of systems to use WordPress. Like some uses desktops with different operating systems (Windows XP, Windows 7, Windows 8 and so on), some uses laptops and some uses Mac.
How to Install WordPress on Localhost – This is very simple on other modes of systems except on Mac (which involves a completely different procedure).
Normally, WordPress can be run on localhost by using the WAMP server but Mac doesn’t support Wamp which makes it a bit difficult for the users those use Mac systems and want to start with WordPress.
Keeping in mind this common problem of most users (using Mac systems), I decided to make this tutorial which will help you to easily install WordPress on your Mac system by following the simple steps.
So here is the solution.
But before installing WordPress on your Mac system let me tell you something about Mac system and MAMP software.
- The Macintosh operating system (Mac) contains a feature of the GUI (Graphical User Interface) which represents a desktop interface with some 3D appearance characteristics and designed to run exclusively on Mac computers.
- MAMP (Macintosh, Apache, MySQL, PHP) is a software which can easily install Apache, PHP, MySQL in one folder for Mac OS.
- You can easily install WordPress on your Mac System using MAMP.
Let’s begin the process.
Installing MAMP Software On Mac System
Go to MAMP website and install MAMP software on your Mac system.
Click on Download Now button.
Click on the Continue button to get continue with the installing process.
Get continue by click on the Continue button.
Get continue with the License Agreement for MAMP by click on the Continue button.
Get continue with the installation of software for all users by click on the Continue button.
You can set the password by entering it in the Password field and then click on the Install Software button.
Go to Preferences.. option by click on it.
Select Apache option and check the Document Root (it should be /Applications/MAMP/htdocs) under it and then click on OK button.
After check, the root then click on Start Servers button.
You can see the green signal in the image given below which indicates that Apache Server and MySQL Server are started now.
MAMP is successfully installed on your machine and servers get started running now.
After successful completion of MAMP installation. You need to install WordPress on your Mac system from WordPress.org.
Click on Download WordPress 3.6 (not necessary the same version)
Place WordPress Folder in htdocs Folder of MAMP
After complete installation of WordPress on your machine you need to place the WordPress folder in the htdocs folder of MAMP.
For that, click on MAMP option listed under installed applications on your system.
Go to Applications –> MAMP
Under MAMP, open htdocs folder with just click on it.
Now paste this “WordPress” folder under the htdocs folder as you can see in the image given below.
Create Database of WordPress
For creating a database of WordPress open MAMP which already installed on your machine.
Click on phpMyAdmin appear on the top menu bar.
Click on Databases for creating the new database of WordPress.
Give your WordPress database name (let’s say WordPress) and click on Create button.
Database of WordPress is created now. Click on Privileges for setting the privileges.
You can add privileges to your newly created database by selecting it from the list under Add privileges on the following database. You can see in the image given below I have to choose my database named WordPress.
After selecting your database for the privilege.
Click on Check All option to add all MySQL privileges.
The check is on it means all the privileges are selected now.
As soon as you click on the Go button then all the privileges get updated for [email protected].
You can see the message appear on the screen.
Now copy the address code (localhost:8888/wordpress)and run it in the browser.
Run WordPress on Localhost
You can manually create a file by click on Create a Configuration File.
Get continue with the process by click on Let’s go! Button.
Before starting WordPress on your system lets enter your database connection details as you can see in the image given below.
Now WordPress gets communicated to the database. It’s time to run it by just a click on Run the install.
Create your WordPress site by entering its details like site title, username, password etc.
Your WordPress site is created now. You can run it only after getting a successful login.
You can get a login to your WordPress site by entering a valid username and password in the respective fields.
You are successfully login now and dashboard of your website is opened now.
You can view your website at a front end and it would appear like this.
Note– If you want to see the whole process in a glimpse you can just click on one image and the slide it to see the complete process of installation in one way.
That’s it. Bingo. 🙂
You have successfully installed WordPress on Mac.
I hope you find this tutorial very helpful and in that respect, I would appreciate if you could share this with others to resolve their problems as well.
Let me know your feedback on this one. If you have any queries or doubts you can simply post it below.