Finally Drupal 8 is here and ready for downloading.
Installation GuideAccessibility for everyone
Drupal 8 ships with extensive support for accessibility standards, and not only for color contrast and font sizes. Semantic HTML5 helps you create interactions—even ones with dynamic content—that are more usable. Plus, Drupal now adopts more WAI-ARIA practices. You can make content structures easier to understand for people with disabilities.
Before you start installing Drupal 8 that requires PHP 5.5.9 or higher, you should note the following:
This guide covers preparing for installation, running the installation script, and the steps that should be done after the installation script has completed. It also explains how to do a "multi site" installation, where a number of different Drupal sites run off the same code base.
This documentation focuses on performing tasks at the command line. For information on using graphical tools, see the documentation that accompanies the application or is provided by your hosting service. Some web hosting companies also offer "one-click" installations of Drupal, or specific Drupal support.
Source: https://www.drupal.org/documentation/in ... wnload#ftpNote: Drupal 8 includes about 10 times as many files as earlier versions (due to its new framework), that may take significantly longer to upload to a server by FTP than earlier versions. A faster way to upload Drupal 8 as a single ZIP files, suitable for some hosts is described here.
Source: https://www.drupal.org/documentation/in ... e-databaseNote: Since 8.x, Drupal can create the database itself if its database user has enough privileges to create a database, for example the 'CREATE' privilege in MySQL or the 'CREATEDB' privilege in postgresql. See the relevant change notice for more information. If you do have a user with these privileges, you can move to the next step.
Drpal 8 is huge, about 10 times bigger than earleir versions. The standard version 8.0, contains about 13 000 files, so the fastest and most convenient way to install Drupal yourself is using drush.
For more information see: The Community Documentation and The download and extend page.
Also note:
See : Checking your site after installation and setting a cron below.Setting up cron is an important step in the installation of the website and assists in the maintenance of the site's assets for search results, checking for updates to Drupal core and modules, and removing temporary files.
2. Drush (drupal shell), PuTTY and Drupal 8.
First of all we refer to this thread: Drupal, drush and putty, fast and secure.
In addition you should read:
Upgrading Drush to work with Drupal 8
Installing Drupal with Drush, the Basics
3. Checking your site after installation and setting a cron
The place to check your installation is: yoursite.com/admin/reports/status
I got the followin warning
PHP OPcode caching
I have contacted my hoster to enable the php OPcache module.Not enabled
PHP OPcode caching can improve your site's performance considerably. It is highly recommended to have OPcache installed on your server.
and the following error:
Before you can change the settings.php file on the remote server, you may set the write permission to 666. Remember to set it back to 444 after changing the file.Trusted Host Settings
Not enabled
The trusted_host_patterns setting is not configured in settings.php. This can lead to security vulnerabilities. It is highly recommended that you configure this. See Protecting against HTTP HOST Header attacks for more information.
When I added the following code:
Code: Select all
$settings['trusted_host_patterns'] = array(
'^www\.example\.com$',
);
The following code worked for me:The provided host name is not valid for this server.
Code: Select all
$settings['trusted_host_patterns'] = array(
'^example\.com$',
'^www\.example\.com$',
'^localhost$',
);
Setting up cron
Configuring cron jobs using the cron command
Protecting against HTTP HOST Header attacks (prevent your site from thinking it is someone else)
New setting for trusted hostname configuration
http://drupal.stackexchange.com/questio ... 994#145994
4. Multisite installation of drupal.
Note that n sites can share the same codebase. It is explained in the installation guide, linked to in 1. above. Read more: 5. Vagrant Drupal Development
Vagrant Drupal Development Download & Extend
Vagrant Drupal Development Community Documentation
6. Drupal 8 and Fastly.
Fastly (Search for Drupal8)
Drupal.org Migrates Content and File Delivery to Fastly
7. Theming in drupal 8
Before you start theming and extending your own site, you may get some ideas looking at who uses drupal.
Theming Guide
First of all note that
Source: https://www.drupal.org/theme-guide/8Quite significant changes were introduced in the theme system between Drupal 8 and 7. This guide contains information that applies to Drupal 8 and refers sometimes to Drupal 7 in order to explain new concepts and approaches.
PHPTemplate has been discontinued for theming in Drupal 8; the Twig markup language is used instead. This will make Drupal 8 themes much more secure because PHP calls will no longer exist in theme files. This will also make theming easier to understand for non-programmers.
See also: https://www.drupal.org/project/project_theme
8. Module integration and developement in drupal 8.
https://www.drupal.org/project/project_module
9. Improving performance, clearing the cache etc,
Place to check your installation: admin/reports/status
During installation, you may get this warning:
Clearing the cache and setting the frequency of Drupal's internal page cache module. Drupal provides an internal page cache module that is recommended for small to medium-sized websites.PHP OPcode caching Not enabled
PHP OPcode caching can improve your site's performance considerably. It is highly recommended to have OPcache installed on your server.
Clearing the cache and setting the frequency of the cache modul is done on this page:
Configuration > Development > Performance
- Click the button "Clear all caches" to clear the cache.
- Choose the frequency of the page cache in the Page cache maximum age drop down menu. By default it is set to no caching.
See also: Cache Warmer
10. Related tools
Atlassian
11. Other links
http://largerobot.com/
My WebProworld Drupal 8 discussion thread.
12. Norwegian
My drupal profile: https://www.drupal.org/user/1401292/
Gisle Hannemyr's drupal profile
http://drupalnorge.no/
http://www.nymedia.no/
https://www.frontkom.no/
http://peytz.no/
https://orkjern.com/
http://andeers.com/
http://twiik.net/