Skip to content

Commit 2a9ea81

Browse files
author
James Stewart
committed
Drupal 8 copy edited version.
1 parent 761a1f2 commit 2a9ea81

File tree

1 file changed

+32
-23
lines changed

1 file changed

+32
-23
lines changed

docs/websites/cms/managing-web-content-with-drupal-8-beta.md

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,45 @@ published: 'Friday, October 24th, 2014'
1313
title: Managing Web Content with Drupal 8 Beta
1414
---
1515

16-
[Drupal 8](https://www.drupal.org/drupal-8.0) is the lastest version of the extremely popular [Drupal](https://www.drupal.org/) content management system. The Drupal 8 beta-2 was released on October 15th, and since it's so new, there isn't much documentation on the web. This how-to explains the entire installation process. It demonstrates all of the necessary commands to install Drupal 8 on a Linux server, hosted by a Linode cloud computing system.
16+
[Drupal 8](https://www.drupal.org/drupal-8.0) is the lastest version of the extremely popular [Drupal](https://www.drupal.org/) content management system. The Drupal 8 beta-2 version was released on October 15th, and since it's so new, there isn't much documentation on the web. This how-to demonstrates all of the necessary steps to install Drupal 8 on your Linode.
17+
18+
{: .note }
19+
>
20+
>This guide assumes that you are familiar with the __sudo__ prefix or that you are logged into the server as the root user. Top level permissions may be necessary to create the recommended directories or other commands.
21+
1722

1823
##Prerequisites
1924

20-
Before installing Drupal, you will need a running Linode, which can be created by following the [Getting Started](/docs/getting-started/) guide. Also, address security concerns with the [Securing Your Server](/docs/securing-your-server) guide. Finally, build a server with a LAMP stack using the [Hosting a Website](/docs/websites/hosting-a-website) guide. Linode also has other CMS guides, including [Content Management System: an Overview](/docs/websites/cms/cms-overview), [Managing Web Content with Drupal 7](/docs/websites/cms/managing-web-content-with-drupal-7), [Managing Web Content with WordPress](/docs/websites/cms/manage-web-content-with-wordpress), and [Managing Web Content with Joomla](/docs/websites/cms/manage-web-content-with-joomla). Since Drupal 8 is so new, if you are not a developer, then you might find more online support for Drupal 7.
25+
Before installing Drupal, you will need to ensure that the following prerequisites have been met.
26+
27+
1. Create a new Linode by following our [Getting Started](/docs/getting-started/) guide.
28+
2. Address security concerns with the [Securing Your Server](/docs/securing-your-server) guide.
29+
3. Configure a LAMP stack using the [Hosting a Website](/docs/websites/hosting-a-website) guide.
2130

2231
{: .note }
23-
>
24-
>This guide assumes that you are familiar with the __sudo__ prefix or that you are logged into the server as the root user. Top level permissions may be necessary to create the recommended directories or other commands.
32+
>Linode also has other CMS guides, including [Content Management System: an Overview](/docs/websites/cms/cms-overview), [Managing Web Content with Drupal 7](/docs/websites/cms/managing-web-content-with-drupal-7), [Managing Web Content with WordPress](/docs/websites/cms/manage-web-content-with-wordpress), and [Managing Web Content with Joomla](/docs/websites/cms/manage-web-content-with-joomla). Since Drupal 8 is fairly new, if you are not a developer, you may find more online support for Drupal 7.
33+
2534

2635
##Download and Install Drupal 8
2736

28-
The Drupal developers actively update their application for security vulnerabilities and other upgrades. Visit the [Drupal download page](http://drupal.org/project/drupal) for the latest Drupal release, a sample release chart is pictured below. Download the latest Drupal 8 version using the listed version numbers. To download the correct version, replace the version numbers in all the following commands and file calls.
37+
The Drupal developers actively update their application for security vulnerabilities and other upgrades. Visit the [Drupal download page](http://drupal.org/project/drupal) for the latest Drupal release, a sample release chart is pictured below. Download the latest Drupal 8 version using the listed version numbers. To download the correct version, replace the version numbers in all the following commands.
2938

30-
[![Drupal Download Versions.](/docs/assets/drupal-downloads.png)](/docs/assets/drupal-downloads.png)
39+
[![Drupal Download Versions.](/docs/assets/drupal-downloads.png)](/docs/assets/drupal-downloads.png)
3140

32-
1. If you installed and configured your Apache server as described in our other guides, the publicly accessible DocumentRoot will be in a directory similar to `/var/www/example.com/public_html/`. Change directories to the *non-publically accessible* `/var/www/example.com/` directory, using the following command:
41+
1. If you installed and configured your Apache server as described in our other guides, the publicly accessible DocumentRoot should be located in `/var/www/example.com/public_html/`. Change directories to the *non-publically accessible* `/var/www/example.com/` directory, using the following command:
3342

34-
cd /var/www/example.com
43+
cd /var/www/example.com
3544

36-
2. Enter the following command to download Drupal with 'wget':
45+
2. Enter the following command to download Drupal with 'wget'. Ensure that the version number matches the version you wish to download:
3746

3847
wget http://ftp.drupal.org/files/projects/drupal-8.0.0-beta2.tar.gz
3948

40-
3. Remember to change the commands above and below to reflect the latest version or the version that you want download and extract. Extract the download with the following command:
49+
3. Extract the downloaded files with the following command. Replace the version number if necessary:
4150

4251
tar -zxvf drupal-8.0.0-beta2.tar.gz
43-
44-
4. Now copy this instance of Drupal to a new web accessible directory named `drupal`. And then move the `.htaccess` file to the same directory:
45-
52+
53+
4. Now copy this instance of Drupal to a new web accessible directory named `drupal`. Move the `.htaccess` file to the same directory:
54+
4655
mkdir /var/www/example.com/public_html/drupal/
4756

4857
cp -R drupal-8.0.0-beta2/* /var/www/example.com/public_html/drupal/
@@ -57,48 +66,48 @@ The Drupal developers actively update their application for security vulnerabili
5766

5867
apt-get install php5-gd
5968

60-
6. Drupal 8 requires that the Apache2 rewrite module is turned on for naming URLs. This is optional for Drupal 7 and may have already been turned on. Enter the following command to check:
69+
6. Drupal 8 requires that the Apache2 rewrite module is turned on for naming URLs. This is optional for Drupal 7 and may have already been turned on. Enter the following command to ensure that it has been enabled:
6170

62-
a2enmod rewrite
71+
a2enmod rewrite
6372

64-
7. Apache2 prompts you to restart:
73+
7. Restart Apache to apply your changes:
6574

6675
service apache2 restart
6776

6877

6978
##Configure Drupal Settings
7079

71-
1. Change the working directory to the `drupal` default folder. Then copy the `default.settings.php` file provided in the Drupal distribution to a `settings.php` file. Finally, change the permission settings so that Drupal can access the settings. Do this by issuing the following commands:
72-
80+
1. Change the working directory to the `drupal` default folder. Then copy the `default.settings.php` file provided in the Drupal distribution to a `settings.php` file. Finally, change the permissions on the file so that Drupal can access the settings:
81+
7382
cd /var/www/example.com/public_html/drupal/sites/default/
7483

7584
cp default.settings.php settings.php
7685

7786
chmod 757 settings.php
7887

7988
2. The same steps are necessary for the services.yml configuration file. Enter the following commands:
80-
89+
8190
cp default.services.yml services.yml
8291

8392
chmod 757 services.yml
8493

85-
3. We'll need to create a `drupal/sites/default/files/` directory that's writable by the web server, by changing the group ownership and permissions of the directory to `www-data` or whichever user group your Apache instance runs under:
94+
3. We'll need to create a `drupal/sites/default/files/` directory that's writable by the web server, and change the group ownership and permissions to match the user group your Apache instance runs under. The default group is `www-data`:
8695

8796
mkdir /var/www/example.com/public_html/drupal/sites/default/files/
8897

8998
chgrp www-data /var/www/example.com/public_html/drupal/sites/default/files/
9099

91100
chmod 775 /var/www/example.com/public_html/drupal/sites/default/files/
92101

93-
4. Visit `www.example.com/drupal/core/install.php`. Alter the previous URL to reflect your domain, and the actual path to your Drupal files. You will arrive at an iconic Drupal page and if you select "Install Drupal in English," you will enter the installation process.
102+
4. Visit `www.example.com/drupal/core/install.php`. Alter the previous URL to reflect your domain, and the actual path to your Drupal files. You will arrive at the Drupal install page. Selecting "Install Drupal in English," will start the installation process.
94103

95104
{: .note }
96105
>
97-
> During the creation of the LAMP stack, you should have created a MySQL database. If you have forgotten the name of that database, log back into MySQL with the `mysql -u root -p` command, and then enter the `show databases;` command.
106+
> During the creation of the LAMP stack, you should have created a MySQL database. If you have forgotten the name of that database, log back into MySQL with the `mysql -u root -p` command, and then enter the `show databases;` command.
98107
99108
5. The installation process is fairly straightforward and asks you to provide information regarding your database, your site, and your administrative users. Follow each step as instructed. When you've completed the installation process you can remove the write access to the `settings.php` file with the following command:
100109

101-
chmod 755 /var/www/example.com/public_html/drupal/sites/default/settings.php
110+
chmod 755 /var/www/example.com/public_html/drupal/sites/default/settings.php
102111

103112
You're now ready to begin using Drupal.
104113

0 commit comments

Comments
 (0)