优化提示
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install nginx
|
||||
echo "Installing nginx..."
|
||||
# Install Nginx
|
||||
echo "Installing Nginx..."
|
||||
|
||||
echo "[nginx]
|
||||
name=nginx repo
|
||||
@@ -9,8 +9,6 @@ baseurl=http://nginx.org/packages/centos/\$releasever/\$basearch/
|
||||
gpgcheck=0
|
||||
enabled=1" > /etc/yum.repos.d/nginx.repo
|
||||
|
||||
# Install Nginx
|
||||
echo "Installing Nginx..."
|
||||
sudo yum install -y nginx
|
||||
|
||||
# Configure Nginx for PHP
|
||||
|
||||
10
utils/php.sh
10
utils/php.sh
@@ -1,14 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install php
|
||||
echo "Installing php..."
|
||||
|
||||
# Install the Required Repositories
|
||||
echo "Installing the Required Repositories..."
|
||||
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-${CentOS_RHEL_version}.rpm
|
||||
|
||||
# Install PHP
|
||||
echo "Installing PHP..."
|
||||
|
||||
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-${CentOS_RHEL_version}.rpm
|
||||
|
||||
sudo yum install -y --enablerepo=remi,remi-php71 php-gd php-fpm php-cli php-pdo php-xml php-json php-common php-mcrypt php-mysqlnd php-mbstring php-zip php-opcache php-xmlrpc
|
||||
|
||||
# Install Composer
|
||||
|
||||
Reference in New Issue
Block a user