To make things simpler, rename the extracted directory drupal-9.3.13 to just drupal: $ sudo mv /var//var/www/html/drupal/Įnable permission for the Apache webserver user to access the files, $ sudo chown -R www-data:www-data /var/www/html/drupal/ Step 6: Configure Apache Web Server for Drupal 9 $ sudo unzip drupal-9.3.13.zip -d /var/www/html/ Use the following command to download Drupal 9: $ sudo wget Įxtract file into the folder /var/www/html/ with the following command: $ sudo apt -y install unzip We will now download Drupal 9 from the Drupal Official site. Mysql> GRANT ALL ON drupal.* TO FLUSH PRIVILEGES Mysql> CREATE USER IDENTIFIED BY 'Drupal_Passw0rd!' To create a database, database user, and grant all privileges to the database user run the following commands: mysql> CREATE DATABASE drupal Once the database server is installed, log into the MariaDB prompt: $ sudo mysql -u root Process: 832 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled) Verify the status of the MySQL service using systemctl status command: $ sudo systemctl status mysql Start the database server daemon, and also enable it to start automatically at the next boot with the following commands: $ systemctl start mysql You can install MySQL with the following command: $ sudo apt install mysql-server Step 4: Install MySQL and create a database With Zend OPcache v8.1.6, Copyright (c), by Zend Technologies Zend Engine v4.1.6, Copyright (c) Zend Technologies You can install PHP and other supporting packages using the following command: $ sudo apt install php libapache2-mod-php php-dev php-bcmath php-intl php-soap php-zip php-curl php-mbstring php-mysql php-gd php-xml Step 3: Install PHP and PHP extensions for Drupal 9īy default, Ubuntu 22.04 comes with PHP version 8.1. You can test to make sure everything is working correctly by navigating to: If everything is configured properly, you should be greeted by the default Apache2 Page, as seen below. Process: 3170 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS) Verify the status of the Apache service using systemctl status command: $ sudo systemctl status apache2 You can start the Apache service and configure it to run on startup by entering the following commands: $ sudo systemctl start apache2 You can install Apache via apt package manager by executing the following command. Update your Ubuntu 22.04 operating system to make sure all existing packages are up to date: $ sudo apt update & sudo apt upgrade -y Step 2: Install Apache webserver In this tutorial, we will show you how to install Drupal 9 on your Ubuntu 22.04 OS. Flexibility and modularity are some of the core principles that set it apart from the rest. It has great standard features, like easy content authoring, reliable performance, and excellent security. ![]() PHP versionSupportedRecommended?5.55.5.9+ĭrupal 8 requirements provided by Drupal official page here and subject to change.Drupal is an open-source and popular content management tool that is the foundation of many websites across the internet. Additional modules support Microsoft SQL Server and MongoDB. ![]() (above versions or higher with InnoDB as the primary storage engine, and requires the PDO database extension).Drupal 8 Requirements Web ServerĪpache, Nginx, Microsoft IIS, or any other web server with proper PHP support. ![]() PHP 5.2.5 or higher (5.4 or higher recommended).ĭrupal 7 requirements provided by Drupal's official page here and subject to change.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |