sudo yum update
#install nginx sudo yum install nginx -y
#install php 7
# Install linux update, followed by GCC and Make | |
sudo yum -y update | |
sudo yum install -y gcc make | |
# Install Nginx and PHP-FPM | |
sudo yum install -y nginx php-fpm | |
# Install PHP extensions | |
sudo yum install -y php-devel php-mysql php-pdo \ | |
php-pear php-mbstring php-cli php-odbc \ |
## Install NGINX | |
$ sudo yum install nginx -y | |
## Install PHP and PHP-FPM | |
$ sudo yum install php -y | |
$ sudo yum install php-fpm -y | |
## Configure NGINX (see below) | |
$ sudo nano /etc/nginx/conf.d/default.conf |
# Install linux update, followed by GCC and Make | |
sudo yum -y update | |
sudo yum install -y gcc make | |
# Install Nginx and php56-FPM | |
sudo yum install -y nginx php56-fpm | |
# Install php56 extensions | |
sudo yum install -y php56-devel php-mysql php56-pdo php56-pear php56-mbstring php56-cli php56-odbc php56-imap php56-gd php56-xml php56-soap |
#!/bin/sh | |
nodeversion=6.9.4 | |
echo "Downloading Node from NodeJS website" | |
wget https://nodejs.org/download/release/v${nodeversion}/node-v${nodeversion}.tar.gz | |
tar -xvf node-v${nodeversion}.tar.gz | |
yum groupinstall 'Development Tools' -y | |
cd node-v${nodeversion} | |
./configure | |
make && make install | |
echo "Giving Root Access" |