`
天梯梦
  • 浏览: 13741443 次
  • 性别: Icon_minigender_2
  • 来自: 洛杉矶
社区版块
存档分类
最新评论

亚马逊云服务安装magneto How To Install Magento On Amazon EC2

 
阅读更多

Magento is an open source content management system for ecommerce based web applications. It is a popular ecommerce open source web application. There is also an enterprise edition for magento. So, the open source can be used for small scale ecommerce websites and you can modify the application based on your necessities. Enterprise edition on the other hand can be used for high end ecommerce site and the application customization preferences are more when likened to the open source version.

You can read a comparision between Joomls CMS and Magento here

 

In this tutorial I will explain how you can set up an open source magento framework on amazon ec2 machine.

 

Ec2 instance Configurations:

1. Launch an Ubuntu instance using the management console. When launching the instance , make sure you open port 80 in the security groups.

Read: How to launch an Ubuntu instance on amazon ec2

 

2. Connect the instance using putty.

Read: How to connect ec2 instance using putty.

 

3. Login as root user.

sudo su

 

4. Update the server

apt-get update

 

Install LAMP stack:

Magneto backend need apache , Php and Mysql database. You can configure all three applications using one command.

 

1. Install and configure Lamp stack.

apt-get install  -y lamp-server^

 

2. Create a root password for mysql and confirm it.

 

3. You can check if apache and mysql service is running using the following commands

service apache2 status
service mysql status

 

4. Magento needs a database on mysql server. You can create a databse on mysql server using command line and phpmyadmin. I prefer phpmyadmin, since you can manage your mysql server from the browser using GUI.

 

5. Install phpmyadmin on Ubuntu instance

apt-get install phpmyadmin

 

You will be prompted to select the webserver. Select apache using the space bar and hit enter. Then you will be prompted to enter the phpmyadmin root password. Give a strong password.

Phpmyadmin has to be integrated with mysql-server. So when prompted select db-conf and enter the mysql root password you created during the LAMP stack installation.

 

6. Once installed, you can access the phpmyadmin dashboard using the public ip, elastic ip or the Public dns of your instance followed by /phpmyadin.

54.154.35.67/phpmyadmin

 

7. Login to phpmyadmin using the credentials you created . The defatult username is root and password is the password you created during phpmyadmin setup.

 

8. Create a database magentoDB for magento application using phpmyadmin.

 

9. Click the database option in the top navigation panel and enter magentodb for the database name and hit enter.1

 
Download Magento
#1. Download magento to the /var/www folder.
wget http://www.magentocommerce.com/downloads/assets/1.8.1.0/magento-1.8.1.0.tar.gz

#2. Untar the file
tar –xvzf mag*

#3. Change the file permissions for the following folders to give magneto write permission on those folders.
chmod -R o+w magento/app/etc/
chmod -R o+w magento/var/
chmod -R o+w magento/media/

#4. Add mcrypt extension to the php.ini file located in /etc/php5/apache2/php.ini
vi  /etc/php5/apache2/php.ini
extension=mcrypt.so

#5. Install php5 curl.
apt-get install php5-curl

#6. Add curl extension to the php.ini file.
vi  /etc/php5/apache2/php.ini
Extension=curl.so
 
Installing Magneto stack:

1. Go to http:// /magento from your browser. Magento installation wizard will appear.

eg : http://54.23.154.34/magento

 

2. Tick the terms and conditions and hit continue. 2

 

3. Select the timezone, locale and currency and hit continue.3

 

4. Enter the MySQL credentials and database name “magnetodb” in the required fied. Enter username and password for mysql . Check all the details and click enter.

 

Note: You can use Amazon RDS for the backend database. If you are using RDS MySQL provide the database endpoint in the host field. And give the username and password for the RDS database server

4

 

5. For admin account, enter your personal information, login information ,encryption key and hit continue.5

 

6. That’s it!! Installation is done!! You can now access the front end and the backend using the options given in the page. Survey is optional.

6
 

7. Frontend and backend access urls.

http://54.156.89.24/magento/index.php/admin 
http://54.186.99.211/magento/index.php/

 

 

原文:http://www.comtechies.com/2014/03/how-to-install-magento-on-amazon-ec2.html

转自:亚马逊云服务安装magneto How To Install Magento On Amazon EC2

 

 

 

 

 

 

分享到:
评论

相关推荐

    magento模块组件或插件开发教程

    Magento是一款强大的开源电子商务平台,以其高度可定制性和灵活性著称。本教程将引导你逐步深入Magento的模块组件或插件开发,让你从基础到高级,全面掌握Magento的开发技巧。 首先,我们从“magento的框架结构”...

    magneto2-survey-review:Magento 2-客户调查或结帐时的评论

    Magento 2的客户调查或审查模块 该模块用于从客户那里进行调查,以了解他们来自您的站点或听到您的站点的位置。 添加了额外的“其他”选项,他们可以在其中编写参考。 安装 转到Magento 2根目录 安装模块: - ...

    magneto问答插件

    总的来说,"magneto问答插件"通过集成问答功能,加强了Magento商店的交互性,帮助商家更好地服务客户,提升销售效率。PWS_ProductQA这个文件可能是插件的主要代码或配置文件,安装和配置该插件后,商家可以充分利用...

    magento中文开发教程

    2. **Magento插件开发**:在Magento中,插件(也称为扩展)用于增强或改变系统功能。学习如何创建、注册和配置插件,包括编写前置/后置操作、重写类和定义插件接口。 3. **模块开发**:掌握创建新模块的步骤,包括...

    Magento2-DisableMoblieMiniCart

    Magento2-DisableMoblieMiniCart描述将移动设备上的客户端重定向到/ checkout / cart页面,而不显示迷你购物车菜单。安装composer config repositories.magento2-disablemoblieminicart git ...enable Ozark/Magento2-...

    I.第一个Magento扩展

    Magento是一款强大的开源电子商务平台,以其高度可定制性和灵活性在电商领域受到广泛的欢迎。"I. 第一个Magento扩展"指的是在Magento系统中开发的第一个自定义模块,这是了解Magento框架和进行二次开发的基础步骤。...

    Aragorn-Job-Manager-Magento2:Aragorn职位经理是Magento 2职位和招聘扩展,可让您在magento商店上创建单独的职位区。 它使您可以添加工作并直接与求职者互动

    Aragorn职位经理-Magneto 2扩展介绍Aragorn职位经理是Magento 2职位和招聘扩展,可让您在magento商店上创建单独的职位区。 它使您可以添加工作并直接与求职者互动。特征根据资格标准创建多个职位管理候选人申请,...

    magento环境

    测试magento环境达标软件,可以坚持自己搭建的服务器是不是适合magneto运行

    magneto 二次开发 架构说明

    magneto 二次开发 架构说明 英文版的详细资料,适合magento的初中级程序员浏览 模块的开发

    magneto1详情页添加产品视频插件

    2. **配置插件**:在安装插件后,登录Magento后台,进入“系统”>“配置”,找到新安装的视频插件设置,按照指示进行配置。这可能包括API密钥(如果需要与YouTube集成)、视频尺寸、播放器样式等。 3. **上传/嵌入...

    Magento-addressAutoComplete:Magneto 结帐地址自动完成

    Magento-addressAutoComplete 是一个专为 Magento 电子商务平台开发的功能模块,其主要目的是优化结账流程中的地址输入体验。这个模块引入了自动完成功能,当用户在结账时填写收货地址时,系统会根据已输入的信息...

    Magento 2 Mp AliExpress Product Importer-crx插件

    Webkul的Magento 2 Multi-Vendor Dropship是一个模块,可为卖家提供多种Dropshipping功能。 从速卖通商店中导入产品,然后将其出售给您的Magento商店。 功能具有导入产品的功能,该扩展程序还允许商家编辑产品详细...

    Dynamic analysis on Magneto-rheological Fluid Damper Coupled with Stay Cable Based on Experimental Results

    基于试验分析的磁流变液阻尼器和斜拉索耦合振动特性研究,刘敏,,本文在斜拉索-磁流变液阻尼器振动控制试验结果分析的基础上,提出了一种由改进的Bouc-Wen模型和Max-well 模型串连组成的动力模型来�

    google-magento-product-feed:这是一个使用 Python 的通用谷歌产品提要,用于 Magento EAV 数据模式

    通用产品的 GOOGLE 产品 Feed 脚本描述 Google 产品提要使用 Magento 数据库中的产品构建...STEP1:启动前删除所有旧的tmp/旧文件(tmp.csv、tmp2.csv...等) STEP2:运行主查询以获取所有活动的简单。 第 3 步:进行

    Tunable magneto-optical polarization device for terahertz waves based on InSb and its plasmonic structure

    The nonreciprocal circular dichroism and Faraday rotation effect for terahertz (THz) waves in ... Furthermore, we demonstrated the InSb plasmonics based on its magneto-optical effects combined with

    magneto

    执行 `npm install` 是安装项目依赖的过程。npm(Node Package Manager)是JavaScript生态中的包管理工具,它会根据项目根目录下的 `package.json` 文件来下载并安装所有必要的依赖包。这些包可能包括运行时库、开发...

Global site tag (gtag.js) - Google Analytics