Enable Dark Mode!
By: Avinash

Magento Installation on Ubuntu14.04


Magento is an open source e-Commerce merchant software that you can use to build an online store of your own. It was founded by eBay, and it is available in Enterprise and Community Editions.
Magento will require a Linux Distro with a minimum of 4 GB of RAM, a 500 GB hard drive, 1 Eth0 and an Internet connection.
Database: Mysql 5.6
Web Server: Apache/Nginx
PHP: 5.6 or above
Install apache
apt-get install apache2
To start Apache web server, run the commands below
sudo service apache2 start
Next, open the Apache default site configuration file in Ubuntu, then add the directory block below if it isn’t already there.
If it’s there, then make sure it matches the block below highlighted in red:
sudo vi /etc/apache2/sites-available/000-default.conf

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

Install mysql-server with mysql-client
sudo apt-get install mysql-server
sudo apt-get install mysql-client
While installing the MySQL database, you’ll be prompted to create a root password for the database. Create it and remember it.
To start the database server, run the commands below
sudo service mysql start
After installing the database server, you should go and create a database and its user for Magento. To do that, run the commands below to logon to the database server.
mysql -u root -p
Then run the SQL statement below to create a database called magento
Next, create the database user called magentouser with password;
CREATE USER magentouser@localhost IDENTIFIED BY 'user_password';
Finally, grant all privileges to magentouser for the Magento database.
GRANT ALL ON magento.* TO magentouser@localhost;
Install PHP7 and other modules by running the commands below
sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-gd php7.0-mysql php7.0-tidy php7.0-xmlrpc php7.0-curl php7.0-common php7.0-cli php7.0-ldap php7.0-xml
After installing PHP 7, go ahead and increase its memory limit from 128MB to 512MB.
To do that, run the commands below to open the configuration file.
sudo vi /etc/php/7/apache2/php.ini
Change the line below
memory_limit = 128M
Change to: memory_limit = 512M
add :
Save the file.
From: https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/overview.html
then extract the file and copy all the contents to  :  /var/www/html/
sudo cp -rf magento/* /var/www/html/  (example)
Then change the ownership of the folder to Apache.
sudo chown -R www-data:www-data /var/www/html/
Change the permissions of the files by running the commands below.
sudo chmod -R 755 /var/www/html/
Restart Apache and try connecting to the server.
sudo service apache2 restart
If everything was correctly followed, you should get the default Magento setup page as shown below.



If you need any assistance in odoo, we are online, please chat with us.


Leave a comment




Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635



Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.



Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message