Magento 2.0 安装

环境:

直接升到最新版PHP5.6.x 

刚才开MAC OS PHP 5.5  CENTOS PHP 5.5  composer install  依懒包错误。反复安装组件。还是不行。后来决定重新编释最新版 PHP5.6  在php 扩张地方通过了。

先安两个依懒包 

$yum install libicu-devel -y
$yum install libxslt-devel -y

 

./configure  '--prefix=/alidata/server/php' '--enable-opcache' '--with-config-file-path=/alidata/server/php/etc' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--enable-fpm' '--enable-static' '--enable-inline-optimization' '--enable-sockets' '--enable-wddx' '--enable-zip' '--enable-calendar' '--enable-bcmath' '--enable-soap' '--with-zlib' '--with-iconv=/usr/local' '--with-gd' '--with-xmlrpc' '--enable-mbstring' '--with-curl' '--enable-ftp' '--with-mcrypt' '--with-freetype-dir=/usr/local/freetype.2.1.10' '--with-jpeg-dir=/usr/local/jpeg.6' '--with-png-dir=/usr/local/libpng.1.2.50' '--disable-ipv6' '--disable-debug' '--with-openssl' '--disable-maintainer-zts' '--disable-fileinfo' '--enable-intl' '--enable-cgi' '--with-xsl'

 MAC OS 直接用brew 安装php56

需要的PHP扩展  http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html

下载

https://www.magentocommerce.com/download?_ga=1.216763542.1009193077.1463466517

选择有测试数据的包

 

安装 composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

 

进入官网 注册用户

https://www.magentocommerce.com/magento-connect/customerdata/accessKeys/list/

生成 钥匙 
(教程http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html)
后面要求输用户与密码时  公钥是用户名,私钥是密码

进入程序目录

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition

 

composer install

 

转载于:https://www.cnblogs.com/linuxOS/p/5508918.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值