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

 

posted @ 2015-08-02 22:26  daiyun  阅读(156)  评论(0编辑  收藏  举报
AmazingCounters.com