System environment: ubuntu-14.10-server-i386(32) LAMP system is installed by default
According to: http://laravel.com/docs/5.1 official documentation, ready to be installed through Composer
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 dependency files
omposer global require "laravel/installer=~1.1"
2.2. Install Laravel
laravel new site
Encountered during this process: -bash: laravel: command not found.
The solution is:
export PATH="$PATH:~/.composer/vendor/bin"