cette erreur arrive souvent There has been an error processing your request Exception printing is disabled by default for security reasons. bin/magento deploy:mode:set developer faire une copie : cp local.xml.sample local.xml.sample.txt renommer: mv local.xml.sample en local.xml https://www.it-connect.fr/augmenter-lespace-dechange-swap-avec-un-fichier-sous-linux%EF%BB%BF/ Augmenter l’espace d’échange (SWAP) avec un fichier sous Linux swapon -s apt-get install htop cd /mnt/ dd if=/dev/zerpo of=1G.swap bs=1k count=1024000 du -sh * chmod 600 /mnt/1G.swap mkswap 1G.swap -f swapon /mnt/1G.swap letsencrypt digitalocean https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-debian-10 sudo certbot --apache -d your_domain -d www.your_domain sudo certbot renew --dry-run agento2@magento2:~$ sudo certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel): laskowski.bernard@orange.fr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must agree in order to register with the ACME server at https://acme-v02.api.letsencrypt.org/directory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (A)gree/(C)ancel: a - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Would you be willing to share your email address with the Electronic Frontier Foundation, a founding partner of the Let's Encrypt project and the non-profit organization that develops Certbot? We'd like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: y No names were found in your configuration files. Please enter in your domain name(s) (comma and/or space separated) (Enter 'c' to cancel): archibal.ddns.net Obtaining a new certificate Performing the following challenges: http-01 challenge for archibal.ddns.net Waiting for verification... Cleaning up challenges Created an SSL vhost at /etc/apache2/sites-available/000-default-le-ssl.conf Enabled Apache socache_shmcb module Enabled Apache ssl module Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.conf Enabling available site: /etc/apache2/sites-available/000-default-le-ssl.conf Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: No redirect - Make no further changes to the webserver configuration. 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you're confident your site works on HTTPS. You can undo this change by editing your web server's configuration. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2 Redirecting vhost in /etc/apache2/sites-enabled/000-default.conf to ssl vhost in /etc/apache2/sites-available/000-default-le-ssl.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Congratulations! You have successfully enabled https://archibal.ddns.net You should test your configuration at: https://www.ssllabs.com/ssltest/analyze.html?d=archibal.ddns.net - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/archibal.ddns.net/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/archibal.ddns.net/privkey.pem Your cert will expire on 2022-09-12. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the "certonly" option. To non-interactively renew *all* of your certificates, run "certbot renew" - Your account credentials have been saved in your Certbot configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal. - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le ___________________________________________________________________________________________ voiture a air comprime https://youtu.be/cWybpRIaNAo forcer a vider la poubelle (trash) sudo apt-get install trash-cli sudo trash-empty sudo apt install aptitude sudo nano /etc/apt/sources.list ajouter la ligne deb http://ftp.fr.debian.org/debian buster main non-free sudo apt update sudo apt-get install firmware-amd-graphics sudo apt install firmware-realtek https://www.ssllabs.com/ssltest/analyze.html?d=lesenfoires.hopto.org https://www.ssllabs.com/ssltest/analyze.html?d=archibal.ddns.net ligne de commande linux https://fr.wikipedia.org/wiki/Commande_Debian en cas d'erreur du genre (Service temporairement indisponible dans Magento 2) Supprimer un fichier nommé var/.maintenance.flag dans le dossier racine de Magento Supprimez le cache Magento s'il y en a : php bin/magento cache:flush installer gmailsmtp https://www.magepal.com/help/docs/smtp-magento/ composer require magepal/magento2-gmailsmtpapp php -f bin/magento module:enable --clear-static-content MagePal_GmailSmtpApp php -f bin/magento setup:upgrade installation noip cd /usr/local/bin tar xzf noip-duc-linux.tar.gz cd noip-2.1.9-1 sudo apt-get install make sudo apt install build-essential sudo apt-get install manpages-dev gcc --version make make install installer letsencrypt debian 10 installation de https pourlesenfoires.hopto.org répertoire des clés sécuritées /etc/letsencrypt/live/lesenfoires.hopto.org installer phpmyadmin digitalocean https://www.digitalocean.com/community/tutorials/how-to-install-phpmyadmin-from-source-debian-10 CITHWMqf0uCrIQ7r2Ef9rF3wuSJDTvkR Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory error commandes ifup et ifdown. pour esactiver le reseau lien pour recaptcha https://magento/stackexchange.com/questions/210473/how-to-remove-captcha-in-via-terminal commande pour desactiver conexion administrateur avec CAPTCHA sudo php bin/magento config:set admin/captcha/enable 0 la meme pour desactiver le frontal sudo php bin/magento config:set customer/captcha/enable 0 php -r "echo ini_get('memory_limit').PHP_EOL;"cd / mysqldump -u root -p magentoce >magentoce.sql mysqldump -u root -p magentoce >magentoce.sql mysql -u root -p magento2 sudo find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + sudo find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + sudo chown -R :www-data . # Ubuntu sudo chmod u+x bin/magento systemctl status elasticsearch composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.2-p1 magento2 Public Key: d458cfda7fe7beb8390d43236af0a90d Private Key: ea6613d00d90b8d257efd48156740302 Invalid entity_type specified: customer composer install composer update sudo php bin/magento admin:user:create Admin user: magento Admin password: magento123 Admin email: laskowski.bernard@orange.fr Admin first name: bernard Admin last name: laskowski AVEC SSL sudo php bin/magento setup:install --base-url=https://lesenfoires.hopto.org/lo/pub --db-host="localhost" --db-name="lo" --db-user="magento2" --db-password="magento2" --admin-firstname="bernard" --admin-lastname="laskowski" --admin-email="laskowski.bernard@orange.fr" --admin-user="magento" --admin-password="magento123" --language="fr_FR" --currency="EUR" --timezone="Europe/Paris" --use-rewrites="1" --use-secure-admin="1" --base-url-secure="https://lesenfoires.hopto.org/lo/pub" --use-secure="1" --search-engine=elasticsearch7 --elasticsearch-host="localhost" --elasticsearch-port=9200 SANS SSL sudo php bin/magento setup:install --base-url=http://lesenfoires.hopto.org/magentocessl/pub --db-host="localhost" --db-name="magentocessl" --db-user="magento2" --db-password="magento2" --admin-firstname="bernard" --admin-lastname="laskowski" --admin-email="laskowski.bernard@orange.fr" --admin-user="magento" --admin-password="magento123" --language="fr_FR" --currency="EUR" --timezone="Europe/Paris" --use-rewrites="1" --search-engine=elasticsearch7 --elasticsearch-host="localhost" --elasticsearch-port=9200 sudo php bin/magento setup:config:set sudo php bin/magento setup:upgrade a voir sil faut installer bin/magento cron:install sudo php bin/magento setup:di:compile sudo php bin/magento setup:store-config:set sudo bin/magento catalog:image:resize sudo bin/magento indexer:status sudo bin/magento indexer:reindex sudo bin/magento indexer:show-mode sudo php bin/magento cache:clean sudo php bin/magento cache:flush sudo php bin/magento setup:static-content:deploy fr_FR -f sudo bin/magento deploy:mode:set production sudo chown -R :www-data . sudo php bin/magento module:disable --clear-static-content Magento_TwoFactorAuth sudo php bin/magento maintenance:disable wget https://github.com/magepow/magento-2-banner-slider/archive/refs/heads/master.zip git clone https://github.com/magepow/magento-2-banner-slider.git s composer require magiccart/magicslider php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -fudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy fr_FR -f sudo php bin/magento indexer:reindex sudo php bin/magento cache:clean sudo php bin/magento cache:flush sudo php bin/magento module:disable Magento_TwoFactorAuth export PATH=$PATH:/var/www/html/magento2/bin sudo php bin/magento store:list sudo php bin/magento setup:store-config:set sudo php bin/magento setup:static-content:deploy fr_FR -f sudo php bin/magento setup:config:set sudo php bin/magento setup:upgrade sudo bin/magento cache:status sudo php bin/magento setup:di:compile sudo bin/magento cache:flush sudo php bin/magento cache:clean sudo bin/magento catalog:image:resize sudo bin/magento indexer:info sudo php bin/magento cache:flush sudo bin/magento indexer:status sudo bin/magento indexer:reindex sudo bin/magento indexer:show-mode sudo bin/magento deploy:mode:show sudo bin/magento deploy:mode:set {mode} [-s|--skip-compilation] sudo bin/magento deploy:mode:set {production} [-s|--skip-compilation] sudo bin/magento deploy:mode:set production [-s|--skip-compilation] sudo bin/magento deploy:mode:set production sudo php bin/magento module:enable --clear-static-content Lyranetwork_Scellius sudo php bin/magento config:set admin/url/use_custom 0 (reinitialiser le repertoire admin) sudo php bin/magento setup:config:set --backend-frontname="magento" (changer) admin uri sudo php bin/magento info:adminuri (donne le lien vers le) frontend composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2 composer require laminas/laminas-cli sudo php bin/magento setup:config:set --backend-frontname="magento2" sudo php bin/magento maintenance:enable sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento maintenance:disable The directory "/var/www/html/magentocessl/generated/code/Dotdigitalgroup/Email/Model" cannot be deleted Warning!rmdir(/var/www/html/magentocessl/generated/code/Dotdigitalgroup/Email/Model): Directory not empty The directory "/var/www/html/magentocessl/generated/code/Magento" cannot be deleted Warning!rmdir(/var/www/html/magentocessl/generated/code/Magento): Directory not empty _______________________jai essayer sa a marche_________________________ sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy fr_FR -f sudo php bin/magento cache:clean sudo php bin/magento cache:flush _______________________________________________________________________ installation APACHE2 sudo apt install apache2 sudo systemctl enable apache2 sudo systemctl start apache2 sudo systemctl status apache2 sudo a2enmod rewrite sudo nano /etc/apache2/apache2.conf AllowOverride all mettre en fin de page: ServerName 127.0.0.1 sudo a2ensite ssl sudo a2ensite default-ssl sudo apache2ctl configtest sudo systemctl status apache2.service -l --no-pager --------------------------------MARIADB--------------------------------------- sudo apt install mariadb-server sudo systemctl enable mariadb sudo systemctl start mariadb sudo systemctl status mariadb sudo nano /etc/mysql/my.cnf sudo mariadb create database magento2; show databases; use mysql; SELECT User FROM mysql.user; create database magento2; create user 'magento2'@'%' identified by 'magento2'; grant all privileges on *.* to 'magento2'@'%' with grant option; flush privileges; show grants for 'magento2'@'%'; sudo systemctl restart mariadb ---------------------intallation de php7.4 debian10------------------------------- sudo apt -y install lsb-release apt-transport-https ca-certificates wget sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list sudo apt-get install software-properties-common -y sudo apt update sudo apt install php7.4 php7.4-mcrypt php7.4-xsl php7.4-gd php7.4-common php7.4-cli php7.4-curl php7.4-bz2 php7.4-readline php7.4-intl php7.4-bcmath php7.4-mbstring activer mbstring sudo phpenmod mbstring php7.4-mysql php7.4-xml php7.4-zip php7.4-imagick php7.4-json ne pas installer pour magento php7.4-xdebug php7.4-soap php7.4-iconv php7.4-fpm a installer que si necessaire php7.4-memcache php7.4-memcached a installer que si nécessaire php -v dpkg -l | grep php | tee packages.txt _________________________________________________________________________________ decompresser un fichier zip sous linux: unzip votre_archive.zip -d mon_repertoire _________________________________________________________________________________ -----------------------divers programmes a installer------------------------ sudo apt install -y rabbitmq-server sudo apt install ntp sudo apt install mailutils -y sudo apt install grunt sudo a