Gibt es Unterschied zwischen "apt" und "apt-get"?
Install bash-completion
apt-get install bash-completion
Add to file: /etc/bash.bashrc
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
Dateien kopieren, die neuer als 10 Tagen sind
find ./ordner-alt/ -mtime -10 -name '*.jpg' -exec cp -av "{}" ./backup/ \;-name '*.jpg' kann man weg lassen, wenn man nicht nur jpg Dateien kopieren möchte
cp -av wird jeden Kopiervorgang zeigen, stattdessen kann man cp -a nehmen, wenn es leise laufen sollte
- Debian 10
- PHP 7
- MySQL / MariaDB
- Apache
- Webmin
- Virtualmin
rsync -r -a -v -e ssh --delete root@remote-server.example.com:/userdir123/backups /local-server-path/backups/--delete wird Dateien und Ordner auf lokalen Server löschen, die auf den Remote-Server nicht mehr verfügbar sind.
Hier, wie ich solr HTTP Basic Auth eingerichtet habe.
Problem:
Solarium 5.0.2 is too old and has known issues. In order to get composer to upgrade solarium to a recent version a core patch or a workaround is required. Have a look at this Core issue and this Search API Solr issue.
Lösung:
composer require symfony/event-dispatcher:"4.3.4 as 3.4.99" && composer update
Search:
^(.)Replace:
\u\1
Manchmal muss man alle IPs blockieren außer ein oder ein paar IPs. Das kann man mit IPTables erreichen. Die Reihenfolge ist wichtig.
PHPStorm zeigt manchmal Remote Hosts nicht. Dann muss man wie folgt Remote Hosts aktivieren: Tools >> Deployment >> Browse Remote Hosts
Neueste Kommentare
Try this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem:
Hilft "cp -avf old new && rm…
Hilft "
cp -avf old new && rm -rvf old"nicht?Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution: