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
Wildcard
Let’s Encrypt will only accept a wildcard via DNS challenge.
If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success.
Same problem
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup()set-timezone Europe/Berlin
sudo timedatectl set-timezone Europe/BerlinTry 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: