Installing Drupal 7

Video loading...

  • 0:00
    Installing Drupal Kyle Hofmeyer
  • 0:07
    OK, here we go. Welcome to our Site Building series.
  • 0:11
    We're going to start the series off with installing Drupal,
  • 0:15
    because in order to use Drupal, we've got to install it.
  • 0:18
    There's 2 methods we're going to discuss for installing.
  • 0:21
    One is installing and using it locally and the other would be install it
  • 0:24
    and use it on a remote server.
  • 0:26
    Mostly, this will be done and shown locally.
  • 0:28
    If you have any questions or don't really know
  • 0:31
    how to deal with installing and using a local web server,
  • 0:34
    I recommend Drupalize.Me, under the Topic,
  • 0:37
    Backend and infrastructure, we have videos on setting it up
  • 0:41
    for an Ubuntu server, or on a Windows, or a Mac machine.
  • 0:45
    So we've got a bunch of great videos here that'll help you get up and started there.
  • 0:50
    OK, so in order to do this, we go to drupal.org
  • 0:54
    and we need to download Drupal.
  • 0:56
    You can see on the homepage, there's this Get Started with Drupal,
  • 0:59
    we go ahead and click there.
  • 1:01
    This will bring us to the Download page.
  • 1:03
    It will tell us what is the most recent release in the green box.
  • 1:06
    So if we click on that, it'll bring us to different downloads.
  • 1:09
    You can choose your flavor of download.
  • 1:12
    If you want a nice smaller size, go ahead and get a tarball,
  • 1:14
    if not, grab your zip.
  • 1:16
    So downloading.
  • 1:20
    One thing to keep in mind here, this kind of hooked me
  • 1:23
    the very, very first time that I installed Drupal.
  • 1:26
    There's a couple things we got to do first.
  • 1:28
    And I'm going to go through them because, you know, I had to do this one time.
  • 1:33
    I'm not a server techie or anything like that
  • 1:35
    and we do have to create a database because during the installation of Drupal,
  • 1:40
    it will ask us for database name and user.
  • 1:43
    And another little secret thing that hit me hard,
  • 1:45
    I couldn't figure out forever why I could not get this installed.
  • 1:49
    And here's what it is.
  • 1:50
    OK, right now I'm just in an FTP program,
  • 1:54
    mainly because what happens here
  • 1:55
    is once you unzip the files in the Drupal folder,
  • 1:59
    here's everything that's included with the download.
  • 2:02
    The first thing that happened to me was
  • 2:03
    I was just using my normal way of looking at files.
  • 2:07
    The problem is most people don't have the ability to see invisible files.
  • 2:11
    And what you got to normally do is you're probably going to want
  • 2:13
    to drag these files to a folder that you're going to run this from locally.
  • 2:17
    Well, if you're just dragging the files
  • 2:18
    and it's not grabbing the hidden files, you're going to have some issues.
  • 2:22
    So as you can see, there's a couple of hidden files here,
  • 2:24
    big important one is the .htaccess file.
  • 2:27
    So I would just, you know, select all of them
  • 2:29
    and we're going to go ahead and copy these over to a folder
  • 2:33
    that I'm going to run this from.
  • 2:35
    And then from here, what I'll probably want to do
  • 2:37
    is create my database.
  • 2:39
    Now the getting started videos on running your server
  • 2:42
    kind of go over creating a database
  • 2:44
    using MAMP, which is on a Mac, or WAMP,
  • 2:47
    if you're on a Windows machine.
  • 2:49
    And this kind of natively installs something called phpMyAdmin.
  • 2:56
    And if you run the start page after installing MAMP,
  • 2:59
    you'll see at the top, there's a tab phpMyAdmin.
  • 3:02
    This is kind of just like an online browser GUI,
  • 3:06
    if you will, kind of, for managing databases, creating them.
  • 3:10
    I'm not going to get too nitty-gritty into this,
  • 3:11
    but it's not very difficult,
  • 3:13
    we're really just typing in a few things and we'll be done, we'll have a database.
  • 3:17
    Alright, so let's just go ahead and create a database, nice and simple.
  • 3:20
    Input box, right in your face, right there, create a new database.
  • 3:24
    So let's just name this something obvious, d7 for Drupal 7, and _install.
  • 3:29
    Hit the Create button.
  • 3:31
    Database is created, can't get much simpler than that.
  • 3:35
    Not done.
  • 3:37
    We need a user.
  • 3:38
    So let's go ahead and add a user under Privileges,
  • 3:43
    Add a new User.
  • 3:45
    User name, I'm just going to call this d7_admin.
  • 3:50
    Any host, localhost, you could also just say, Local.
  • 3:55
    Password, I usually just have it generate a password for me.
  • 3:58
    I go ahead and click and copy my password.
  • 4:00
    And what we have to do down here is we've got to give this user some privileges.
  • 4:03
    So we're going to check all, then we're going to hit Go.
  • 4:06
    Oddly enough for some odd reason,
  • 4:08
    we still have one more we need, under Administration, we got GRANT.
  • 4:11
    Forget this step, not going to work, so Go.
  • 4:15
    Alright, we have a database,
  • 4:18
    we have Drupal downloaded and put in a folder.
  • 4:22
    And now let's visit that folder locally.
  • 4:24
    And here's what we are going to get.
  • 4:27
    OK, so, we have an installation profile we can select.
  • 4:33
    For now, for starting, we're just going to use the Standard.
  • 4:35
    Basically what this is going to do
  • 4:36
    is pretty much turn on some pre-needed modules
  • 4:41
    and some modules that are most commonly used.
  • 4:45
    So it's just the best way to go, it pretty much includes anything
  • 4:48
    you're going to need to kind of get started and learning.
  • 4:49
    So we're going to Save and continue.
  • 4:52
    Obviously, we're choosing English, but if you needed other languages,
  • 4:56
    you can click this link here, and it's going to teach you what to do
  • 4:58
    and how to go about downloading other languages to get other options.
  • 5:02
    Save and continue.
  • 5:04
    OK, Database type. Because we're on a local MAMP server,
  • 5:08
    we're using a MySQL database.
  • 5:10
    You do have other options if you know what you're doing there,
  • 5:13
    go ahead and choose those.
  • 5:14
    OK, so our Database name.
  • 5:16
    Here is where we made that stuff before,
  • 5:18
    so database is d7_install, our user was d7_admin,
  • 5:25
    and we had that password in our clipboard, so Save and continue.
  • 5:34
    Alright, goes through the whole thing.
  • 5:36
    Bam!
  • 5:38
    Alright, Drupal is technically now installed.
  • 5:40
    What we're doing here is just basically setting some configurations.
  • 5:44
    Don't get too nervous here, these are able to be adjusted,
  • 5:48
    modified, changed whatever once you've got it installed.
  • 5:52
    So you can go ahead and give yourself a site email address
  • 5:54
    if you already know your domain name
  • 5:55
    and you already have an email address, this is where you'd put it.
  • 5:58
    But for now, it does require it, so let's get going
  • 6:02
    and get some of this information in here.
  • 6:05
    Alright, this right here, the Site Maintenance Account.
  • 6:09
    What you are doing is creating the master user here.
  • 6:12
    This is the user that basically controls
  • 6:14
    and has admin rights with, most of the time, never having to specify it.
  • 6:18
    There are some modules out there that even then you have to,
  • 6:21
    but this is basically your master user, also known as user one.
  • 6:25
    So I'm just going to call this guy webmaster.
  • 6:28
    My email address, I'm just going to,
  • 6:30
    since it's in my clipboard, I'm just going to use my password.
  • 6:33
    That was on the database.
  • 6:35
    Not something that I would totally recommend,
  • 6:36
    but much quicker here to just kind of copy and paste
  • 6:39
    what we already have.
  • 6:40
    We're going to set a country.
  • 6:44
    I'm sitting here in the United States.
  • 6:47
    Time zone, right now, I can leave it there
  • 6:49
    and that's pretty good.
  • 6:51
    Alright, Update Notifications, Check for updates automatically,
  • 6:54
    I recommend just getting started out,
  • 6:55
    basically, it's going to tell you if there are any updates to Drupal.
  • 6:58
    Remember, when we downloaded Drupal core,
  • 7:00
    there was a version number.
  • 7:02
    This will notify you usually if there are version number changes.
  • 7:05
    Most of the time, it's for security reasons and some security updates.
  • 7:10
    And then Receive e-mail notifications,
  • 7:12
    just go ahead and leave that on as well.
  • 7:16
    And bam!
  • 7:18
    Alright, we have a Drupal website.
  • 7:23
    Couple of things to understand what was just kind of going on right there,
  • 7:26
    just so you know, it was basically way back in the past,
  • 7:30
    not too long ago actually, but it seems like forever ago.
  • 7:34
    Inside all these Drupal files that we had,
  • 7:37
    there was a folder here with a settings file,
  • 7:40
    and we actually had to manually edit that and put some of that information in it.
  • 7:44
    Drupal 7 now will edit that file as you put that information in
  • 7:47
    and then will also change its permissions
  • 7:49
    so no one else can do some naughty things to your website.
  • 7:53
    Alright, we can now visit your new site, here we go.
  • 7:56
    So now we have Drupal installed and up and running.
  • 8:00
    So that's pretty much all we had to do to get it up
  • 8:04
    and running locally, not much different if you are using a remote server,
  • 8:07
    except for after you had your files downloaded,
  • 8:10
    you would have to use some type of FTP program
  • 8:13
    to get the files to your server.
  • 8:15
    On your server, more than likely,
  • 8:16
    there's going to be some type of under your domain dub-dub-dub
  • 8:19
    or htdocs or public html folder,
  • 8:22
    and that's where you would have to FTP these files up to that.
  • 8:27
    And more than likely that your server probably also offers phpMyAdmin,
  • 8:31
    so you would create your database on your server
  • 8:35
    and then you would just go through the exact same process.
  • 8:37
    You would visit the domain that you were installing it in
  • 8:40
    and you're going to go through the same steps that we just did to get it installed.
  • 8:46
    So that's about it.
  • 8:47
    Drupal's installed and let's get working with it.

Installing Drupal 7

Loading...

To get things started in this series we'll install Drupal 7. We start in Drupal.org to download the code, review some important points to watch for when copying the files, then we show how to set up a database using PHPMyAdmin before we dive into the Drupal installer.