{"id":975,"date":"2011-11-16T13:19:45","date_gmt":"2011-11-16T20:19:45","guid":{"rendered":"http:\/\/miriamposner.com\/blog\/?p=975"},"modified":"2011-11-16T13:28:23","modified_gmt":"2011-11-16T20:28:23","slug":"install-wordpress-on-your-mac","status":"publish","type":"post","link":"https:\/\/miriamposner.com\/blog\/install-wordpress-on-your-mac\/","title":{"rendered":"Install WordPress on your Mac"},"content":{"rendered":"<p>This week, I&#8217;m teaching a Hack Your WordPress Theme workshop for Emory&#8217;s <a href=\"http:\/\/web.library.emory.edu\/disc\">Digital Scholarship Commons<\/a>. It&#8217;s fun (and not all that hard) to customize WordPress themes. The only problem is, in order to really access the theme files, you need to install WordPress on a server. But what if you&#8217;re not quite ready for that?<\/p>\n<div class=\"LessonContent\">\n<div class=\"LessonSummary\">\n<p>You can still play around with WordPress by getting your own computer to act like a server. Your WordPress site won&#8217;t be public, but you can make changes to your theme and, when you&#8217;re ready, upload it to a real server.<\/p>\n<p>XAMPP is a software package that emulates a server on your own computer. Don&#8217;t worry, it&#8217;s not hard to install \u2014 there are just a couple tricky steps.<\/p>\n<p><!--more--><\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Navigate to the XAMPP website<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320773726157.png\" alt=\"media_1320773726157.png\" width=\"540\" height=\"476\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Head to <a href=\"http:\/\/www.apachefriends.org\/en\/xampp.html\">http:\/\/www.apachefriends.org\/en\/xampp.html<\/a>. Click on the version of XAMPP that&#8217;s appropriate for the kind of computer you have. Since I have a Mac, I&#8217;m choosing <strong>XAMPP for Mac OSX.<\/strong><\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Click on the link for the latest version of XAMPP<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320774011160.png\" alt=\"media_1320774011160.png\" width=\"540\" height=\"159\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>You might have to scroll down the page a bit to find it. You want the first link that appears underneath the purple bar. Once you click the link, XAMPP will be downloaded to your computer. If you get a message saying, &#8220;This type of file may harm your computer,&#8221; don&#8217;t worry! XAMPP is safe. Just click <strong>Keep<\/strong> or <strong>OK<\/strong>. It takes a few minutes to download, so go get a snack!<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Install XAMPP on your computer<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320776861311.png\" alt=\"media_1320776861311.png\" width=\"494\" height=\"336\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Double-click the file you just downloaded so that your computer can uncompress it. Then install XAMPP as you would any application. On a Mac, that means dragging the XAMPP file into your applications folder.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Open XAMPP and make sure everything&#8217;s running properly<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320778083555.png\" alt=\"media_1320778083555.png\" width=\"204\" height=\"139\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Open up the XAMPP folder you just installed. Find the application called XAMPP Control and double-click. A small control panel should appear. Click all three Start buttons. If everything&#8217;s working properly, green lights should appear next to <strong>Apache<\/strong>, <strong>MySQL<\/strong>, and <strong>FTP<\/strong>.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Open up a browser and check out XAMPP there<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320778309836.png\" alt=\"media_1320778309836.png\" width=\"540\" height=\"446\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Open up a browser and enter the word <strong>localhost<\/strong> into the address bar. You should see the XAMPP splash page. Click on the word <strong>English<\/strong>. You should see a page like the one above.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Click on phpMyAdmin<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320778469829.png\" alt=\"media_1320778469829.png\" width=\"151\" height=\"390\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Now for the tricky part! You&#8217;re going to create something called a MySQL database. It sounds scary, but it just means that you&#8217;re creating a place for WordPress to store all the data you enter into it. To start, click on <strong>phpMyAdmin<\/strong> (below <strong>Tools<\/strong> in the lefthand sidebar). PHPMyAdmin is the name of the tool that you&#8217;ll use to create your MySQL database.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Yikes! What&#8217;s this?<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320778683904.png\" alt=\"media_1320778683904.png\" width=\"540\" height=\"393\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>This is your <strong>phpMyAdmin<\/strong> panel, where you control your MySQL databases. Start by entering the word <strong>wordpress<\/strong> (use lowercase letters) in the box labeled <strong>Create New Database<\/strong>. Then press <strong>Create<\/strong>. The next page you see should say <strong>Database wordpress has been created<\/strong>. And that&#8217;s it!<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Download WordPress<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320784504704.png\" alt=\"media_1320784504704.png\" width=\"540\" height=\"217\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>In a new browser window, head over to <strong>http:\/\/wordpress.org\/<\/strong> and click on <strong>Download WordPress<\/strong>. When the file downloads, unzip it.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Move your WordPress folder<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320784772431.png\" alt=\"media_1320784772431.png\" width=\"540\" height=\"273\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Your <strong>wordpress<\/strong> folder should be on your desktop or your Downloads folder (wherever you downloaded it). Your <strong>XAMPP<\/strong> folder should be in your <strong>Applications<\/strong> folder (where you put it earlier).<\/p>\n<p>You want to move the <strong>wordpress<\/strong> folder into a folder called <strong>htdocs<\/strong>. The <strong>htdocs<\/strong> folder is located right inside the <strong>XAMPP<\/strong> folder. Just drag the wordpress folder into the <strong>htdocs<\/strong> folder.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Open the file called wp-config-sample<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320785144260.png\" alt=\"media_1320785144260.png\" width=\"540\" height=\"509\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>This file is right inside your <strong>wordpress<\/strong> folder. Open it using a text editor by right-clicking (control-clicking if you&#8217;re using a Mac) and selecting <strong>Open With<\/strong> and then <strong>TextEdit <\/strong>or <strong>Notepad<\/strong>.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Edit the wp-config-sample.php file<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320785384592.png\" alt=\"media_1320785384592.png\" width=\"517\" height=\"403\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Replace the words inside the quotation marks with the following information:<\/p>\n<ol>\n<li>Database: <strong>wordpress<\/strong><\/li>\n<li>MySQL database username: <strong>root<\/strong><\/li>\n<li>MySQL database password: Erase the word that appears between the quotation marks and leave this blank<\/li>\n<li>MySQL hostname: <strong>localhost<\/strong><\/li>\n<\/ol>\n<p>That&#8217;s it! You can leave the rest alone. Save the file and then close it.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Change the name of the wp-config-sample.php file<\/span><\/h2>\n<div class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320785538962.png\" alt=\"media_1320785538962.png\" width=\"540\" height=\"557\" \/><\/div>\n<div class=\"StepInstructions\">\n<p>Change the name of the <strong>wp-config-sample.php<\/strong> file to <strong>wp-config.php<\/strong>.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h2 class=\"StepTitle\"><span style=\"color: #db5043;\">Open up your WordPress site!<\/span><\/h2>\n<h2 class=\"StepImage\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miriamposner.com\/blog\/wp-content\/uploads\/2011\/11\/media_1320785695950.png\" alt=\"media_1320785695950.png\" width=\"540\" height=\"527\" \/><\/h2>\n<div class=\"StepInstructions\">\n<p>Back at your browser, type in <strong>localhost\/wordpress<\/strong> in the address bar. You should see the page above. Just enter the required information and you&#8217;re ready to go!<\/p>\n<p>In the future, whenever you want to start up your WordPress site, just double-click on the XAMPP icon, click each <strong>Start<\/strong> button, open a browser window, and type <strong>localhost\/wordpress <\/strong>.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I&#8217;m teaching a Hack Your WordPress Theme workshop for Emory&#8217;s Digital Scholarship Commons. It&#8217;s fun (and not all that hard) to customize WordPress themes. The only problem is, in order to really access the theme files, you need to install WordPress on a server. But what if you&#8217;re not quite ready for that? [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,95],"tags":[201,204,203,197,205,202],"class_list":["post-975","post","type-post","status-publish","format-standard","hentry","category-tools","category-web-design","tag-apache-http-server","tag-content-management-systems","tag-mac-osx","tag-technologyinternet","tag-wordpress","tag-xampp"],"_links":{"self":[{"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/posts\/975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/comments?post=975"}],"version-history":[{"count":4,"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/posts\/975\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/posts\/975\/revisions\/979"}],"wp:attachment":[{"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/media?parent=975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/categories?post=975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miriamposner.com\/blog\/wp-json\/wp\/v2\/tags?post=975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}