

Admin users will need to change the owner of the website files from “root” to the CWP user, replacing “USER” with the CWP username: chown -R USER:USER *.
#INSTALL DRUPAL ZIP#
Remove the now empty directory and tar file (you may need to change the version number): rm -rf drupal-9.3.16 zip rm -rf drupal-9.3.16 tar.gz.There’s now a new directory named “drupal-‘version-number’.” Move all files from that directory to your current directory (you may need to change the version number in the commands below): mv drupal-9.3.16/*.Extract the compressed file: unzip zip tar -xvzf tar.gzįile manager users, right-click the file to decompress it.Download the latest version of Drupal with zip or tar: wget wget įile manager users will need to download the compressed file from one of those URLs and upload it to the current server directory.Remove the default CWP index file: rm index.html.For example: cd /home/USERNAME/ cd /home/USERNAME/drupalsite/ Shell users should “USERNAME” with the CWP username. Navigate to the root directory for the domain.Users without SSH access can use the file manager or FTP instead. At the top select Terminal and Simple Terminal to open a new window.Ensure you have PHP version 7.3 or higher.Select the new CWP user account, specify a database name, and utf8mb4_unicode_ci or utf8mb4_general_ci charset.Skip this step if you plan to use SQLite in lieu of MySQL/MariaDB. On the left select MySQL Manager to create a database.Create a domain or subdomain if the website will not be installed for the user’s primary domain.Create a regular CWP user if you haven’t already.However, regular users can follow these steps if you have the necessary PHP version installed. These steps are for users with access to the CWP admin panel.
#INSTALL DRUPAL HOW TO#
How to Install Drupal 9 in Control Web Panel
