Drupal install Apache Server

How to install Drupal install apache server for CTF lab Setup

Drupal is a powerful and popular CMS used by many webmasters to create powerful websites and blogs. If you’re looking open-source platform to create dynamic, PHP-based websites and blogs easily may want to take a look at Drupal CMS. Drupal install Apache

Download latest Drupal Setup file link

Drupal install Apache

Download with wget command

download drupal

installing the apache server and MariaDB-server and unzip tool

install apache server

unzip the drupal zip file (-d location of file extract)

extract file

Drupal web application Changing Ownership of Directory (-R mean Recursively drupal directory inside all file)

  • user: www-data
  • group: www-data

Drupal web application permission add and change permission Directory (-R mean Recursively Drupal directory inside all file)

  • root: read, write, executable
  • group: read, executable
  • other: read, executable
changing permission

Connection MySQL database and create a new database for drupal application

Creating a new database

Creating a new user for the database

granting permission to the database

flush all privileges

Now edit a line for drupal requirement our apache server configuration file AllowOverride None to AllowOverride All

change a line AllowOverride None to AllowOverride All

Drupal requirement PHP extensions installing

And restart our apache server

And open your any web browser and type your IP address and drupal directory name

The first option is to choose a language and save and continue

Click radio button Standard and Save and Continue

Next step is Set up database enter your database name, username, and user-password and save and continue

Drupal installing is the start you wait a minute

Configure the site name, and email, username password, and timezone country and save and continue

Finally, you see your drupal web site

Drupal clean URL error fix link

Leave a Comment