-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-server.sh
executable file
·36 lines (29 loc) · 1.68 KB
/
install-server.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
apt-get -y install software-properties-common
add-apt-repository ppa:ondrej/php
apt-get update
apt-get -y --reinstall --allow-unauthenticated install nginx
apt-get -y --reinstall --allow-unauthenticated install php7.4
# Install php7.4-fpm with needed extensions
apt-get -y --reinstall --allow-unauthenticated install php7.4-fpm
apt-get -y --reinstall --allow-unauthenticated install php7.4-cli
apt-get -y --reinstall --allow-unauthenticated install php7.4-common
apt-get -y --reinstall --allow-unauthenticated install php7.4-json
apt-get -y --reinstall --allow-unauthenticated install php7.4-opcache
#apt-get -y --reinstall --allow-unauthenticated install php7.4-mysql
apt-get -y --reinstall --allow-unauthenticated install php7.4-phpdbg
apt-get -y --reinstall --allow-unauthenticated install php7.4-mbstring
#apt-get -y --reinstall --allow-unauthenticated install php7.4-imap
#apt-get -y --reinstall --allow-unauthenticated install php7.4-ldap
#apt-get -y --reinstall --allow-unauthenticated install php7.4-pgsql
#apt-get -y --reinstall --allow-unauthenticated install php7.4-pspell
#apt-get -y --reinstall --allow-unauthenticated install php7.4-recode
#apt-get -y --reinstall --allow-unauthenticated install php7.4-tidy
apt-get -y --reinstall --allow-unauthenticated install php7.4-dev
#apt-get -y --reinstall --allow-unauthenticated install php7.4-intl
apt-get -y --reinstall --allow-unauthenticated install php7.4-gd
apt-get -y --reinstall --allow-unauthenticated install php7.4-curl
apt-get -y --reinstall --allow-unauthenticated install php7.4-zip
apt-get -y --reinstall --allow-unauthenticated install php7.4-xml
#apt-get -y --reinstall --allow-unauthenticated install php-xdebug
./install.sh