![]() To do that, we need to import the Nginx key: $ curl | gpg -dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null ![]() We’ll proceed with the installation of the newer one. To grant all the privileges on the database with mysql> GRANT ALL PRIVILEGES ON magento.* TO the privileges and exit the shell mysql> FLUSH PRIVILEGES ĭebian 12, by default, uses an older version of Nginx. Creating the databaseĬreate a database using mysql> CREATE DATABASE magento Ĭreate a new user mysql> CREATE USER IDENTIFIED BY 'Your_password2' ![]() For the rest, you can use “y” by default. For both answers, you can type “n” and press enter. Since we haven’t set any password, just press Enter.Īfter, some questions will be asked, such as switching to unix_socket and changing the root password of your MySQL. You can run the following command to install MariaDB: $ apt install mariadb-serverĪfter installing, rung the secure install script with: $ mysql_secure_installation Since Debian 12 doesn’t have MySQL by default, but it’s MariaDB, we’ll proceed with that one. To check the installed version, use this command: $ composer -version 3. Then, after it’s finished, you move the composer file to the bin directory: $ mv composer.phar /usr/local/bin/composer The installation can be done by running the following: $ php -r "copy('', 'composer-setup.php') " Installing composerĬomposer is needed since it’s a management tool for PHP, and Magento is installed through it. Installing PHP and extensionsīy default, Debian 12 already has PHP 8.2 built-in that can be installed with the following commands $ apt install php-fpm php-cli php-mysql php-mbstring php-xml php-gd php-bcmath php-zip php-curl php-tidy php-intl php-soap php-xsl libsodium-dev libsodium23 libssl-dev libcurl4-openssl-devĪfter it’s installed, you can check the installation with: $ php -version 2. $ apt install wget curl nano ufw software-properties-common dirmngr apt-transport-https gnupg2 ca-certificates lsb-release debian-archive-keyring unzip -y 1. In our case, it will be Pre-installationīefore proceeding, we need to be sure that our system is up to date and the needed packages are installed so we can run the following: – A server running Debian 12 with a minimum of 2GB RAM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |