How Magento Can Operate on Linux's Ubuntu 14.04

4:02 PM , , 0 Comments

In the era of a computer-governed world, there is a growing number of commercial online services. Although most corporations are moving towards pay-per-service philosophy, we can still use free sources for our business and personal purposes. Probably the largest free of charge operating system in the world is Linux. Its open-code structure and ubiquitous presence have made it the most popular system for e-commerce. When it joins forces with Magento, we get a true IT mastodon; now let's learn the basics of installing Magento on Ubuntu 14.04.

Required preconditions

Since Magento is among the most popular ecommerce platforms in the world, there are certain requirements that need to be met before you can start your online ecommerce store. Firstly, you should ensure that there is enough space on your VPS for the data you will be dealing with. So, you should provide the minimum of 2 GB of RAM for your software bits. Secondly, you should install the LAMP crew on your VPS profile. If you need a reminder how to install Linux, Apache, My SQL and PHP on Ubuntu, check this video tutorial. Finally, you will have to create a sudo account, to be able to command the server setup as a non-root user.

PHP and Apache tweaking

In order to ensure that your ecommerce tasks are kept safe in the online environment, every Ubuntu and Magento user has to configure PHP and Apache. When it comes to Apache, it is necessary to organize your virtual host file, to enable Apache to supervise your Magento site in a proper way. To do that, it is necessary to create a new file to manage the virtual host role. Learn more details about setting Apache for Ubuntu and Magento here.
Of course, you also have to configure the amount of memory needed for PHP operations. Every script being executed on Apache is automatically given 128MB of memory by PHP. However, it might not be a sufficient amount of memory for all the scripts run during ecommerce tasks. To change the memory, run the PHP configuration file in Apache: sudo nano /etc/php5/apache2/php.ini. Then find the line that looks like this: memory_limit = 128M. The next step is changing the number to 512 M. It should give your ecommerce platform enough script space for the beginning of your business.

Rounding off the circle

Once the software prerequisites have been sorted out, you can download and install the Magento b2b platform. By following this link, you will get to the latest version. First you should download the necessary file directly to your home directory. Then you have to extract files. When you get a Magento directory inside your home dir, you need to transfer all the unpacked files to the document root in Apache. As you have moved them, you can delete the Magento folder from the home directory. The final step is finishing the installation process through the Magento Interface. 

By starting your ecommerce business through the use of these two systems, you will be safe from intrusions of all kinds. What is more, you can always upgrade or reduce your online store in accordance with your needs. To conclude, this combination of a free-source system and an ecommerce platform with a long tradition is a win-win choice for every new Internet trader.

A LINUX enthusiast and tech passionate guy. Love to watch Anime and play cricket. Got extra bit of care in myself, guess that's what people call selfishness :-P Google+