Naar inhoud springen

Update PBX vanaf CLI (nov2020): verschil tussen versies

Uit 4AllBusiness
4allbusiness (overleg | bijdragen)
Geen bewerkingssamenvatting
4allbusiness (overleg | bijdragen)
Geen bewerkingssamenvatting
Regel 20: Regel 20:
  fwconsole certificate --updateall
  fwconsole certificate --updateall
  fwconsole firewall start
  fwconsole firewall start
  fwconsole notifications --delete certman UPDATEDCERTS && fwconsole notifications --delete certman EXPIRINGCERTS && fwconsole notifications --delete firewall 1
  fwconsole notifications --delete certman UPDATEDCERTS && fwconsole notifications --delete certman EXPIRINGCERTS && fwconsole notifications --delete firewall 1  
  fwconsole restart && fwconsole restart
  fwconsole restart && fwconsole restart
fwconsole firewall start
df -h
  end
  end

Versie van 6 feb 2021 13:57

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 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 notifications --delete firewall 1 
fwconsole restart && fwconsole restart
fwconsole firewall start
df -h
end