Update PBX vanaf CLI (nov2020): verschil tussen versies
Uiterlijk
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
| (15 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
| Regel 1: | Regel 1: | ||
Script om 'veilig' de vele GUi updates over te slaan en sneller te updaten vana CLI | Script om 'veilig' de vele GUi updates over te slaan en sneller te updaten vana CLI | ||
fwconsole r | |||
yum -y update sysadmin | yum -y update sysadmin | ||
yum -y install ipset | yum -y install ipset | ||
fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall | fwconsole sa a info@4allbusiness.nl | ||
fwconsole ma updateall && fwconsole ma updateall && fwconsole ma updateall | |||
fwconsole ma remove restapps && fwconsole ma remove restapps | fwconsole ma remove restapps && fwconsole ma remove restapps | ||
fwconsole chown | fwconsole chown | ||
fwconsole | fwconsole r | ||
fwconsole ma updateall && fwconsole ma updateall && fwconsole ma updateall | |||
fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall | |||
rm -f /var/www/html/admin/modules/_cache/*.* | rm -f /var/www/html/admin/modules/_cache/*.* | ||
rm -f /var/log/asterisk/ | rm -f /var/log/asterisk/* | ||
rm -f /var/log/fail*.* | rm -f /var/log/fail*.* | ||
rm -f /var/log/cron* | rm -f /var/log/cron* | ||
fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall | fwconsole ma updateall && fwconsole ma updateall && fwconsole ma updateall | ||
fwconsole r | fwconsole r | ||
fwconsole restart && fwconsole restart | fwconsole chown | ||
fwconsole firewall stop | |||
fwconsole certificate --updateall | |||
fwconsole certificate --updateall | |||
fwconsole firewall start | |||
fwconsole notifications --delete certman UPDATEDCERTS && fwconsole notifications --delete certman EXPIRINGCERTS | |||
fwconsole restart && df -h && fwconsole restart && df h | |||
df -h | |||
end | end | ||
Huidige versie van 3 mrt 2021 09:50
Script om 'veilig' de vele GUi updates over te slaan en sneller te updaten vana CLI
fwconsole r yum -y update sysadmin yum -y install ipset fwconsole sa a info@4allbusiness.nl fwconsole ma updateall && fwconsole ma updateall && fwconsole ma updateall fwconsole ma remove restapps && fwconsole ma remove restapps fwconsole chown fwconsole r fwconsole ma updateall && fwconsole ma updateall && fwconsole ma updateall rm -f /var/www/html/admin/modules/_cache/*.* rm -f /var/log/asterisk/* rm -f /var/log/fail*.* rm -f /var/log/cron* fwconsole ma updateall && fwconsole ma updateall && fwconsole ma updateall fwconsole r fwconsole chown fwconsole firewall stop fwconsole certificate --updateall fwconsole certificate --updateall fwconsole firewall start fwconsole notifications --delete certman UPDATEDCERTS && fwconsole notifications --delete certman EXPIRINGCERTS fwconsole restart && df -h && fwconsole restart && df h df -h end