Laravel installation record system environment: ubuntu-14.10-server-i386 (32) LAMP system default installation by: laravel. comdocs5.1 & nbsp; official documentation, ready to install & nbsp; 1. install Composer. & nbsp; Reference: getcomposer. orgdownloa Laravel installation record
System environment: ubuntu-14.10-server-i386 (32) LAMP system default installation
Prepared for installation via Composer according to: http://laravel.com/docs/5.1 official documentation
1. install Composer.
Reference: https://getcomposer.org/download/
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
2. install Laravel
2.1 Download dependent files
omposer global require "laravel/installer=~1.1"
2.2 install Laravel
laravel new site
In this process, we encounter:-bash: laravel: command not found.
Solution:
export PATH="$PATH:~/.composer/vendor/bin"