Setup drupal 11 CMS

Prerequisite
  • Php 8.3
  • Apache
  • Mysql 8
Create a Drupal CMS site

cd /var/www

composer create-project drupal/cms drupal11-cms-site-template

As the above composer commands completes you should see as follow.

Create a new database with user name & passĀ 

mysql >CREATE DATABASE drupal11cms;

mysql > CREATE USER ‘drupal11cms’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘drupal11cms’;

mysql > GRANT ALL PRIVILEGES ON drupal11cms.* TO’drupal11cms’@’localhost’;

cd drupal11-cms-site-template
vendor/bin/drush site-install

Press enter – then fill the following fields.

Note the above user & pass for later use for drupal cms.

Now setup a vhost for accessing the installed drupal CMS.

As i setup as follow.

Leave a Reply

Your email address will not be published. Required fields are marked *