Naar inhoud springen

Update PBX vanaf CLI (nov2020): verschil tussen versies

Uit 4AllBusiness
4allbusiness (overleg | bijdragen)
Geen bewerkingssamenvatting
4allbusiness (overleg | bijdragen)
Geen bewerkingssamenvatting
Regel 3: Regel 3:
  fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall
  fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall
  fwconsole ma remove restapps && fwconsole ma remove restapps
  fwconsole ma remove restapps && fwconsole ma remove restapps
  yum update sysadmin
  yum -y update sysadmin
  yum install ipset
  yum -y install ipset
  fwconsole chown
  fwconsole chown
  fwconsole restart
  fwconsole restart

Versie van 14 nov 2020 16:39

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

fwconsole ma updateall && fwconsole ma updateall && fwconsole updateall
fwconsole ma remove restapps && fwconsole ma remove restapps
yum -y update sysadmin
yum -y install ipset
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