Drupal of Drupal on Windows 10 as

Drupal is an open-source content management framework used to build and manage web applications. This article will demonstrate the installation of Drupal on Windows 10 as well as on Linux (Ubuntu) operating system. Pre-requisites Before downloading and installing Drupal, following softwares need to be installed and configured: Apache Web Server (or any other web server like Nginx, Microsoft IIS) MySQL Database Server (or any other database server like MariaDB, PostgreSQL, SQLite) PHP TheseXAMPP, or EasyPHP can be used. softwares can be installed and configured individually, or popular stacks like WAMP, Setting up the environment Part 1: Linux Following commands were run on Ubuntu 16.04 LTS, but should work same on most of the linux distributions. Update packages Update the list of available packages and upgrade the packages to newer versions. Install LAMP stack Install Apache, MySQL and PHP by executing following commands one by one. [email protected]:~$ sudo apt-get update
[email protected]:~$ sudo apt-get upgrade -y
[email protected]:~$ sudo apt-get install apache2 -y
[email protected]:~$ sudo apt-get install mysql-server -y
[email protected]:~$ sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-mysql
Start services Start the Apache and MySQL server. Configuring Apache Web Server or [email protected]:~$ sudo systemctl enable apache2
[email protected]:~$ sudo systemctl enable mysql
Set AllowOverride to All for the root directory of the apache. In Linux, the default configuration file of Apache is located at /etc/apache2/apache2.conf [email protected]:~$ sudo nano etc/apache2/apache2.conf
Press Ctrl + X to exit the nano editor and then press y to save and hit enter. Now, restart the apache web server or sudo service apache2 start
sudo service mysql start

Options Indexes FollowSymLinks
AllowOverride None All Require all granted

[email protected]:~$ sudo systemctl restart apache2
sudo service apache2 restart
Part 2: Windows On Windows, popular stacks like WAMP or XAMPP can be installed from the below provided links: AMP Stack WAMP XAMPP Default Root Directory c:wampwww c:xampphtdocs Download Link Opentheapachemainconfigurationfile,locatedat C:wampapacheconfhttpd.conf or C:xamppapacheconfhttpd.conf , in any text editor and set AllowOverride to All (refer to Part 1: Linux.) The Apache and MySQL servers can be started from the WAMP / XAMPP interface. Downloading and Installing Drupal 8 Although there are various ways of downloading Drupal – git, drush, zip, etc, compressed version is the easiest way of downloading Drupal. Download any of the recommended versions of Drupal from here . Download .zip or .tar.gz compressed file, and extract it into the root directory of apache web server. If you are on linux, you can also use wget to download Drupal. [email protected]:~$ cd /var/www/
[email protected]:/var/www$ wget https://ftp.drupal.org/files/projects/drupal-8.4.4.tar.gz
[email protected]:/var/www$ tar -xvzf drupal-8.4.4.tar.gz
Running the installation script To run the installation script of Drupal, visit http://localhost/drupal-8.4.4 or . If it automatically does not redirect you to the installation, visit http://localhost/drupal-8.4.4/core/install.php manually. Follow the below steps to install and configure Drupal on your local machine. Step 1: Choose your language and click Save and continue. Step 2: Select installation profile as Standard. Read about built-in installation profiles here . Step 3: Verify requirements is visible only if you have some warnings or errors. Click continue anyway to skip all the warnings and proceed installation. Step 4: Select the database type and fill in the database connection details – database name, username and password. Step 5: The Drupal installer will install the modules according to the installation profile selected. Step 6: Fill in the site configuration details – site name, email address, create a site maintenance user account, select your region and timezone. You should be presented with the homepage of the newly created Drupal site.