Skip to content

Instantly share code, notes, and snippets.

@arifulhb
Last active May 21, 2019 08:26
Embed
What would you like to do?
Nginx and PHP-7.2 insall in AWS EC2 Ubuntu 18.04 instance via User Data
#!/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