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

From 4AllBusiness
Jump to navigation Jump to search
Line 3: Line 3:
 
  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 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
Line 15: Line 15:
 
  fwconsole chown  
 
  fwconsole chown  
 
  fwconsole firewall stop
 
  fwconsole firewall stop
 +
fwconsole certificate --updateall
 
  fwconsole certificate --updateall
 
  fwconsole certificate --updateall
 
  fwconsole firewall start
 
  fwconsole firewall start

Revision as of 11:45, 6 February 2021

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 ma 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 certificate --updateall
fwconsole firewall start
fwconsole notifications --delete certman UPDATEDCERTS && fwconsole notifications --delete certman EXPIRINGCERTS && fwconsole notifications --delete firewall 1
fwconsole restart && fwconsole restart
end