Knowband Blog | Ecommerce Modules

How to Install Magento In Ubuntu?

Magento is one of the most popular Content Management System(CMS) for an E-commerce website. It is one of the most flexible E-commerce platforms. Magento uses MySQL as its database, PHP as the programming language and elements of zend framework. It has two Editions one is a Paid edition and other is an Unpaid edition:

The tutorial runs you through the ways to install Magento on Ubuntu. Read on to know:

Prerequisites for installing Magento

Before we begin, there are few steps that are needed to be completed in order to install magento. These steps include :

Getting Started

/var/www/html

Creating Database using PHPMyAdmin

For creating a database follow the steps provided below :

localhost/phpmyadmin/

Importing sample database on Your database

After successfully creating the database, you have to import the sample database on your database. Now for that you have to follow the below mentioned steps:

Triggering magento setup file

Now all you have to do is to trigger the magento setup file. Consider the following steps for the same.

Localhost/magento or

localhost/magento/index.php/install

License Agreement

Localization

Configuration

sudo chown -R www-data /file path

Eg: sudo chown -R www-data /var/www/html/magento/app/etc

sudo apt-get install php5-mcrypt

sudo php5 enmod mcrypt

sudo service apache2 restart

sudo apt-get install curl libcurl3 php5-curl

sudo service apache2 restart

sudo apt-get install php5-gd

sudo service apache2 restart

Database Connection Page

Create Admin Account

After Completing all the processes under configuration, you will be directed to create admin account, where you have to :

You are all set

This is the last step in the installation process of magento. Here you will be provided with an encryption key which you have to save, as magento uses it to encrypt passwords, credit cards etc.

Front-End And Back-End

When You visit your Front-End, you will notice that there are no logos, banners and images for any product or brand. Therefore for that you have to make some changes from the Back-End to make sure that everything works well before you can work on magento.

Necessary changes

sudo chown -R www-data/var/www/html/magento/media/

/var/www/html/magento

/var/www/html/magento/app/code/core/Mage/Core/Model/Session/

Abstract

You Might Also Like: