-
Notifications
You must be signed in to change notification settings - Fork 1
/
webserver-install.sh
6 lines (6 loc) · 984 Bytes
/
webserver-install.sh
1
2
3
4
5
6
#!/bin/bash
clear
sudo apt-get update; sudo apt-get install software-properties-common python-software-properties build-essential zip unzip apache2 php libapache2-mod-php php-mcrypt php-mysql mysql-server -y; sudo apt-get install php libapache2-mod-php7.0 php-all-dev php7.0 php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-gd php7.0-gmp php7.0-json php7.0-ldap php7.0-mysql php7.0-odbc php7.0-opcache php7.0-pgsql php7.0-pspell php7.0-readline php7.0-recode php7.0-snmp php7.0-sqlite3 php7.0-tidy php7.0-xml php7.0-xmlrpc libphp7.0-embed php7.0-bcmath php7.0-bz2 php7.0-enchant php7.0-fpm php7.0-imap php7.0-interbase php7.0-intl php7.0-mbstring php7.0-mcrypt php7.0-phpdbg php7.0-soap php7.0-sybase php7.0-xsl php7.0-zip php7.0-dba -y; sudo apt-get update
sudo apt-get install software-properties-common python-software-properties build-essential -y
sudo add-apt-repository ppa:certbot/certbot -y
sudo apt-get update && sudo apt-get install python-certbot-apache -y