centos (Laravel)
Discussion
Closed
yum -y update
yum install -y vim
yum install -y epel-release
yum install -y fish
yum install -y httpd
yum install -y wget
yum install -y unzip #unzip
yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm -y
yum-config-manager --disable mysql80-community
yum-config-manager --enable mysql57-community
yum install -y mysql-community-server
systemctl start httpd mysqld
systemctl enable httpd mysqld
yum -y update
yum remove -y php*
yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y install --enablerepo=remi,remi-php72 php php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt php-zip php-mysql
yum install composer
# Composerコマンドツールダウンロード
$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
$ composer --version
composer global require "laravel/installer=~1.1"
cd laravel
php artisan serve
0