laravel5 安装笔记
1.环境更新
apt-get update
apt-get install php5-cli
apt-get install curl
2. Composer安装
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
3.composer下载laravel包并安装laravel实例
composer global require "laravel/installer=~1.1"
进入到你的网站目录,保证有写入的权限:
laravel new laravel5
也可是使用:
composer create-project laravel/laravel --prefer-dist