Skip to content

Instantly share code, notes, and snippets.

Avatar

Man "Bee" Vo beevo

View GitHub Profile
View gist:b9492f68f21d19093899e92e820538c1
#!/bin/bash
sudo yum update -y
sudo yum remove httpd* php* -y
sudo yum install httpd24 -y
sudo yum install php71 -y
sudo yum install php71-mbstring -y
sudo yum install mysql57-server -y
sudo yum install php71-mysqlnd -y
sudo groupadd www
View Install composer on Amazon AMI running on EC2
$ cd ~
$ sudo curl -sS https://getcomposer.org/installer | sudo php
$ sudo mv composer.phar /usr/local/bin/composer
$ sudo ln -s /usr/local/bin/composer /usr/bin/composer
then you can run
$ sudo composer install