Drupal Easyphp Installation

26 May 2009CPOL
An article on how to install Drupal in a step by step manner

Installation CMS Joomla 3.1 Easyphp, Apache, Mysql. Installation of Drupal CMS on Windows using Apache, MySQL and PHP October 2015 This presentation demonstrates the installation of Drupal Content Management System on Windows using Apache, MySQL.

Introduction

Drupal is based on PHP.

Install WampServer2.0h from here.

Note down the installation default path, i.e. c:wamp.

www folder is present in c:wamp folder. Here in www folder, one has to place the respective web applications.

There is no need of any other tools like “mysql-gui-tools-5.0-r17-win32 “ and EasyPHP for Drupal installation. WampServer has inbuilt server and database.

In Start -> Run: Type inetmgr.

Internet Information Services screen pops up.

Select Default Web Site under Web Sites and click on Stop item button at the top.

This is because by default, WampServer also uses 80 port.

Observe WampServer icon at the right side bottom corner of the desktop.

Left click on the icon and click on “Start All Services” (Right click contains options for exiting the WampServer).

Left click on the same WampServer and now click “phpMyAdmin”.

phpMyAdmin home page screen appears.

Give “drupal” as “Create new database” and click on create button.

Click on Privileges to see the default database credentials are:

  • User: root
  • Password: blank

One can add new user also. Here default database credentials are enough for the Drupal installation.

Similarly, depending on the variant, your HP ProBook 4530s can have 4GB, 8GB or 16GB of Ram and 500GB or 1TB of storage. HP ProBook Drivers If you have installed Windows 7, Windows 8 or Windows 10 from scratch on your HP ProBook 4530s, then you will need to download following drivers for proper functioning of hardware: Graphics Drivers • Intel (R) HD Graphics Family Network and Wireless Drivers • Qualcomm Atheros AR9285 802.11/b/g/n WiFi Adapter • Realtek PCIe GBE Family Controller Audio Drivers • High Definition Audio Device Intel(R) Display-Audio • Chipset 2nd Gen. HP ProBook comes in different variants including i3, i5 and i7. Intel (R) Core (TM) Processor Family DRAM Controller – 0104 Intel(R) Management Engine Interface Mouse/Touchpad Drivers • Souris compatible PS/2 Bluetooth Drivers • Bluetooth AVRCP Device Generic Bluetooth Adapter USB Drivers • NEC Electronic USB 3.0 Hub Download HP ProBook 4530s Drivers with Single Click Instead of downloading each of the above driver individually, we recommend you to proceed with DriverPack Solution. Hp probook 4530s drivers windows 7.

Download Drupal 6.x from here.

Extract drupal-6.10.tar file to “drupal” folder.

Copy “drupal” folder in WampServer installation location, i.e. c:wampwww.

Keep another copy of default.settings.php file (present in C:wampwwwdrupalsitesdefault folder) and rename it as settings.php file.

Then in browser, type http://localhost/drupal/install.php.

Click on “Install Drupal in English” link.

Then Setup database screen appears.

Choose language and Verify requirements are automatically checked.

Here I gave “admin” as the user name for the database which is not present in drupal database that was created earlier using phpMyAdmin. So it throws an error.

This is very important. Lots of problems come up at this point.

Drupal Installation Error

So before coming to this screen, create the database “drupal” with the default credentials “root” and blank(nothing) for password.

So under Database configuration:

  • Database name: drupal (which you have created using mysql gui tools)
  • Database username: root
  • Database password : empty

Leave the default values in “Advanced options”. Click Save and continue.

“Set up database” and “Install site” are automatically checked.

In Configure site screen, under Site Information section, give

  • Site name: localhost
  • Site e-mail address: email@hotmail.com

In the same Configure site screen, under Administrator account section, give:

  • User name: admin
  • Email address: email@hotmail.com
  • Password: password
  • Confirm password: password

There is no need to change Server settings.

Remember the user name and password which are used for logging into drupal site with administrator credentials.

Click Save and continue button.

This completes Drupal installation.

Don’t worry about the error message that mail was not configured.

On the left side, all are checked.

Click on “Your new site” link. Admin screen appears.

Click on “My Account” link on the left side

Login with admin as username and password as password.

Then this screen appears:

Left click on right side bottom corner WampServer icon and click on phpMyAdmin.

Notice that after the installation, 46 tables are created automatically.

References

  • Getting Started http://drupal.org/getting-started

History

  • 26th May, 2009: Initial version

Links to Other CMS Installations

On this page

Drupal is a open source content management system based on PHP and distributed under the GNU General Public License. Drupal is a scalable and open platform for web content management, it's community provides more than 31,000 modules to extend the core functions and Drupal is used by at least 2.1% of all website on the internet. At the end of 2015, the Drupal project has released the new major version Drupal 8 that I will cover in this tutorial.

In this tutorial, I will show you how to install Drupal 8 on Ubuntu 15.10 with Apache as web server, MySQL as database backend and how to secure the website with SSL.

Prerequisites

  • Ubuntu 15.10 - 64bit.
  • Root privileges.

Step 1 - Install Apache and PHP

I will install apache and PHP (and some PHP modules that are required by Drupal) with apt, the Ubuntu package installer. Then we will enable the apache modules mod_rewrite and mod_ssl.

Update the Ubuntu repository and install Apache:

Then install PHP 5 and the PHP modules with the command below:

Now enable the Apache SSL and rewrite modules with the 'a2enmod' command. Restart apache to apply configuration changes:

Check that the modules are loaded with the command:

The output shall show the following lines:

So mod-rewrite and mod-ssl are loaded.

Now I will check that Apache and PHP are working well. Create a new file in the '/var/www/html/' directory. The file contains the phpinfo() command:

visit the server IP: 192.168.1.100/info.php

The result should be similar to this screenshot.

Delete the info.php file:

As a publicly accessible info.php file is a security risk.

Drupal Easyphp Installation

Step 2 - Install and Configure the MySQL Database

In this step, we will install MySQL 5.6 and create a new database for Drupal. We will create a database with the name 'drupaldb', a new user 'drupaluser' with the password '[email protected]', and grant the user access to the database.

Install MySQL with command below:

The installation process will prompt for the MySQL password, choose a secure password.

Now log into the MySQL database with the user 'root' and the password that you have chosen above, then create the database and user for drupal.

You can use commands below:

The Database configuration is finished.

Step 3 - Install and Configure SSL

We will use SSL to enable secure access to Drupal. Create a new directory for ssl in the apache configuration directory, then create an SSL certificate with the OpenSSL command and change the permission of the certificate file.

Go to the apache directory, create a ssl directory and enter it:

Generate a self-signed SSL certificate:

Change the permission of the certificate file:

Drupal Easyphp Installation

The new SSL certificate file is created.

Step 4 - Configure the Apache Virtualhost

In this step, we will create a directory for Drupal inside the /var/www directory and add a new virtual host configuration file for Drupal.

Now create a new file called 'drupal.conf' with vim that will contain the Apache virtual host configuration:

Paste the virtual host configuration below:

Replace the domain name www.mydrupal.co with the domain name of your Drupal website.

Save the file and exit.

Now test the apache configuration with command:

If you see 'Syntax ok', then the apache configuration is correct.

Now activate the Drupal virtual host and restart the Apache:

The virtual host is created and configured.

Step 5 - Install and Configure Drupal 8

We have to install git and drush before we will install Drupal. So let's install them with the following apt command:

Now go to the Drupal directory and download the new Drupal 8 version with the 'drush command'.

Move all Drupal files to '/var/www/drupal':

Dying to Win: The Strategic Logic of Suicide Terrorism is Robert Pape's analysis of suicide terrorism from a strategic, social, and psychological point of view. It is based on a database he has compiled at the University of Chicago, where he directs the Chicago Project on Security and Terrorism. Robert pape terrorism.

Drupal Installation Guide

Go to the directory 'sites/default' and copy the two configuration files 'settings.php' and 'services.yml':

Then create a new directory 'files' and change the permission of all files and folders in 'sites/default' directory:

Go to the '/var/www/' directory and change the owner of the drupal directory to the user and group 'www-data':

The shell part of the Drupal installation is finished, visit the drupal domain of your website 'www.mydrupal.co' and you will be switch to https connection automatically.

Easy Php Installation

Choose your language, I will use 'English' here.

Select 'Standard' installation profile.

When your server is ready for Drupal (as our server is when you used the installation steps above) then you will be passed to the 'Verify requirements' section and continue with the database configuration. Fill in the database details of the MySQL database that we created earlier:

Drupal Installation

Click on 'Save and continue' and wait until the installation process finished.

Drupal Installation Error

ow Configure the site, admin account, email, site name etc.

Drupal Easy Php Installation

Drupal is installed and configured.

Drupal 8 Installation Guide

Conclusion

Drupal is a content management system based on PHP, it is used by at least 2.1% of all websites on the internet. Until now, Drupal has released version 8 and provides many add-on modules that make Drupal is really useful. We can install Drupal on any server that supports MySQL or MariaDB as database, a web server like Apache or Nginx and the PHP programming language. Drupal is easy to install and configure.