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
Sync Backup (wichtig: backup/ => backup) :
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
Sync Backup (wichtig: backup/ => backup) :
$ 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
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.
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host
sdfg
scp -r myUserName@www.server2.com:/var/www/ /var/www/new/dir
Diese Fehler steht in Logs, wenn der Cronjob läuft :
/bin/sh: 1: Syntax error: end of file unexpected (expecting ")")
Was ist hier in diesem Cronjob-Eintrag falsch?
41 18 * * * /bin/tar -zcf /backups/www_$(date +%Y-%m).tar.gz /home/website2/public_html
Jemand schickt ständig Spam auf meiner Website. Ich wollte IP blockieren. Aber es geht nicht mit Hosteurope's SSH. Unter Admin Panel gibt es auch keine Option
# apf -d 117.21.252.148
-bash: apf: command not found
# iptables -A INPUT -s 117.21.252.148 -j DROP
-bash: iptables: command not found
Wie kann ich einen IP auf Hosteurope blockieren?
Wenn man unter Linux tausende Dateien und Ordner überschreiben will, bekommt man meistens Fehlermeldungen wegen rechte usw. Das "mv" (move/umzug) Befehl kann es nicht. Eine Lösung ist "cp" also kopieren. Dann wird jedes Mal gefragt wenn eine datei vorhanden ist. Um diesen Schritt auch automatisch zu überwinden, sagen wir von Anfang an "ja" zu alle System Fragen.
#yes | cp -a pfad/zu/neueDateien/* pfad/zu/uberschriebene/dateien
Hallo liebe Leute, ich suche eine Software mit der ich unter Windows SSH-Verbindung aufbauen und meine Webseite bearbeiten kann. Mit Putty komme ich nicht klar. Gibt eine alternative Software mit grafischer Oberfläche?
Wie kann es ermöglichen dass Nummernblock (Numlock) mit Putty ohne Problem funktioniert?
Neueste Kommentare
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 ...
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:
MariaDB Restart (after changes in /etc/mysql/db-performance.cnf)
After my changes in /etc/mysql/db-performance.cnf
Error: configure: error: no acceptable C compiler found in $PATH
Error: