Skip to content

Instantly share code, notes, and snippets.

@arifulhb
Last active May 21, 2019 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save arifulhb/01dc4fb6a3b8d2b56d2fa4c8bdfcbc67 to your computer and use it in GitHub Desktop.
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
#!/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