Our website will be down for scheduled maintenance on Thursday, October 23, at 11 p.m. Pacific Time and should be back up by Midnight. We apologize for any inconvenience.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Installing Drupal

From: Drupal 7 New Features

Video: Installing Drupal

We finished installing the Acquia Drupal stack installer called DAMP and also imported core Drupal into the DAMP. Now we'll continue with Drupal 7's own installation process. Now for my earlier series we used MAMP and not DAMP to install Drupal 6. The reason is simply that DAMP didn't exist at the time, so because we're using MAMP for Drupal 6 and are using DAMP for Drupal 7, some of the differences you'll see are actually going to be because the Amp stack themselves are different. Most notably you have to manually create the Drupal database when you use MAMP and WAMP.

Installing Drupal

We finished installing the Acquia Drupal stack installer called DAMP and also imported core Drupal into the DAMP. Now we'll continue with Drupal 7's own installation process. Now for my earlier series we used MAMP and not DAMP to install Drupal 6. The reason is simply that DAMP didn't exist at the time, so because we're using MAMP for Drupal 6 and are using DAMP for Drupal 7, some of the differences you'll see are actually going to be because the Amp stack themselves are different. Most notably you have to manually create the Drupal database when you use MAMP and WAMP.

While DAMP does that for you automatically. So if you decide to use MAMP, WAMP or some AMP's stack besides Acquia's DAMP, your installation process will be different from what you see here. It will almost certainly be more difficult and that's why I recommend Acquia DAMP. Now we've already installed that in the video "Installing the AMP stack," and we got core Drupal 7 set up in the video "Importing core Drupal into the AMP stack." The next thing to do is actually run Drupal's installer. If you're not already on the site use this pop-up menu and select the site that you want to go to, in our case that's d7nf, and then say, Go to my site.

I am already there, so I'll just click over on my Firefox browser screen. Over on the left you see the list of things that you have to go through in order to install Drupal 7. We'll be skipping two of them, because we are installing Drupal on DAMP rather than MAMP or WAMP. Namely, we don't have to go through the Verify requirements or Set up database steps. If you need to know how to do those, refer to my earlier course, Drupal 6 Essential Training, which installs Drupal over MAMP instead. Now the first thing that hits you from the screen if you use Drupal 6, is that Drupal 7 looks very different graphically.

Its new theme, which is the default for all administration that you do in Drupal, is appropriately called 7 after Drupal 7. We'll talk more about that in the video "New themes." But let's get back to our list over here. The first choice, Choose Profile, lets you choose between a Standard set of modules, which is the one I always use, and the one I recommend in a Minimal set of modules. Minimal is the same software as Standard, but it has fewer options enabled. It's particularly useful for hard- core developers and folks with a strong do-it-yourself ethic.

It's good for people who want to build their site from the ground up without distractions, such as the administrative overlay or a search box. But we don't have to look at that. We are just going to do the Standard installation profile by clicking Save and Continue. The next screen is the same between Drupal 6 and Drupal 7. The default language for Drupal is English, but you can choose to install it in other languages, in which case your administrative interface is going to be in those languages. Just click on this link to find out how, but we're going to do it in English, so Save and continue. And as I mentioned it will skip over the Verify requirements and Set up database steps and just go right into installing Drupal itself.

Now it's looking at the profile we selected. If you choose Minimal, it'll be a much faster install, but other things won't be turned on. Finally we come to our Configuration screen. I'll give the site the same name that we gave it earlier, which is to Drupal 7 New Features, e-mail address I'll just say admin@example.com, Username is going to be admin, Password I'll save geller, G E L L E R, and as we scroll down to the bottom, we have this default country now. I'm in United States, so I will just start typing U, N, I, T and then scroll down a little bit until we get to United States.

On the surface a Drupal 7 installation for the screen is very much the same as Drupal 6. It does have this additional Receive email notifications, which is really wonderful and I recommend that you still keep that already checked. That way you'll find out if there are any security problems with your version of Drupal. Scroll down to the bottom, Save and Continue just as before with Drupal 6, and there's your site. Because I'm using Firefox, I get asked whether I want remember the password. I'll just say, Not Now. The last thing to do is click on Visit your new site, and there it is.

There are a few things that are different about this screen from Drupal 6. One is that it's not full of all that stuff that Drupal 6 used to have. It had four paragraphs of text, which most people either didn't read or didn't understand if they did read. Now a lot of that stuff is simplified into the commands, because the first thing people usually want to do is add new content, which you would do by clicking there. I want to go back and talk a little bit about those requirements and database screens, neither which we saw here. There are some things that have stayed the same since Drupal 6. First of all you still need to copy over the settings.php file. That hasn't changed.

The second thing is that Drupal 7 now recommends at least 40 MB be given to PHP. Now I am not going to show you how to fix that, but you can find out how in my course Drupal 7 Essential Training, which will be coming out soon after this course is released. If you use the WAMP stack, you are going to find that it only starts with 2 MB I believe, and it's way underpowered and it simply won't install Drupal 7 properly. Once again these are some of the reasons that I prefer the Acquia Drupal stack installer. Another thing I want to mention is that databases are now much better supported in Drupal 7.

Firstly, the database type is clearer and the list of available databases includes SQLite. More importantly, Drupal 7 has abstracted the database layer, so you can actually use just about any database you want with Drupal with very little extra programming. I'll talk a little bit more about that in the video "Developing for Drupal." The next thing I'd do is actually look at the files in Drupal 7. I'll switch to my desktop and open it up. There are two things that are specific to the Acquia Drupal stack installer that are a little bit different from the way it works with other stack installers.

First of all because it's a multisite system, the sites folder is set up a little bit differently. I open up my Drupal folder and then sites folder and you see we now have this d7nf folder. That's for the core Drupal that we installed, and if you install other sites they will also have separate folders. We open that up. This is the settings.php for this particular website. I like to also double-click that file itself. In the Settings folder, Acquia DAMP handles things a little bit differently then you might be used to. You might remember having to enter database settings and they would show up, oh, about middle of the file underneath all of this explanation, right here.

Well, in this case it just has databases equals array and it's blank. If you scroll down to the very end of the file, you'll actually see this 'Don't edit anything below this line' and that's where Acquia DAMP sticks all of its magic about the database and so forth. So if you need to move your installation into a remote server, you are going to have to install on the remote server. Again, this is only if use Acquia DAMP. I know we have been through a lot just to get Drupal installed. Even ignoring the differences due to the new DAMP stack, it's quite a bit better than Drupal 6.

I know because I installed it many times into MAMP and on a remote server with its own AMP stack. Just a reminder, you'll get tips on how to verify requirements and install the database in my earlier series, Drupal 6 Essential Training. If you run into additional troubles when using some other AMP stack, I'm afraid they're probably not because of Drupal, but rather because of system administration issues that I just can't cover in the series. For those, I recommend you talk with your system administrator or seek out further help within the Drupal community.

Show transcript

This video is part of

Image for Drupal 7 New Features
Drupal 7 New Features

29 video lessons · 8003 viewers

Tom Geller
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Drupal 7 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.