18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A<br />

Installing <strong>Drupal</strong><br />

If you are hosting your <strong>Drupal</strong> site on a commercial web-hosting provider, it is likely that it has a tool that<br />

installs <strong>Drupal</strong> for you. If that’s the case, you can bypass this appendix and follow the directions provided to<br />

you by your web-hosting provider. But if you need to install <strong>Drupal</strong> on your laptop, desktop, or server, then<br />

this appendix is for you.<br />

In the sections that follow, I will walk you through the step-by-step process of installing foundational<br />

components such as PHP, MySQL, and Apache, as well as the steps for downloading and installing <strong>Drupal</strong> 8.<br />

At the end of this appendix, you will have installed <strong>Drupal</strong> and will be ready to work through the main body<br />

of the book.<br />

The Foundation Required to Install <strong>Drupal</strong><br />

Before installing <strong>Drupal</strong>, you must have access to the operating system on the platform on which you wish to<br />

install <strong>Drupal</strong>. That platform, whether it’s a desktop, laptop, or server, must have several pieces of software<br />

installed and configured in order to support the foundational elements required to run <strong>Drupal</strong> (MySQL,<br />

PHP, and Apache/IIS). The type of operating system and hardward that you choose is purely a matter of<br />

personal preference. You can install and configure <strong>Drupal</strong> on Windows-, OS X-, or Linux-based platforms.<br />

The hardware can be a local machine (your desktop, laptop, or a server that you have physical access to) or a<br />

hosted server (shared or dedicated, hosted by an organization such as Pantheon).<br />

You will need to have the following components loaded, configured, and running on the platform<br />

before you begin the <strong>Drupal</strong> installation process:<br />

• A web server: Either Apache, nginx/lighttpd, or Microsoft’s Internet Information<br />

Services (IIS)). For the purposes of this book, I will focus on an Apache-based<br />

solution, because Apache runs on all of the platforms that <strong>Drupal</strong> supports. For<br />

information on installing and configuring IIS, please consult www.microsoft.com.<br />

• PHP: The programming language used by <strong>Drupal</strong>.<br />

• A relational database server: Either MySQL or PostgreSQL. For the purposes of<br />

simplifying the installation process, I will focus on MySQL. For details on installing<br />

and configuring PostgreSQL please consult www.postgresql.org.<br />

• FTP (File Transfer Protocol): Used for uploading files to the server.<br />

• Various libraries: For image handling, secure connections, and mail routing.<br />

If your intent is to run your new <strong>Drupal</strong> site in a hosted environment, the work of setting up the<br />

foundational components has already been done for you by the hosting company. If you are using a<br />

hosting company, you can skip to the “Installing <strong>Drupal</strong>” section. If your intention is to develop your site<br />

on a desktop or laptop and then deploy your site to a server, you will need to install and configure the<br />

components required to support <strong>Drupal</strong> on your laptop or desktop, as described in the next section.<br />

267

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!