composer
composer 镜像加速
文档地址:http://packagist.laravel-china.org
加速命令:composer config -g repo.packagist composer https://packagist.laravel-china.org
ubuntu16.04 生产环境配置
文档地址: laravel-china.org/topics/2814/ubuntu-1416-under-the-laravel-lnmp-online-environment-automatically-deploy-scripts
教程执行一遍
出现问题:Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
添加log 文件目录 mkdir /data/log/nginx
执行service nginx restart 。 项目运行效果