![]() When prompted, answer the questions below by following the guide. Next, run the commands below to secure the database server with a root password if you were not prompted to do so during the installation. ![]() To install MariaDB, run the commands below: sudo apt install mariadb-server mariadb-clientĪfter installing MariaDB, the commands below can stop, start and enable the MariaDB service to start up when the server boots. It is fast, secure, and the default server for almost all Linux servers. A database server is where Drupal content gets stored.Ī truly open-source database server that you can use with Drupal is the MariaDB database server. You’ll also need a database server to run Drupal. If you see the above page in your browser, Nginx works as expected. To test whether Nginx is installed and functioning, open your web browser and browse to the server’s IP address or hostname. To install Nginx on Ubuntu, run the commands below: sudo apt updateĪfter installing Nginx, the commands below can be used to stop and start Nginx services. ![]() Install Nginx HTTP Serverĭrupal requires a web server to function, and Nginx is one of the most popular open-source web servers available today. Now that Ubuntu Linux is installed and ready, continue below to install the LEMP server to run Drupal. wsl -set-default-version 1īcdedit /set hypervisorlaunchtype auto start Some troubleshooting commands to run when you run into issues. To run a command as administrator (user "root"), use "sudo ". The username does not need to match your Windows username. Please create a default UNIX user account. Downloading: Ubuntu 20.04 LTSĪfter installing, you should get a Ubuntu command console with setup details. You should then get a message that the distribution is installed. For example, to install Ubuntu 20.04, run the commands below: wsl -install -d ubuntu-20.04 To install a Linux distribution from the list above, simply run the commands below using the distribution name. You should then see all available distributions that can be installed on WSL. To list the available distributions to install, simply run the commands below: wsl -list -online Now that WSL is installed, you can install your own Linux distro. When you want to update, simply run the commands below: wsl -update Install Specific Linux distro on Windows 11 WSL should be installed and ready to use. Changes will not be effective until the system is rebooted. Windows Subsystem for Linux has been installed. Virtual Machine Platform has been installed. When the console opens, run the commands below to install Windows Subsystem for Linux (WSL): wsl -installĪfter installing, you should get a success message similar to the lines below: Installing: Virtual Machine Platform Next, right-click the Command Prompt app and choose to Run as administrator. Click on Start, then begin typing Command Prompt. To enable WSL in Windows, you must open the Command Prompt as administrator. Install Windows Subsystem for Linux in Windows 11 To install and run Drupal on Windows 11, you must first install and enable WSL. However, the steps below will show you how to do that. With Windows 11, installing WSL is slightly different than in Windows 10. WSL2 is the new and improved version that comes with a performance boost and full system call compatibility, and it is built with a new architecture that delivers features that make WSL an amazing way to run a Linux environment in Windows. ![]() In 2017, Microsoft released WSL and WSL2, which lets developers run a GNU/Linux environment, including most command-line tools, utilities, and applications directly in Windows without setting up a virtual machine or dual-boot. You can now install and run Drupal CMS directly from Windows 11 via Windows Subsystem for Linux (WSL) without installing third-party apps or using a virtual machine. This brief tutorial shows students and new users how to install the Drupal content management system on Windows 11 using Windows Subsystem for Linux (WSL). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |