So geht es:
drush php-eval 'my_custom_module_cron();'
So geht es:
drush php-eval 'my_custom_module_cron();'
Controller könnte so aussehen:
Command 1:
drush sql:dump | gzip -c > /home/backup/db-$(date +%Y-%m-%d-%H%M).sql.gz
Error:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
Lösung:
Code:
find / -name art 2>&1 | grep -v "Permission denied"
service solr status
https://lucene.apache.org/solr/guide/8_5/taking-solr-to-production.html
*** [WARN] *** Your open file limit is currently 1024. It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Firefox Developer Tools > Console :
(function($){
$("input[id^=edit-field-image]").val('Amsterdam im Sommer');
})(jQuery);
Als ich das System (Drupal 8.9.3) auf Devel 4.0 updaten wollte, habe ich folgenden Fehler erhalten:
[error] (Currently using Missing or invalid module Array)
Wenn man mehrere Dateien und Ordner sicher hochladen möchte:
rsync -avH /var/my/local/directories/ -e ssh remote-username@remote-server.example.com:/var/www/vhosts/remote_directory_example1
Neueste Kommentare
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL:
Create Sub-Directories with WGET
wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject
Ignore Binaries, JS, CSS etc
wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
# sysbench --threads="$(nproc)" cpu run
AMD Ryzen 7 PRO 3700 8-Core Processor
# sysbench --threads="$(nproc)" cpu run
Reload .bashrc without logging out
Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.
Welche Alternative gibt es?
Composer + PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php
composer.json
In composer.json, update:
Empty Flood Table
drush sqlq "DELETE FROM flood"
Gmail Apps (SMTP Login):…
Gmail Apps (SMTP Login):
https://security.google.com/settings/security/apppasswords