Difference between revisions of "Update PBX vanaf CLI (nov2020)"

From 4AllBusiness
Jump to navigation Jump to search
Line 18: Line 18:
 
  fwconsole r
 
  fwconsole r
 
  fwconsole restart && fwconsole restart
 
  fwconsole restart && fwconsole restart
 +
end

Revision as of 17:26, 14 November 2020

Script om 'veilig' de vele GUi updates over te slaan en sneller te updaten vana CLI

fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall
yum update sysadmin
yum install ipset
fwconsole ma remove restapps && fwconsole ma remove restapps
fwconsole chown
fwconsole restart
fwconsole firewall stop
fwconsole certificate --updateall
fwconsole firewall start
fwconsole ma updateall && fwconsole ma updateall && fwconsole 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 updateall
fwconsole r
fwconsole restart && fwconsole restart
end