mageno安装

本来来源:http://stackoverflow.com/documentation/magento/812/getting-started-with-magento#t=201612050555393414678

环境要求

Prerequisites and Requirements for Magento Community Edition 1.9
Hosting

1、Apache 2.x ( with mod_rewrite ) or Nginx 1.7.x

2、Due to the demands of processing Magento operations, it is recommended that you install Magento on a server with at least 2 GB of RAM. This will ensure that all of the software involved in managing the store will have enough memory to work.

3、Ability to run scheduled jobs (crontab) with PHP 5.

4、Ability to override options in .htaccess files.

PHP

PHP 5.4, PHP 5.5

Required extensions: PDO_MySQL, simplexml, mcrypt, hash, GD, DOM, iconv, curl, SOAP (for Webservices API)

memory_limit no less than 256 MB (512 MB recommended)

Database

MySQL 5.6 (Oracle, Percona, MariaDB)

SSL

A valid security certificate is required for HTTPS.
Self-signed SSL certificates are not supported

安装

Installation:

Download and Set Up Magento Files

We are using openMage mirror as direct download for 1.9.2.4 branch is disabled and magento website require account. But you are encouraged to download copy from https://www.magentocommerce.com/download

cd /var/www/html
wget https://github.com/OpenMage/magento-mirror/archive/magento-1.9.zip
unzip magento-1.9.zip
rm magento-1.9.zip
rsync -avP magento-mirror-magento-1.9/. .
rm magento-mirror-magento-1.9 -r
sudo chown -R www-data:www-data /var/www/html/
chmod -R 0777 media var

Create a MySQL Database and User

access mysql console

mysql -u root -p

in mysql console

CREATE DATABASE magento;
CREATE USER magento_db_user@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON magento.* TO magento_db_user@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
exit
Complete the installation through the web interface

To access the web interface with your browser, navigate to your server's domain name or public IP address:
http://domain_name/

Then follow on screen instructions

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值