WordPress is far more than just a powerful blogging tool — it’s a lightweight content management system, making it the ideal basis for a portfolio or a small business site. MAMP is all tooled up to host it from the get-go. If you’re using OS X Server, follow our instructions for installing MySQL first, then work through the steps below, and you’ll have a home-hosted blog in no time.
1. GET WORDPRESS
WordPress is a free download from http://wordpress.org . Extract the files from the zipped archive and copy them to the site folder on your server. On OS X Server, that’s the one found by clicking the arrow beside «Store Site Files in» in its configuration pages (the default is /Library/Server/Web/Data/ Sites/Default; see step 4 of our OS X Server setup walkthrough to find it on your Mac). If you’re running MAMP, find it on the Apache tab of the application preferences (the default is /Applications/MAMP/htdocs/; see step 2 of our MAMP setup walkthrough).
2. SET UP WORDPRESS
Open a new browser window and point it at your website, either by typing http://localh.ost/ if you’re running MAMP, or the host name you chose in step 2 of the OS X Server setup walkthrough. WordPress doesn’t yet know how your server is configured, so click Create a Configuration File to load the WordPress setup screens.
3. CONFIGURATION SCREEN
Fill out the configuration screen, providing the database name, username, password, and address. If you’re using MAMP, the username and password are both root by default, and you can leave the address at localhost (swap it for 127.0.0.1 if you have problems connecting). You need to use phpMyAdmin, accessed from the MAMP start page, to create the database. Call it «wordpress.»
4. SAVE YOUR SETTINGS
Press submit to save the settings, then provide a username and password for the administrator account to finish the process.