##############################################
##############################################
$ rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
##############################################
##############################################
$ yum -y install nginx
$ systemctl start nginx
$ systemctl enable nginx
##############################################
##############################################
$ yum -y install mariadb-server
$ systemctl start mariadb
$ systemctl enable mariadb
$ mysqladmin -u root password '123456'
##############################################
##############################################
$ rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
$ yum -y install php72w php72w-fpm php72w-devel
$ yum -y install php72w-pdo php72w-mbstring php72w-xml php72w-ctype php72w-bcmath php72w-gd php72w-mysql
$ systemctl start php-fpm
$ systemctl enable php-fpm
##############################################
##############################################
$ curl -sS https://getcomposer.org/installer | php $ mv composer.phar /usr/local/bin/composer
$ composer config -g repo.packagist composer https://packagist.phpcomposer.com
##############################################
##############################################
$ composer install
$ cp .env.example .env
$ php artisan key:generate
$ php artisan aetherupload:publish
$ MySql> CREATE DATABASE IF NOT EXISTS mog default charset utf8 COLLATE utf8_general_ci;
$ php artisan migrate $ php artisan db:seed
$ chown -R :www /var/www/mog $ chmod -R 775 /var/www/mog/storage
$ php artisan storage:link
$ ln -s /data/ProjectPok/group storage/app/game
$ ln -s /data/salt storage/app/salt
$ php artisan queue:work -daemon
$ cp nginx.conf /etc/nginx/conf.d/mog.conf
$ systemctl restart nginx
$ composer install --optimize-autoloader --no-dev $ php artisan config:cache $ php artisan route:cache
##############################################
############################################## $ composer install $ vagrant up