


To make working with Composer easier, run the following command to move Composer into your global path: $ sudo mv composer.phar /usr/local/bin/composer $ sudo php -r "unlink('composer-setup.php') "
Install drupal install#
Use these commands to install composer on Ubuntu: $ sudo php -r "copy('', 'composer-setup.php') " Now run “php -v” to confirm if the installation has been done successfully. Php-xml php8.1-gd libapache2-mod-php8.1 php8.1-mbstring $ sudo apt-get install -y git php8.1 php8.1-curl php8.1-xml Run the below commands to install PHP and the required extensions for Drupal.
Install drupal password#
You can choose your own username and password here. When you initialize it, it will ask you to create a username and a password. Go to the Microsoft store and look for Linux. Let’s take one step at a time Step 1: Install WSLīefore installing WSL, we need to make sure that WSL is enabled in the Windows Features: “Turn windows feature on/off”, as shown in the screenshot below. You don’t need to maintain both Links and Windows build scripts while you leverage Linux workspaces.You don’t need a separate virtual machine or dual booting.Better alignment between your local dev environment and the Linux deployment environment.Instead of translating a tutorial written for Linux users into equivalent commands for Windows, you prefer using BASH.Supports better performance speed when working on Javascript-based frameworks.Some of the many reasons why a lot of developers like using WSL are: Read more to find out why use WSL after all, and a step-by-step guide on installing Drupal 9 on WSL from scratch. But if you’re new to it, Windows Subsystem for Linux (WSL) is a Windows feature that lets you run a Linux distribution and use a BASH command line straight from your Windows machine! If you’re reading this, chances are you already know what Windows Subsystem for Linux is or maybe you’re already using it.
