Last active
May 21, 2019 08:26
-
-
Save arifulhb/01dc4fb6a3b8d2b56d2fa4c8bdfcbc67 to your computer and use it in GitHub Desktop.
Nginx and PHP-7.2 insall in AWS EC2 Ubuntu 18.04 instance via User Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install nginx -y | |
sudo apt-get install memcached -y | |
sudo apt install php7.2 php7.2-fpm php7.2-mysql php-common php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline php7.2-mbstring php7.2-xml php7.2-gd php7.2-curl php-redis php-apcu php-memcached php-memcache -y | |
sudo apt-get install mysql-client -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment