Skip to content

Instantly share code, notes, and snippets.

View CROSP's full-sized avatar

Alexander Molochko CROSP

View GitHub Profile
@CROSP
CROSP / Readme.md
Last active April 6, 2023 15:23 — forked from dreamorosi/Readme.md
Install and configure webserver based on nginx with php 7 and fpm over socket configured.

Install and configure webserver based on nginx with php 7 and fpm over socket configured plus a couple of utils.

While launching a new instance open the section Advanced details in step 3. Configure Instance paste this code that will clone this gist and run the install commands.

#!/bin/bash
yum install git -y
git clone https://gist.github.com/48cc75097b14661574311343f4215444.git /home/ec2-user/install
chmod a+x install/install.sh
bash /home/ec2-user/install/install.sh