Welcome back to Introduction to Drupal. In this tutorial we're going to go ahead and complete our initial installation of Drupal. We're ready to go for the install. We, in the last tutorial we created our, we got our database set up, Drupal 6 database. That currently has zero tables and our database user. We also took a look at the directory structure for our Drupal site and we learned that we needed to go into the Sites folder, Default, copy the Settings file, rename it Settings.php and also create a Files folder. So we're ready to go at this point. We have all of our preinstall checklist completed and we can go ahead and complete the installation. So to do that I ran local host-Drupal in my browser and that loaded the Drupal installer. Drupal asks you what language you want to install in. I'm going to, in this tutorial we're going to install Drupal in English but you can certainly install Drupal in other languages if you install some language pack modules into the Drupal installation. But for this tutorial we're going to go ahead and install Drupal in English. So I'm going to click on that link. Now, remember when we created our database, we named our database Drupal 6 and we named the database user the same; Drupal 6. We need to know that information now. Drupal asks you for the database information and you have to populate these fields with that info. So I'm going to go ahead and type Drupal 6 in here and I'll copy that. I know the user name is the same and paste that in there and then I'm going to type the database password that I created when I created the user. So this is the password for that database user. So I've got my name, database name, user name and password in there and I'm going to go ahead and click Save and continue and we'll tell Firefox not to remember that password currently. That's the only time we're going to have to remember the MySQL password. At this point, once it's installed and we'll be good to go and we won't need to remember that. But that's something you want to note down when you actually create your database. The user name and password is important for the installer. OK, so Drupal has run the installer and it lets us know that all changes have been made to that Settings file. The Settings file is the configuration file, which is here and so at this point we can go ahead and, oh, actually, Drupal, by default, sets it to Read Only for security. So people can't actually access that file and write over it or write to it. And we're going to go ahead and give our site a name. The name of the site is the main name of our website. So we'll call this My First Drupal website. And the site email address is going to be my Gmail address and you want to put in a valid email address there. This is important for any kind of communication from the website to you. It will come via email. So if you forget your user password and you need a new one, it will send that information to that email address and so this is very important. Now, it's not going to work in our local host environment because we're not running SMTP Mail Server from local host so we'll actually get an error. But we can ignore that error safely and but just be aware that emails will not be sent from our Drupal site while we're working in a local host environment. But we still put it in there because it's a required field. Now, the Administrator account is the super user admin account for our Drupal site. This is the main super user account. This account can do everything to our site. It's a very important account. And only you want to remember the user name and password for this account. Don't give this out to anybody. This account has default permissions to do everything on the website as far as an administrator. So I'm going to go ahead and create an account. I usually call my super user account Admin but you can, of course, give it whatever user name you'd like. Email address is the same as my main email and then I'm going to go ahead and type a password in here. What's nice about Drupal is Drupal will test the password strength. I don't have a very sophisticated password in here, no special characters so it's telling me the password is low. But you can throw some special characters in there and it will change the password strength to medium or to strong, et cetera. So let's put a password in and let's confirm that password and with a little built of jQuery built in here, Drupal checks that the passwords match. So it's pretty nice as well. So I've got my password set. I'm going to make sure that Clean URLs are enabled. This Clean URLs means that your Drupal sites will run clean web addresses without the extra characters like the question mark and the equal sign. They will just be words up here in the web address field, no special characters. So I have Clean URLs enabled and I'm going to make sure that Drupal checks for my updates so that I know that my site is updated with the latest version of Drupal. Drupal will actually communicate with the Drupal.org website for those updates. So this our main installer. All of our fields are completed. We're ready to finish this up. So I'm going to click Save and Continue and let this run and Drupal's going to finish the install process and this takes a couple, a few seconds. Now, remember that I told you that you'd get an error message so don't panic about that. This just has to do with the fact that we don't have SMTP configured for our mail. We'll ignore that for now. Congratulations. Our site has been installed. Everything checks out and we can click on this link to go to our site and there you have it. Now I'm completely installed. A brand-new Drupal site, my first Drupal website. Drupal keeps you logged in as that super user Admin when it first launches. And then it gives you some default content here. And gives you some instructions on how to get started and we're going to talk about that. Before we go there, though, one other link is important; the My Account link. You can actually change your, if you wanted to change your super user Admin password now to something else, you could do that. Click on My Account. This brings up a screen with the user name. You can click on Edit and it has that super user user name, email address and password. So you can immediately change your password if you wanted to do that. I'm going to leave mine set as, to what I set it to for the install process. I'm good to go. I'm going to go ahead and log out of the site momentarily and in the next tutorial I'm going to show you the initial configuration and how to actually start getting content and other initial configuration setup for our site going.
| Course: | Introduction to Drupal 6 |
| Author: | Trevor James |
| SKU: | 33992 |
| ISBN: | 1-935320-43-2 |
| Release Date: | 2009-05-01 |
| Duration: | 11.5 hrs / 114 lessons |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |