首页 > 学院 > 开发设计 > 正文

Laravel安装记录

2019-11-14 14:48:12
字体:
来源:转载
供稿:网友

系统环境:Ubuntu-14.10-server-i386(32) LAMP 系统默认安装

根据:http://laravel.com/docs/5.1  官方文档,准备通过 Composer 安装

 

1、安装 Composer .

   参考:https://getcomposer.org/download/

   

curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

  

2、安装Laravel

 

  2.1、下载依赖文件

omposer global require "laravel/installer=~1.1"

 

  2.2、安装Laravel

laravel new site

  在这个过程中遇到:-bash: laravel: command not found。

  解决方法是:

export PATH="$PATH:~/.composer/vendor/bin"

  

 


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表