Nginx 安装配置magento 1.8.0.0

3 篇文章 0 订阅
1 篇文章 0 订阅

1.  下载Magento 

       http://www.magentochina.org/download   Magento-1.8.0.0正式版下载


2.  解压缩magento-1.8.0.0.tar.gz

     cd /var/www

     tar xvf magento-1.8.0.0.tar.gz

     cd magento

     chmod -R o+w media var

chmod o+w app/etc


Optionally delete the download file and empty directory from the extracted files:


  
  
  1. rm -rf magento-1.8.0.0.tar.gz


3. Install Nginx, PHP5, SSL and MySQL.


  
  
  1. sudo apt-get install nginx php5 php5-cli php5-cgi spawn-fcgi php5-mysql php5-mcrypt php5-curl php5-gd php5-fpm openssl mysql-server

Choose and enter a secure password for MySQL when prompted and enter again to confirm. This is called mypassword in the following steps but replace that with the password you have chosen here.

4. Install php-apc. APC is an opcode cache that can significantly speed up your PHP applications, by caching both PHP code and user variables.


  
  
  1. sudo apt-get install php-apc

5. Create the MySQL Database


  
  
  1. mysql -u root -pmypassword
  2. create database mymagentoshop;
  3. grant all privileges on mydatabasename.* to mydatabasename@localhost identified by 'mypassword';
  4. exit

6. Configure Nginx


  
  
  1. nano /etc/nginx/sites-enabled/default
  2. listen 80; ## listen for ipv4; this line is default and implied
  3. #listen [::]:80 default ipv6only=on; ## listen for ipv6

Uncomment listen links above by removing the preceding #
ctrl + x to exit and save

7.  Nginx setup

 




ERROR FIX:

PHP extension "gd" must be loaded.

RESOLVE:

add the following two lines to the end of /etc/php5/fpm/php.ini 

extension=mysql.so
extension=gd.so

restart php

sudo /etc/init.d/php5-fpm restart




    • URL “http://localhost/” 无法访问。
    • Error parsing body - doesn't seem to be a chunked message

    RESOLVE:

  •  Check

    如果不能自动验证基本URL,就选中该选项。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Magento(麦进斗)中文版本是360Magento团队基于Magento的电商平台系统,针对国内市场,对 Magento进行了改进和调整,包括中文汉化,帐户管理,地址格式本土化,对结账流程的支持,对国内常用支付接口的支持,对物流配送的支持等,让用户使 用起来得心应手。360Magento成立以来旨在打造功能强大,高度灵活的企业级电子商务平台,让中小企业用国际顶级的电商系统magento将自己的 产品更好的销往全球不再是问题。 Magento中文版介绍: • 基于magento-1.8.0.0-alpha1版本进行汉化,可称作magento1.8.0.0中文版 • 全站页面文字为中文,包括安装步骤及前后台 • 优化产品管理器,自动优化产品url为汉子拼音 • 合并姓氏名字为姓名,包括注册,用户中心管理,后台用户管理等等 • 合并送货地址与账单地址为一个地址 • 符合国内习惯的结账流程:优化了One Page Checkout,使之符合国内的使用习惯 • 增加省市区(县)三级地址联动选择 • 增加国内支付方式:支付宝,网银支付,消费卡,快捷支付,网点支付,财富通等 • 删除税额计算 • 增加订单留言功能 • 国内发票功能:支持国内的发票选项,包括增值税发票 • 增加国内快递运输方式 magento中文版安全性及实用性: magento中文版基于magento1.8.0.0汉化,完全基于magento1.8.0.0内核,标准开发,安装之后不用担心系统内核升级 问题。所以具有与magento1.8.0.0社区版同等安全机制。适用于中小企业自己搭建一个简单的B2C电商系统,也可在此基础上进行二次开发。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值