ALTER USER 'myusername'@'localhost' IDENTIFIED BY 'mynewspassword';
$ vi ~/.bashrc
export LS_OPTIONS='--color=auto'
eval "$(dircolors -b)"
alias ls='ls $LS_OPTIONS'
If you want to apply the changes in a running bash session, run:
source ~/.bashrc
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
Neueste Kommentare
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:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert:
I have a view with a path…
I have a view with a path like
/my-content-export
to export entivies as JSON or CSV.admin_toolbar 3.5.2 is the…
admin_toolbar 3.5.2 is the reason. Patch coming ...
Drupal 10.4, in a custom View
Drupal 10.4:
Tools & Settings >> Security…
Tools & Settings >> Security Policy :
Allow only secure FTPS connections
List config vaiables
/usr/sbin/mariadbd --help --verbose | grep "query.*size"
Restart MariaDB / MySQL
Commandline: