- Drupal 8 Quick Start Guide
- J. Ayen Green
- 760字
- 2021-06-10 19:45:26
Readying the environment
Physically, Drupal is a collection of folders and files, most often found within a parent folder that is typically referred to as the Drupal root. Drupal also consists of a database, where the site's content and various settings are kept.
The Drupal root will most often be situated on a computer known as a web server that may contain many websites, though the web server could also exist on a laptop for use in developing websites. The environment in which Drupal exists will consist of the following:
- An operating system, which is usually Linux, but can be any another, such as Windows, OS X, or Unix
- A web server, such as Apache or Nginx
- A database, most often MySQL, which may be on the same server or on a separate database server
- The PHP language
The environment in which Drupal exists is collectively referred to as a LAMP environment, which stands for Linux, Apache, MySQL, and PHP, though other combinations exist, such as WAMP for Windows rather than Linux.
To get started, an administrator should first have followed these steps, or similar:
- Gone through the Drupal 8 installation (https://www.drupal.org/docs/8/install/before-a-drupal-8-installation)
- Gathered the code (https://www.drupal.org/docs/8/install/step-1-get-the-code)
- Installed the dependencies with Composer (https://www.drupal.org/docs/8/install/step-2-install-dependencies-with-composer)
- Created a database (https://www.drupal.org/docs/8/install/step-3-create-a-database)
- Configured the installation (https://www.drupal.org/docs/8/install/step-4-configure-your-installation)
Having done so, what exists now is the necessary environment for you to create your Drupal site. You might be thinking that the preceding steps have created the Drupal site already, but this isn't the case. Since I'm going to do this now, this is a good time to mention that my most often-used analogy of a website is a house. What the preceding steps did was select the location, prep the lot, run the utilities for it, pour the foundation, and ensure that you have the materials necessary to build the house. Now, we're going to build it.
"Oh, no!" you might be saying, "does that mean I need to learn all that web programming stuff, like HTML?" Fear not. One of the magical things that Drupal does is create all of the geeky stuff that's necessary for a website. After following a few steps, you will have a "vanilla" Drupal site, unadorned and not customized very much, but present and totally usable. Yes, just like a house that might be built in a cookie-cutter fashion, you have the ability to choose the paint, carpet, tiles, curtains, and appliances to make it unique and best reflect your vision, but those customizations are a topic outside of the scope of this book, although we will select a few "appliances" later on.
Unlike a house, there's no cutting, nailing, or other labor-intensive things to be done here with the raw materials waiting for assembly—just a few simple steps. First, though, there are a few pieces of information that you will need to know about in order to answer the questions that are asked about the new site during Drupal's installation process:
- Which URL has been assigned to the site? If the site is on a remote server, it might be something with a familiar look, like http://www.mysite.com. On a local system, it could be something simple like http://mysite or even http://localhost.
- What will the Drupal admin username and password be?
- What will the email address for the site be?
- What are the username and password for the database, and what is its name?
The installation process cannot be completed without the answers to these questions. Once you have them, we're ready to proceed!
We'll start by opening a browser. Any current version of the common ones, such as Chrome, Firefox, IE, Edge, or Safari, can be used. In the address bar, enter the URL that has been assigned to this site:

- Unreal Engine Physics Essentials
- Google Apps Script for Beginners
- Web應(yīng)用系統(tǒng)開(kāi)發(fā)實(shí)踐(C#)
- 兩周自制腳本語(yǔ)言
- PHP程序設(shè)計(jì)(慕課版)
- 華為HMS生態(tài)與應(yīng)用開(kāi)發(fā)實(shí)戰(zhàn)
- 我的第一本算法書(shū)
- 軟件測(cè)試技術(shù)指南
- Cocos2d-x by Example:Beginner's Guide(Second Edition)
- Python機(jī)器學(xué)習(xí)與量化投資
- 計(jì)算機(jī)組裝與維護(hù)(第二版)
- Data Manipulation with R(Second Edition)
- PHP Microservices
- Instant Pygame for Python Game Development How-to
- Java Web應(yīng)用開(kāi)發(fā)