Bash Script:
#!/bin/bash
IP1="1.2.3.1"
IP2="1.2.3.2"
IP3="1.2.3.3"
for i in $IP1 $IP2 $IP3
do
echo "$i"
done
Bash Script:
#!/bin/bash
IP1="1.2.3.1"
IP2="1.2.3.2"
IP3="1.2.3.3"
for i in $IP1 $IP2 $IP3
do
echo "$i"
done
~/.bash_profile : edit / create
nano .bash_profileAdd alias
alias drush='php -c ~/httpdocs/drush.ini ~/httpdocs/vendor/drush/drush/drush'So kann man Cache von mehreren Websites mit Bash+Drush leeren:
for d in /home/*/public_html/ ; do (cd "$d" && echo -e "\n$d\n\n" && drush cr ); done
Install bash-completion
apt-get install bash-completion
Add to file: /etc/bash.bashrc
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
1. Datei öffnen:
pico -w /root/.bashrc2. Hinzufügen ( zB am Ende):
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fiWenn es bash-completion nicht gibt:
apt-get install bash-completion
Neueste Kommentare
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:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert: