install magento on ubuntu

How To Install Magento on Ubuntu

There are a number of blog posts available online which attempt to explain how to Install Magento on Ubuntu for  development. However, having spent the best part of an evening following a vast majority of the sites going through this exercise, I found they were all either incomplete, out of date or just completely inaccurate.

This article will attempt to fill the void and aim to provide a complete guide on how to successfully and completely install magento on a ubuntu desktop in order to carry out some magento development.

Magento on ubuntu will make use of the LAMP stack, which primaritly means Linux, Apache, MySQL and PHP, therefore you will need install Apache mySQL and PHP onto your local machine.

I have previously written a blog post about configuring your ubuntu desktop for LAMP server development ,  Install and Configure a LAMP Server on Ubuntu 12.04 Desktop or alternatively you can install each component separately as detailed below. Making using of the TaskSel is my preferred approach to quickly configure my desktop. However, I have provided below  a step by step guide to setting up your workstation.

To follow along using the tutorial you will need to open a terminal window and enter these following commands

1. Install apache server

Start your apache web server

Open you Apache configuration file using gedit your default text file editor

N.B. I assume you are installing magento onto a vanilla machine and you have not previously configured it as something else.

I usually delete all the contents of the configuration file and just have it as below. I find all the other comments etc too confusing.

Save and exit the file. Restart your apache server

2. Install mySQL

You’ll be prompted for a root password, enter one that you would like to use and remember it.

Start up your mySQL server

Create a database and user for magento

Create a User with name of Magento and a Password of magento

3. Install PHP

install the php xml parser

Increase the memory limit for PHP by altering the PHP configuration file

Change memory limit from


Save the file and close

install the mcrypt

4. Download and install magento
Download magento to your temporary folder

extract the downloaded files and move them to the working folder

set up some permissions

Restart apache web server again

5. Install Magento
We can now actually install magento, this should now be relatively straight forward.
Open your browser and navigate o localhost, and the following screen should be displayed.
Magento installation wizard

Agree to the terms and conditions. In the following screen just enter the details that we created
host = localhost User: magento password magento

Magento Create Admin account screen

LED energy saving bulbs

What are the advantages of LED energy saving light bulbs

You may not have heard of led energy saving light bulbs but you well in no doubt aware that over the past few years the Department of Energy &  Climate change  and the energy savings trust have been urging households to start making use of energy saving light bulbs due to the fact they are good for the environment, cheaper to run and last longer too. LED energy saving light bulbs are a relatively new comer on the energy saving light bulb market and as of yet have generally been overlooked by the government. In this post we’ll provide you with the vital facts as to why LED bulbs  are an optimal solution to improving your home and office lighting energy efficiency

Continue reading


What is a Raspberry Pi?

Over the past 3 years there has been a lot of buzz and chatter on the internet about the Raspberry Pi. However, for the uninitiated the Raspberry Pi, may still mean something that your mother knocks up in the kitchen to eat after your Sunday roast. In this post we’ll provide a brief overview of that the Raspberry Pi is and why all the cool kids are talking about it.

Continue reading

SD, SDHC, SDXC, microSDHC memory cards explained

Over the past decade or so portable data storage technology has dramatically improved. The are a myriad options available, many suited to specific needs or niche requirements.   Making a purchasing decision on for your data storage needs, may at first hand seem a complicated, especially if you are in the market for memory cards.
Continue reading

Which type of SD card should I buy?

Using an SD card (Secure Digital)  is a great way to store data and move data between a myriad of different devices.  For Instance, taken photographs on your digital camera, and then inserting the disc into your laptop to edit the files, then taken the disc directly to your specialised printer to be printed. SD cards are also a great way to increase the amount of storage on your mobile phone.

Continue reading

What is LED Lighting

What is LED Lighting?

Light Emitting Diode (LED) is the latest technology in energy efficient lighting.  A “Light Emitting Diode” are diodes (electronic components that let electricity pass in only one direction) that emit visible light when electricity is applied.  A simpler way of looking at it is LED’s are essentially semiconductors that convert electricity into light.

Continue reading

Energy conservation Ideas

Top 10 energy saving tips for the home

Follow these Top 10 energy saving tips for the home to help save on spiralling energy costs in your home.

  1. Instead of making use of the standby function most devices are shipped with these days, switch off all your appliances at the plug. This can account for 6% of all energy usage in the home, nearly all electrical and electronic appliances can safely be turned off at the plug without upsetting their systems.
  2. Switch your microwave off. The clock may be using more energy over time than is used for cooking.  It will cost far less buying a cheap battery powered wall clock, if you really need to know the time.
  3. If you prefer to leave your desktop or laptop computers on ready for use, ensure that you make use of the Hibernate or standby feature.  Ensuring that you also switch off your peripherals i.e. Printers, Scanners & monitors at the mains.
  4. Make use of your Sleep Timer or Count down timer on your TV sets, to ensure that they switch off when not in use.
  5. Switch off your Electirc blankets at the mains before falling asleep, not only is this for your own personal safety but it ensures
  6. Replace your existing appliances for more energy efficient ones. Most new appliances will have a sticker indicating how they are rated.
  7. Try and ensure that you make use of your Dishwasher and washing machines during low tarrif times, say after midnight.
  8. Always use your washing machine with a full load or follow the manufacturer’s instructions for most economical usage such as the economy program. Modern washing machines and washing powders and liquids are designed to work at lower temperatures.
  9. Only boil half a kettle of water and use an energy saving kettle
  10. Timed heating – don’t leave the heating on unnecessarily at night or when you are out of the house. Set the timing for the heating and water to turn on an hour before you wake or return home and to switch off an hour before you leave the house.

What is the raspberry pi and why should I care?

25th December 1983, is a day I remember well, it was the day that I was first introduced to computing. I unwrapped this big box, that was under the Christmas tree to reveal this miracle of the modern age, the Commodore 64 personal computer! I didn’t realise it then but this Christmas present from Santa Claus would have a profound influence on my life.  My Commodore 64 was the only Christmas present I can remember from that Christmas! Continue reading

Energy conservation Ideas

5 must know tips for successful entrepreneurs

The web is littered with tips for successful entrepreneurs and “overnight” success stories, the kind of story that some guy sitting in garage somewhere came up with the next big idea that propelled him to riches mere mortals can only imagine. Most people only read the high level, journalist view of the story, that all it took for this guy to become 3rd place on the worlds rich list, is that he knock up a web page in HTML, because he had some brainwave in the shower! All it took for that brainwave to become a reality was little bit of keyboard jujitsu.

Continue reading