Browse Source

instalação php8

dev
bruno 10 months ago
parent
commit
d4ddff2c17
  1. 3
      aplicativo-simplesip/app_install.sh
  2. 11
      encrypt_app.sh
  3. 10
      instaladores_simplesip/dependencias_simplesip.txt
  4. 5
      instaladores_simplesip/install.sh

3
aplicativo-simplesip/app_install.sh

@ -466,6 +466,8 @@ function config_sshd_sudo(){
}
function server_postgresql(){
inicia_initdb
@ -575,3 +577,4 @@ arquivo_descriptografar
descompactar

11
encrypt_app.sh

@ -127,14 +127,3 @@ echo "Resultado: OK"
exit 0

10
instaladores_simplesip/dependencias_simplesip.txt

@ -65,4 +65,12 @@ pptp-linux
msmtp
ntp
ntpdate
dnsmasq
dnsmasq
php8.0
php8.0-xml
php8.0-pgsql
php8.0-zip
php8.0-mbstring
php8.0-process
php8.0-gd
php8.0-curl

5
instaladores_simplesip/install.sh

@ -136,6 +136,7 @@ echo "# bullseye-updates, to get updates before a point release is made" >> /etc
echo "# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports" >> /etc/apt/sources.list
echo "deb http://deb.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list
@ -145,7 +146,9 @@ echo "#######################################################"
echo "Instaladno pacotes necessários . . . "
apt update -y
apt install -y aptitude aptitude-common libboost-iostreams1.74.0 libcwidget4 libdpkg-perl libfile-fcntllock-perl \
libsigc++-2.0-0v5 libxapian30
libsigc++-2.0-0v5 libxapian30 lsb-release apt-transport-https ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
aptitude update
aptitude install -y $(cat $path_arquivo/dependencias_simplesip.txt) linux-headers-$(uname -r)

Loading…
Cancel
Save