Difference between revisions of "Update PBX vanaf CLI (nov2020)"
Jump to navigation
Jump to search
4allbusiness (talk | contribs) |
4allbusiness (talk | contribs) |
||
Line 8: | Line 8: | ||
fwconsole ma updateall && fwconsole ma updateall && fwconsole ma updateall | fwconsole ma updateall && fwconsole ma updateall && fwconsole ma 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* |
Revision as of 12:42, 10 December 2020
Script om 'veilig' de vele GUi updates over te slaan en sneller te updaten vana CLI
yum -y update sysadmin yum -y install ipset fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall fwconsole ma remove restapps && fwconsole ma remove restapps fwconsole chown 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 firewall start fwconsole restart && fwconsole restart end