Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Here we are in our Firefox browser, and we are on moodle.org/downloads, and we're going to go ahead and install Moodle on Mac OS X in this movie. If you're looking for how to install Moodle on Windows, go and check a later movie in this chapter. But in this movie, we're going to show you how to install Moodle for Mac OS X. So simply scroll down on the page a little bit and look for this Moodle Mac OS X as a link right here. Go ahead and click on that. On this page, the first thing you want to check is make sure that the distributions that are available to you are one that's going to work on your operating system, and you can see that right here in this line.
That may be in a slightly different spot, as this page kind of changes around a little bit. But you're generally looking for this information, that all distributed packages work with the following versions of Mac OS X. Now, if you're not sure which version of Mac OS X you have, simply come on up here to the Apple menu and click About This Mac, and you can see right there, version 10.6. Excellent! The next thing I am going to do is figure out which distribution you want. So we'll scroll on down on the page, and here you see all of the Mac OS X distributions.
They are listed out on the left-hand column as to which version they are, so as part of the recording of this video we're going to be using Moodle 2.1, which at the current time is the current stable version. You can tell it's the stable version because it has the word Stable right here. You'll also see in the list 2.0, which is the previous version, 1.9, which is a very common version, and if you're working at an institution that has the version of 1.9, there is another title of lynda.com that can help walk you through how to use this version of Moodle.
The one down here at the bottom, Moodle 2.2 Dev, or whichever version that has the Dev designation, this is one that you probably want to stay away from unless you are a developer working on Moodle. So this is essentially the beta build of the next version of Moodle. If you want to have a sneak peek to see what's coming out or what the developers are all working on, you can go ahead and check in on this, but for this training title we're going to use the 2.1 Stable version. And in the right-hand column you can see there are two options.
There is an XAMPP or X-A-M-P-P and an MAMP. This just refers to what are the underlying packages that have been used in order to build and distribute these versions of Moodle. They're essentially the same thing, but if you notice, just underneath of the download link, you can see that one of them is 143.2 megabytes and the other one is 192 megabytes. So we're going to go ahead and use the smaller one, which is the X-A-M-P-P.
So if you want to follow along, go ahead and download the X-A-M-P-P version. Now your browser should begin to download this file, and just go ahead and make sure you click the button that says Save File and then click OK. If that window didn't pop up, it may simply mean that you've previously told your web browser to always save any file that you download. Okay, once the download completes, it should now be in your Downloads folder, and we can simply access that through this Downloads window by simply double-clicking on the name of the file and you'll notice that we get a little opening Moodle DMG file, that's a Disk Image File.
So that's going to be opening up in the background, and we can go ahead now and close our Downloads window, and for now we can go ahead and close our browser window as well. Now, we have our Disk Image File right here. Now, installing Moodle on the Mac couldn't be easier. All you need to do is take this XAMPP folder and drag it and drop it onto the Applications folder right here. So we'll just go ahead and do that, drop it in, and now we see that Moodle is copying over into our Applications folder. That's really all there is to really installing Moodle.
Now, we have to do a little bit of configuration and setup as soon as the copy finishes. The copy is done, so let's go ahead and close our DMG file, and we will just go down here to our Dock and click on our Finder to bring up a new Finder window. And in the left-hand column under Places I am just going to go ahead and click on Applications to jump quickly to my Applications folder. You can also go to the Go menu and select Applications. We're going to scroll all the way down here to the bottom, where you'll find the X-A-M-P-P or the XAMPP folder. Go ahead and click one time on that, and you will see a whole of different files in here.
The first thing we want to do is find this file that says FixRightsForMoodle.sh. Simply double-click that file. Now this is a shell script that's going to go in, and it's going to repair some file permissions that need to be set up in order to make Moodle work. Now, it is going to warn us that this is a script and it's an application. We're opening it for the first time, we downloaded it, are we sure we want to do this? Go ahead and hit Open, and you'll notice that a Terminal window has popped up in the background. Don't worry, we're not going to get too crazy with the Terminal window here.
All we have to do is it's prompting us for our password. Now this is the password that you use to log in to your Mac. It's the administrator password for your machine, if you have administrative privileges on your machine. So I'll go ahead and type mine in here, and you'll notice that as I'm typing, I'm not getting any feedback on screen that anything whatsoever is happening. The cursor is not blinking. It's not showing me little stars or anything. It just asks me for the password. I type it in and simply hit Return on my keyboard. After a few seconds, you'll see that it tells us "logout," and then "Process completed." Now, that's exactly what we're looking for.
That's all we need to know; nothing else has to be done. We'll simply close that Terminal window. Every time you go to use Moodle you're going to need to start up that Apache server, and you're going to need to start up the MySQL server. The XAMPP project has this nice little control panel that has been created for you to be able to do that and make that easier. So to make our life a little bit easier, I am simply going to grab that XAMPP file and I am going to drag it down here to my Dock, and I like to put it right here next to my Firefox Web browser so I can get at it very easily, and the final thing that I am going to want to do is I am going to add this Link to Moodle 2.1.
Now this is a web shortcut that's going to take us directly to our Moodle installation once it's up and running. So I am going to grab that. I'm going to drag that down here. I am going to put it on the right-hand side of this little vertical bar and just drop it right there in place. So now I'll be able to very quickly get right to my Moodle installation. I want to point out one other thing while we're here in the XAMPP folder before we go in and make any additional changes or updates, and that is this htdocs folder. We're going to use this in a little while.
This is actually where Moodle itself is stored, and all of the build files and everything else are all in here. We're going to be dropping a file into this location in a future movie. But I just wanted to be able to point it out to you, so when I mention the htdocs folder or the root folder of your installation, I want you to know where that is. So I will go ahead and close this window now. Let's go ahead and start up our Apache web server, so we'll simply click on the XAMPP control from our Dock and it's telling us this is an application from the Internet. Are we sure we want to do this? Yes, save, I will hit Open.
When XAMPP starts up, it gives us simply three buttons, and it tells us Apache, MySQL, and FTP. Now, I didn't mention FTP, that we need to have it running, but we're going to go ahead and start it so that it's there, just in case there's something in the background that requires it. So we'll simply click the Start button for Apache and we get a little prompt here asking us to authorize this. So this is again our administrator password on our machine. Bo ahead and click OK, and there we go. We've got a little green light telling us that Apache started properly.
We'll go ahead and click on the Start button for MySQL, and MySQL is now running, and we'll go ahead and start up FTP just for good measure. So all three have green lights. They are all running now, and all I am going to do is just minimize this window, click the little yellow ball, and drop it down to my Dock. Now, I will come on back down to my Dock and I will go ahead and click on the Link to Moodle, and there we go! Moodle has opened up, and it is up and running within our browser. Now let's go ahead and finish up this installation with making sure that we're able to log in. The Moodle Install for the Mac already has an administrator account set up, and I wouldn't suggest using this password if this were a Moodle installation that was going to be being used out in a production environment connected out to the Internet.
But this is just a local environment that we're going to be using to be able to play around with Moodle and learn how to use it for training purposes during this video, So this is a fine password to use. So we'll simply come out over here to the right-hand side under the Login box and in Password we were just going to go ahead and type 12345 and click the Login button, and there we go. We've logged in. Now, we don't see a whole lot on screen that's changed to really let us know that we've logged in, other than that the Login window is gone, but if we scroll all the way to the bottom of the screen and look in the lower-left, you'll see "You are logged in as admin." Perfect! That's exactly what we want.
It's exactly where we want to be at this point. So go ahead and scroll back up to the top, and in the next movie we're going to do a little bit of setup and cleanup of the Moodle interface so that everyone following along is going to have the same look that I am going to have that I am going to use throughout this training series.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 75246 Viewers
80 Video lessons · 130075 Viewers
52 Video lessons · 64209 Viewers
59 Video lessons · 50016 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.