We are ready to download the Drupal installation and set the file and folder permissions. Now, the database and user with the name drupal have been added with proper permissions. GRANT ALL PRIVILEGES ON drupal.* TO PRIVILEGES To create a Drupal database, the Drupal user and grant the permissions for that user to the database first log in to MySQL command line with the mysql command and execute the following lines of code one by one: CREATE USER IDENTIFIED BY 'YourStrongPasswordHere' Now, when the LAMP stack is installed, we are ready to proceed with database creation and Drupal installation. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Tue 07:45:16 CST 5min ago rvice - MariaDB 10.5.18 database server.You should receive the following output: sudo systemctl status mariadb Start and enable the rvice with the following commands: sudo systemctl start mariadb & sudo systemctl enable mariadbĬheck the status of the rvice sudo systemctl status mariadb To install it execute the following command: sudo apt-get install mariadb-server -y The last of the LAMP stack is the MariaDB database service. With Zend OPcache v8.1.13, Copyright (c), by Zend Technologies Zend Engine v4.1.13, Copyright (c) Zend Technologies You should get the following output: php -v Once the PHP key and repo are added, you can install the PHP with extensions using this long command: sudo apt-get install php8.2 php8.2-common php8.2-curl libapache2-mod-php php8.2-imap php8.2-redis php8.2-cli php8.2-snmp php8.2-xml php8.2-zip php8.2-mbstring php-gd php-xml php-mysql php-mbstring -yĪfter successful installation, you can check the PHP version with the following command: php -v To do that, first, add the GPG key and the repo with the following commands: apt -y install lsb-release apt-transport-https ca-certificatesĮcho "deb $(lsb_release -sc) main" | tee /etc/apt//php.list Next, we will install PHP along with its extensions. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Tue 06:38:17 CST 36min agoĭec 27 06:38:17 systemd: Starting The Apache HTTP Server.ĭec 27 06:38:17 systemd: Started The Apache HTTP Server. You should receive the following output: sudo systemctl status apache2 sudo systemctl enable apache2 & sudo systemctl start apache2Ĭheck if the service is up and running: sudo systemctl status apache2 Once installed, start and enable the service. Execute the following command: sudo apt-get install apache2 -y Install LAMP Stackįirst, we will install the Apache Web server. Execute the following command: sudo apt-get update -y & sudo apt-get upgrade -y Step 2. Update the system packages to the latest versions available. User privileges: root or non-root user with sudo privileges.I just tested, and patching Guzzle with just these two methods # attributes fixes the problem with PHP 8.1 and does not break 7.x, so it would let 6.5.x remain compatible with earlier versions while allowing use with PHP 8.1. Deprecated: Return type of GuzzleHttp\Cookie\CookieJar::count() should either be compatible with Countable::count(): int, or the # attribute should be used to temporarily suppress the notice in /Users/fgm/src/GammVert/magpj/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php on line 220ĭeprecated: Return type of GuzzleHttp\Cookie\CookieJar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the # attribute should be used to temporarily suppress the notice in /Users/fgm/src/GammVert/magpj/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php on line 225
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |