Your SlideShare is downloading. ×
How to Install Drupal 101 (for Local Development) - Musings of a Drupal Girl
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

How to Install Drupal 101 (for Local Development) - Musings of a Drupal Girl

6,521
views

Published on

How to install Drupal for local development - the basic, easy to read and understand, 101 way by a beginner Drupal girl.

How to install Drupal for local development - the basic, easy to read and understand, 101 way by a beginner Drupal girl.

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
6,521
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. How to Install Drupal for Local Development Musings of a Drupal Girl
  • 2. Disclaimer II am only just a beginner in Drupal and this is the way II was am only just a beginner in Drupal and this is the way was taught to install Drupal from some experts II know (thank taught to install Drupal from some experts know (thank you Richard & Maung Maung). Hence, II am just breaking it you Richard & Maung Maung). Hence, am just breaking it down for beginners like me who have no clue at all. If you down for beginners like me who have no clue at all. If you have any suggestions on an easier, better way to install have any suggestions on an easier, better way to install Drupal, I’m all ears! =) Drupal, I’m all ears! =) And one more note: I’m using a Mac so the steps/tips might And one more note: I’m using a Mac so the steps/tips might be a little more skewed towards Macs. II will try my best to be a little more skewed towards Macs. will try my best to include some Windows tips where II can! include some Windows tips where can!04/16/13 2
  • 3. How to Install Drupal 101 • Acquia Dev Desktop • Local Installation04/16/13 3
  • 4. Install Drupal 101: “Acquia Dev Desktop” way • Downloads you need: Acquia Dev Desktop • To get the Acquia Dev Desktop, you can go to the same page https://www.acquia.com/downloads and select your download from the drop-down menu: the “dmg” file is for Mac users or the “exe” file is for Windows users.04/16/13 4
  • 5. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 5
  • 6. Install Drupal 101: “Acquia Dev Desktop” way Installing Acquia Dev Desktop – Step #1 •Open the Acquia Dev Desktop and start the installation process. • If you are a Windows user, find the folder that you used to save your Acquia Dev Desktop download and double-click the “.exe” installation file. • For a Mac user, find the folder that you used to save your Acquia Dev Desktop download and double-click the “.dmg” installation file. A new folder will pop up with an icon that says “Acquia Dev Desktop Stack Installer”. Double-click on that and allow the installer to run on your computer.04/16/13 6
  • 7. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 7
  • 8. Install Drupal 101: “Acquia Dev Desktop” way Installing Acquia Dev Desktop – Step #2 •Let the installer run and click “Next” for every step once you have read and understood it. •You will come to a step that requires you to fill in some information. •Do take note of the username and password that you fill in at this page as this will be your login information when you get to your Drupal site (if you are not good at remembering passwords like me, KeePassX is a great help).04/16/13 8
  • 9. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 9
  • 10. Install Drupal 101: “Acquia Dev Desktop” way Launching Acquia Dev Desktop Control Panel •If the box next to the “Launch the Acquia Dev Desktop control panel” is ticked (like mine is above), your control panel should launch when you click “finish”:04/16/13 10
  • 11. Install Drupal 101: “Acquia Dev Desktop” way Launching Acquia Dev Desktop Control Panel •Don’t panic if your control panel doesn’t launch. All you have to do is go to Programs (for Windows users) or Applications (for Mac users), search for the “acquia-drupal” and launch the “Acquia Dev Desktop Control Panel”.04/16/13 11
  • 12. Install Drupal 101: “Acquia Dev Desktop” way Getting your local Drupal site going • The ‘easy’ third step is to “Go to my local site” by clicking on it.04/16/13 12
  • 13. Install Drupal 101: “Acquia Dev Desktop” way Getting your local Drupal site going • You will then get to your local Drupal site that has the title you specified earlier in the installation stage. Not to worry, the title of your site can be changed later on.04/16/13 13
  • 14. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 14
  • 15. Install Drupal 101: “Acquia Dev Desktop” way Getting your local Drupal site going • The final step to ensure you have installed Drupal is to sign in to your site. Remember the username and password that you specified during the installation process? That’s what you will use to sign in at your local site homepage, which will then bring you to:04/16/13 15
  • 16. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 16
  • 17. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 17
  • 18. Install Drupal 101: the “Local Host” way • Why install Drupal locally (meaning you use a local host for Drupal) when it’s more complicated than the Acquia Dev Desktop way? • Well, it’s simply because you can actually build something without having to rely on 3rd party services to provide the platform for you, you will see changes instantly when developing on your local host and it is free to do so.04/16/13 18
  • 19. Install Drupal 101: the “Local Host” way #1: Getting ‘Acquia Drupal’ •First things first, you need the Acquia Drupal folder. You can get this by going to https://www.acquia.com/downloads and downloading it.04/16/13 19
  • 20. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 20
  • 21. Install Drupal 101: the “Local Host” way #2: Getting a software to help you run your ‘Acquia Drupal’ •You need to get three servers that will help you to run Drupal • Namely an “*AMP stack” that consists of Apache, MySQL and PHP servers • Don’t worry, I don’t exactly know what these three servers are and can’t programme with them either, but they are what you need to run Drupal •With the Acquia Dev Desktop, these servers are already included but when you install Drupal locally, you need to get these servers.04/16/13 21
  • 22. Install Drupal 101: the “Local Host” way #2: Getting a software to help you run your ‘Acquia Drupal’ •Lucky for us, some awesome companies have designed a software to install all three of these servers at one time! We have XAMPP, WAMP and MAMP. • XAMPP can be installed across all platforms – Windows, Mac & Linux • WAMP is specifically for Windows • MAMP is specifically for MAC - As I am currently using a MAC, I used MAMP to install Drupal locally on my computer.04/16/13 22
  • 23. Install Drupal 101: the “Local Host” way #3: Combining your ‘Acquia Drupal’ and your new software • After downloading the MAMP software (the free one is the one on the left, with the grey MAMP logo), I unzipped the file and installed it on my computer, the same way any new software is installed • I would think this is similar with the installation of XAMPP and WAMP as well. You can then navigate to open your newly installed software, MAMP in this case for me.04/16/13 23
  • 24. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 24
  • 25. Install Drupal 101: the “Local Host” way #3: Combining your ‘Acquia Drupal’ and your new software • At this point, you are armed with the Acquia Drupal download that is zipped (please do unzip it) and your awesome software with your servers (be it XAMPP, WAMP or MAMP). What we have to do now is “combine” the two together by doing the following:04/16/13 25
  • 26. Install Drupal 101: the “Local Host” way #3: Combining your ‘Acquia Drupal’ and your new software 1. Find where your MAMP/XAMPP/WAMP programme folder is • Double-click on the folder and you will find many different folders and files inside the main programme file. Find the “htdocs” folder and open the folder.04/16/13 26
  • 27. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 27
  • 28. Install Drupal 101: the “Local Host” way #3: Combining your ‘Acquia Drupal’ and your new software 2. Acquia Drupal into “htdocs” • Don’t worry about the “htdcos” folder being blank; this is where you copy and paste your unzipped Acquia Drupal folder.04/16/13 28
  • 29. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 29
  • 30. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 30
  • 31. Install Drupal 101: the “Local Host” way #4: Running your servers through your Control Panel • Now that you have combined both ‘Acquia Drupal’ and “htdocs”, go back to your launched Control Panel and click on “Start Servers”.04/16/13 31
  • 32. Install Drupal 101: the “Local Host” way #4: Running your servers through your Control Panel • When you start your servers for the first time, a new page will open up. For MAMP, this is what happens:04/16/13 32
  • 33. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 33
  • 34. Install Drupal 101: the “Local Host” way #4: Running your servers through your Control Panel • This means all is in working order when you get to this, and what MAMP is doing for you is running everything that you need to communicate from the server and to the server. • Subsequently, when you start your servers again and would like to go to the above Start Page, you just have to click “Open start page” in your Control Panel.04/16/13 34
  • 35. Install Drupal 101: the “Local Host” way #5: Setting up your database • On the start page, find the “phpMyAdmin” button and click on it to be brought to your phpMyAdmin page.04/16/13 35
  • 36. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 36
  • 37. Install Drupal 101: the “Local Host” way #5: Setting up your database • Click on “Databases” on the menu near the top of the page, and you will be brought to another page where you can create a new database. • You can name your database anything you want (highly recommended to add the word “Drupal” in the name of your database) but for this example, I will call mine “drupal_20130405″.04/16/13 37
  • 38. Install Drupal 101: the “Local Host” way #5: Setting up your database • When you create your database, ensure that you choose “utf8_general_ci” in the dropdown menu next to where you type in the name of your database. • Press “create” and you will see your new database created04/16/13 38
  • 39. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 39
  • 40. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 40
  • 41. Install Drupal 101: the “Local Host” way #6: Going to your Local Site • To get to your local site, all you need to do is go to your local host. So copy and paste your local host address into a new tab/window:04/16/13 41
  • 42. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 42
  • 43. Install Drupal 101: the “Local Host” way #6: Going to your Local Site • And you will be brought to:04/16/13 43
  • 44. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 44
  • 45. Install Drupal 101: the “Local Host” way #6: Going to your Local Site • Click on your Drupal link there, and you will be brought to a configuration page for Drupal.04/16/13 45
  • 46. Install Drupal 101: the “Local Host” way #7: Configuring your Database • For the first 3 steps, you just have to choose a “Standard” profile to install, choose the language (it comes default in ‘English’ for now) and make sure that you have right requirements to install Drupal. If you have any problems, you can always check out some help here.04/16/13 46
  • 47. Install Drupal 101: the “Local Host” way #7: Configuring your Database • As I have previously filled in my profile, chose my language and verified my requirements, I am brought straight to the database configuration page.04/16/13 47
  • 48. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 48
  • 49. Install Drupal 101: the “Local Host” way #7: Configuring your Database • When you get to this same page as me, leave the top option as “MySQL, MariaDB, or equivalent” and fill in the blanks on the page. • The “Datebase name” is the same name as the database you created earlier in the phpMyAdmin page.04/16/13 49
  • 50. Install Drupal 101: the “Local Host” way #7: Configuring your Database • The name of my database, as per the picture and description above, is “drupal_20130405″. • For the “Database username” and “Datebase password”, you can just put ‘root. • Do note that this is not the username for your Drupal account or to administer Drupal, but rather, just for your database that is currently based on MAMP if you are doing the same installation as I am.04/16/13 50
  • 51. Install Drupal 101: the “Local Host” way #7: Configuring your Database • Save it and continue. You will then get to a progress bar and if there are no errors or problems, you will get to the next page where you configure your site.04/16/13 51
  • 52. Install Drupal 101: “Acquia Dev Desktop” way04/16/13 52
  • 53. Install Drupal 101: the “Local Host” way #8: Configuring your Site • When you get to this configuration page, all you have to do is fill in the various information and create your user account – now this is the one you will use as your Drupal administration account. This first user account will also be automatically given all administration permissions.04/16/13 53
  • 54. Install Drupal 101: “Acquia Dev Desktop” way 54
  • 55. Install Drupal 101: the “Local Host” way #8: Configuring your Site • Site Information • Site name: Pick whichever name you want for your site. You can always change this later on. • Site email address: Drupal sends out notifications such as registration information so type in an email address you want associated with this. • This can be the same email that you use to maintain the site. It is entirely up to you. • Acquia subscription identifier & Acquia subscription key: You can leave this alone if you don’t have either of these.04/16/13 55
  • 56. Install Drupal 101: “Acquia Dev Desktop” way 56
  • 57. Install Drupal 101: the “Local Host” way #8: Configuring your Site • Site Maintenance Account • Username, Email address, Password: This is all up to you. As mentioned above, this can be the same email address as the one you use for your site email address. • Server Settings • Default country & Default time zone: Select whichever is most relevant for you. For me, it’s Singapore with a +8 timezone.04/16/13 57
  • 58. Install Drupal 101: “Acquia Dev Desktop” way 58
  • 59. Install Drupal 101: the “Local Host” way #8: Configuring your Site • Update Notifications Check both of these boxes if you wish to receive Drupal alerts for updates. Although, if you do have a restricted Internet connection, you might want to uncheck the boxes and test them later. • Save and continue…04/16/13 59
  • 60. Install Drupal 101: the “Local Host” way04/16/13 60
  • 61. Install Drupal 101: the “Local Host” way #9: You’re Done!!! • When you click on “Visit your new site”…04/16/13 61
  • 62. Install Drupal 101: the “Local Host” way04/16/13 62
  • 63. Install Drupal 101: the “Local Host” way04/16/13 63
  • 64. How to Install Drupal 101 • I would love to hear from you about my little guide! Was it easy enough? Was it too hard? Is there anything that I can do better or faster? What else do you want to find out next? • Feel free to email me anytime at nicole@olindata.com. Till next week! Musings of a Drupal Girl – How to Install Drupal 10104/16/13 64

×