{"id":2606,"date":"2017-05-30T07:42:03","date_gmt":"2017-05-30T07:42:03","guid":{"rendered":"http:\/\/cloudkul.com\/blog\/?p=2606"},"modified":"2018-12-19T13:23:31","modified_gmt":"2018-12-19T13:23:31","slug":"magento2-installation-linux-ubuntu","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/","title":{"rendered":"How to Install Magento2 On Ubuntu"},"content":{"rendered":"<p>Magento is one of the most popular content management system for e-commerce websites. There are also a large numbers of extensions and themes available online for further enhancement as per requirements. Magento has released its new version Magento2 with a variety of improvements and optimizations over the previous version Magento-1. This blog will help you to install Magento2 on Ubuntu and Debian systems. You can also follow my <a href=\"http:\/\/cloudkul.com\/blog\/\" target=\"_blank\" rel=\"noopener noreferrer\">blogs<\/a> for Magento2 installation on <a href=\"http:\/\/cloudkul.com\/blog\/magento-2-1-installation-windows\/\" target=\"_blank\" rel=\"noopener noreferrer\">Windows<\/a> and <a href=\"http:\/\/cloudkul.com\/blog\/magento-2-1-installation-mac-os\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mac OS<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"western\"><span style=\"color: #333333\"><span style=\"font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif\"><span style=\"font-size: x-large\"><b>Prerequisites:<\/b><\/span><\/span><\/span><\/h2>\n<p>&nbsp;<\/p>\n<p><em><b>Operating systems:-<\/b><\/em><b> <\/b>Various Linux (x86-64) distributions can be used such as Ubuntu, RedHat Enterprise Linux (RHEL), CentOS, Debian, etc. Here I will be using Ubuntu LAMP server to install Magento 2.x for this demo.<\/p>\n<p>&nbsp;<\/p>\n<p><em><b>Memory requirement:- <\/b><\/em>Minimum 2GB of RAM is recommended for a smooth functioning and performance of Magento. If less than 2GB of RAM is present, it is recommended to create a swap file.<\/p>\n<p>&nbsp;<\/p>\n<p><em><b>Web servers:-<\/b><\/em><\/p>\n<ul>\n<li>Apache 2.2 or 2.4 : In addition, the Apache mod_rewrite module must be enabled. mod_rewrite enables the server to perform URL rewriting.<\/li>\n<li>nginix 1.8 or later.<\/li>\n<\/ul>\n<p>In my demo, i will be using Apache or 2.4<\/p>\n<p>&nbsp;<\/p>\n<p><em><b>Database:-<\/b><\/em><\/p>\n<ul>\n<li>MySQL 5.6 is compatible with all Magento2 versions.<\/li>\n<li>Magento application version 2.1.2 and later are compatible with MySQL 5.7.<\/li>\n<li>MariaDB and Percona are compatible with Magento.<\/li>\n<\/ul>\n<p>In my demo, i will be using MySQL 5.7<\/p>\n<p>&nbsp;<\/p>\n<p><em><b>PHP:-\u00a0<\/b><\/em>Magento2 supports php versions 7.0.13\u20137.0.x and 7.1.x. We will use here the latest version of php 7.0 for this demo.<b><\/b><\/p>\n<p>&nbsp;<\/p>\n<p><em><b>Required PHP extensions:-<\/b><\/em><\/p>\n<p>bc-math, curl, gd, imagemagick 6.3.7 or later, intl, mbstring, mcrypt, mhash, openssl, pdo\/mysql, mysqli, simplexml, soap, xml, xsl, zip, and json, iconv (for php 7 only).<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>Composer (Optional):- <\/strong><\/em><span class=\"st\"><em>Composer<\/em> is a dependency manager for PHP. <em>Composer<\/em> will manage the dependencies you require on a project by project basis. This means that <em>Composer<\/em> will pull in all the required libraries, dependencies and manage them all in one place.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-size: x-large\"><b>Installation:<\/b><\/span><\/h2>\n<p><span style=\"font-size: large\">\u00a0<\/span><\/p>\n<p>Now that we have the prerequisites installed, let\u2019s get started with Magento 2.x Installation on our Ubuntu LAMP server. To begin first prepare your LAMP Server with required prerequisites.<\/p>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-1 : Install Apache2<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo apt-get update\r\nsudo apt-get -y install apache2<\/pre>\n<p>&nbsp;<\/p>\n<p>Enable apache rewrite and headers module.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo a2enmod rewrite\r\nsudo a2enmod headers\r\nsudo service apache2 restart<\/pre>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-2: Install php7 and its extensions:<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>Install php7 and all the required extensions with their dependencies.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">locale-gen en_US.UTF-8 &amp;&amp; export LANG=en_US.UTF-8\r\nsudo apt-get update\r\nsudo apt-get install -y software-properties-common\r\nsudo apt-get install -y python-software-properties\r\nsudo apt-get install -y language-pack-en-base\r\nsudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej\/php<\/pre>\n<p>&nbsp;<\/p>\n<p>Press enter if prompt for confirmation.<\/p>\n<pre class=\"lang:default decode:true \">sudo apt-get update<\/pre>\n<pre class=\"lang:default decode:true\">sudo apt-get -y install php7.0 libapache2-mod-php7.0 \\\r\nphp7.0-{bcmath,curl,intl,gd,mcrypt,iconv,xsl,mbstring,zip,pdo,xml,json,mysqli,mysql,xmlwriter,xmlreader,soap}<\/pre>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-3: Download MySQL 5.7 Database<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>We will install MySQL 5.7 on our Ubuntu server. Magento uses a MySQL database to manage site data, like product and order information.<\/p>\n<p>Now install the mysql server. Enter the root password when prompt. Finally check the mysql version to verify its installation.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo apt-get install -y mysql-server<\/pre>\n<pre class=\"lang:default decode:true \">mysql -V<\/pre>\n<p>&nbsp;<\/p>\n<p>Now since our LAMP server is ready, we can now verify the settings and further download the Magento2 source code for installation.<\/p>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-4: PHP Settings<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>Magento uses PHP for various complex operations and needs sufficient amount of memory to run the Magento scripts without crash. By default, the memory allocated by PHP for each script is 128 MB which must be increased to 512 MB better performance.<\/p>\n<p>Edit the below file. Find the line \u201cmemory_limit = 128M\u201d and change the value to 512M. Then save and exit.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo vim \/etc\/php\/7.0\/apache2\/php.ini<\/pre>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-5: Prerequisite check:<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>Before you begin, you can quickly check all the prerequisites on your Ubuntu server by running below commands.<\/p>\n<p>Check the version of apache and php:<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">apache2 -v<\/pre>\n<pre class=\"lang:default decode:true\">php -v<\/pre>\n<p>&nbsp;<\/p>\n<p>Check the version of MySQL and verify its connectivity :<\/p>\n<p>mysql\u00a0 -u &lt;DB user&gt; -p<\/p>\n<p>&nbsp;<\/p>\n<p>for example:-<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">mysql -u root -p<\/pre>\n<p>&nbsp;<\/p>\n<p>If database server is on remote host, use the below command.<\/p>\n<p>mysql -h &lt;remote_host_IP&gt;\u00a0 -u &lt;DB user&gt; -p<\/p>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-6: Download Magento2 source code.<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>You can download the latest source code from Magento <a href=\"https:\/\/magento.com\/tech-resources\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">official website<\/a> or from github.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>NOTE:<\/strong> If you download from github, we need to download and use composer for Magento installation. In case you download from official website through your browser, you can directly use the source code as it provides the required dependencies.<\/p>\n<p>&nbsp;<\/p>\n<h4><em><strong>a) Without Composer:<\/strong><\/em><\/h4>\n<p>&nbsp;<\/p>\n<p>Download the latest source code from Magento <a href=\"https:\/\/magento.com\/tech-resources\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">official website<\/a>, i.e.\u00a0https:\/\/magento.com\/tech-resources\/download\/. If you need to install magento2 on a remote server, copy the downloaded source code to the server through scp or rsync, etc.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo mkdir \/var\/www\/magento2\r\nsudo tar xzvf Magento-CE-2.2.6-2017-03-29-01-08-05.tar.gz -C \/var\/www\/magento2\r\nrm Magento-CE-2.2.6-2017-03-29-01-08-05.tar.gz<\/pre>\n<pre class=\"lang:default decode:true\">sudo chown -R www-data:www-data \/var\/www\/<\/pre>\n<p>&nbsp;<\/p>\n<p>The source code downloaded from the official website contains all the required dependencies. So there is no need for composer here.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4><strong><em>b) With Composer:<\/em><\/strong><\/h4>\n<p>&nbsp;<\/p>\n<p>Now let us download and install the latest source code from github. At the time of this blog, the latest version is 2.2.6.<\/p>\n<p>To install magento2 with composer, first create the Access keys of <a href=\"https:\/\/marketplace.magento.com\/\">magento marketplace<\/a>. If you have an account on Magento Marketplace, simply signin and generate the access keys. If you don&#8217;t have an account, create an account by registering yourself on <a href=\"https:\/\/marketplace.magento.com\/\">marketplace.magento.com<\/a><\/p>\n<p>For generating Access keys, login in to <a href=\"https:\/\/marketplace.magento.com\/\">magento marketplace<\/a> and from the top right corner of the page where your user name is displayed, navigate to <strong>My profile &gt; Marketplace &gt; My products &gt; Access Keys<\/strong><\/p>\n<p>Now create a new pair of Access keys. You need to provide the public Key as username and Private Key as password when prompt.<\/p>\n<p>First install composer on the server.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo wget -O \/usr\/local\/bin\/composer http:\/\/getcomposer.org\/composer.phar\r\nsudo chmod +x \/usr\/local\/bin\/composer<\/pre>\n<p>&nbsp;<\/p>\n<p>The syntax for installing magento2 through composer is as follows.<br \/>\n<strong>composer create-project &#8211;repository=https:\/\/repo.magento.com\/ magento\/project-community-edition &lt;install-directory-name&gt;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>You can use the below command for installing magento2 latest version through composer.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">composer create-project --repository=https:\/\/repo.magento.com\/ magento\/project-community-edition magento2<\/pre>\n<p>&nbsp;<\/p>\n<p>For installing a specific version of magento2, mention the magento version at the end of the command as follows.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">composer create-project --repository=https:\/\/repo.magento.com\/ magento\/project-community-edition magento2 v2.2.6<\/pre>\n<p>&nbsp;<\/p>\n<p>During this process, you will be asked to provide the username and password. Provide the generated Access Keys where the public Key is the username and Private Key is the password. Also, you will be asked whether you want to store the credentials in auth.json. You can select &#8220;n&#8221; if you don&#8217;t wish to save your credentials on the server.<\/p>\n<p>Then copy the magento2 files to the Document root of the webserver.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">sudo mv magento2 \/var\/www\/<\/pre>\n<p>&nbsp;<\/p>\n<p>Give the proper web-server permissions.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo chown -R www-data:www-data \/var\/www\/<\/pre>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-7: Configuring Apache<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>Configure the Apache with the below configuration. If you want to run magento on a domain, uncomment and provide the server name as per your requirement in the below configuration. Else you can leave it commented and access it later with IP or localhost.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo vim \/etc\/apache2\/sites-enabled\/000-default.conf<\/pre>\n<pre class=\"lang:default decode:true\">&lt;VirtualHost *:80&gt;\r\n\r\n     #ServerName mymagento2.com\r\n     #ServerAlias www.mymagento2.com\r\n     DocumentRoot \/var\/www\/magento2\r\n\r\n    &lt;Directory \/var\/www\/magento2&gt;\r\n          Options FollowSymLinks MultiViews\r\n          Require all granted\r\n          AllowOverride all\r\n     &lt;\/Directory&gt;\r\n\r\n       ErrorLog \/var\/log\/apache2\/error.log\r\n       CustomLog \/var\/log\/apache2\/access.log combined\r\n\r\n&lt;\/VirtualHost&gt;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>Save and quit the file and restart the apache2 server.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo service apache2 restart<\/pre>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-8: Create a MySQL Database and User<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>Login to your MySQL server and create a user and database for your Magento application. Change the database name, database user and password as per your need.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">mysql -u root -p<\/pre>\n<pre class=\"lang:default decode:true\">&gt; CREATE DATABASE magento2;\r\n&gt; CREATE USER 'magento_user'@'localhost' IDENTIFIED BY 'user_pwd';\r\n&gt; GRANT ALL PRIVILEGES ON magento2.* TO 'magento_user'@'localhost' IDENTIFIED BY 'user_pwd';\r\n&gt; FLUSH PRIVILEGES;\r\n&gt; exit<\/pre>\n<p>&nbsp;<\/p>\n<p>Now create the below database with the relevant information as follows or alternatively you can do it later through the web interface by hitting the Magento url you provided in apache configuration.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">$ sudo php \/var\/www\/magento2\/bin\/magento setup:install \\\r\n--db-host=127.0.0.1 \\\r\n--db-name=magento2 \\\r\n--db-user=magento_user \\\r\n--db-password=user_pwd \\\r\n--admin-email=your_mail_id@xyz.com \\\r\n--admin-firstname=abc \\\r\n--admin-lastname=xyz \\\r\n--admin-password=admin_pwd@123 \\\r\n--admin-user=admin --backend-frontname=admin \\\r\n--base-url=http:\/\/mymagento2.com \\\r\n--base-url-secure=https:\/\/mymagento2.com \\\r\n--currency=EUR --language=en_US \\\r\n--session-save=files \\\r\n--timezone=Europe\/Berlin \\\r\n--use-rewrites=1\r\n<\/pre>\n<pre class=\"lang:default decode:true\">$ sudo chown -R www-data:www-data \/var\/www\/<\/pre>\n<p>&nbsp;<\/p>\n<h3><i><b>Step-9: Accessing Magento2 web interface.<\/b><\/i><\/h3>\n<p>&nbsp;<\/p>\n<p>Make entry in \/etc\/hosts if don&#8217;t have a DNS entry of the domain on your DNS server.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">sudo vim \/etc\/hosts<\/pre>\n<pre class=\"lang:default decode:true \">192.168.x.x mymagento2.com www.mymagento2.com<\/pre>\n<p>&nbsp;<\/p>\n<p>To Access your Magento2, you can enter your URL in browser.<\/p>\n<p>http:\/\/mymagento2.com\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 \u00a0\u00a0\u00a0\u00a0 -&gt; for home page<\/p>\n<p>http:\/\/mymagento2.com\/admin\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -&gt; for admin pannel<\/p>\n<p>&nbsp;<\/p>\n<p>If you have not configured the database through the install command in step-8, you can do the same through the GUI web interface. Just follow the instructions and provide the required database and admin user information and install Magento2.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"transparent\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-02-at-7.57.13-PM.png\" alt=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-02-at-7.57.13-PM.png\" \/><\/p>\n<p><img decoding=\"async\" class=\"transparent\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-02-at-7.56.42-PM.png\" alt=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-02-at-7.56.42-PM.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>So by now, you have successfully installed and configured Magento2 on your Ubuntu LAMP server.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\"><i>In case of any query, please feel free to <a href=\"http:\/\/cloudkul.com\/contact\/\" target=\"_blank\" rel=\"noopener noreferrer\">Contact us<\/a>.<\/i><\/p>\n<p><span style=\"font-size: medium\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento is one of the most popular content management system for e-commerce websites. There are <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[32,2,87,86,20,21],"tags":[24,205],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Magento2 On Ubuntu - Cloudkul<\/title>\n<meta name=\"description\" content=\"Magento2 Installation On Ubuntu ... Magento is one of the most popular content management system for e-commerce websites. There are also a large numbers of extensions and themes available online for further enhancement as per requirements. Magento has released its new version Magento2 with a variety of improvements and optimizations over the previous version Magento-1.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Magento2 On Ubuntu - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Magento2 Installation On Ubuntu ... Magento is one of the most popular content management system for e-commerce websites. There are also a large numbers of extensions and themes available online for further enhancement as per requirements. Magento has released its new version Magento2 with a variety of improvements and optimizations over the previous version Magento-1.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-30T07:42:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-19T13:23:31+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-02-at-7.57.13-PM.png\" \/>\n<meta name=\"author\" content=\"Kamal Verma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/\",\"name\":\"How to Install Magento2 On Ubuntu - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2017-05-30T07:42:03+00:00\",\"dateModified\":\"2018-12-19T13:23:31+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/06c6ea4ff7ba3c7c066fa1ee606bf051\"},\"description\":\"Magento2 Installation On Ubuntu ... Magento is one of the most popular content management system for e-commerce websites. There are also a large numbers of extensions and themes available online for further enhancement as per requirements. Magento has released its new version Magento2 with a variety of improvements and optimizations over the previous version Magento-1.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Magento2 On Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/06c6ea4ff7ba3c7c066fa1ee606bf051\",\"name\":\"Kamal Verma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cc4ebeffa54b7ceb9b2d552926f2f6?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cc4ebeffa54b7ceb9b2d552926f2f6?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Kamal Verma\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/kamaldev-cloudkul308\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Magento2 On Ubuntu - Cloudkul","description":"Magento2 Installation On Ubuntu ... Magento is one of the most popular content management system for e-commerce websites. There are also a large numbers of extensions and themes available online for further enhancement as per requirements. Magento has released its new version Magento2 with a variety of improvements and optimizations over the previous version Magento-1.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Magento2 On Ubuntu - Cloudkul","og_description":"Magento2 Installation On Ubuntu ... Magento is one of the most popular content management system for e-commerce websites. There are also a large numbers of extensions and themes available online for further enhancement as per requirements. Magento has released its new version Magento2 with a variety of improvements and optimizations over the previous version Magento-1.","og_url":"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/","og_site_name":"Cloudkul","article_published_time":"2017-05-30T07:42:03+00:00","article_modified_time":"2018-12-19T13:23:31+00:00","og_image":[{"url":"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-02-at-7.57.13-PM.png"}],"author":"Kamal Verma","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/","url":"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/","name":"How to Install Magento2 On Ubuntu - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2017-05-30T07:42:03+00:00","dateModified":"2018-12-19T13:23:31+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/06c6ea4ff7ba3c7c066fa1ee606bf051"},"description":"Magento2 Installation On Ubuntu ... Magento is one of the most popular content management system for e-commerce websites. There are also a large numbers of extensions and themes available online for further enhancement as per requirements. Magento has released its new version Magento2 with a variety of improvements and optimizations over the previous version Magento-1.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/magento2-installation-linux-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Magento2 On Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/06c6ea4ff7ba3c7c066fa1ee606bf051","name":"Kamal Verma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cc4ebeffa54b7ceb9b2d552926f2f6?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cc4ebeffa54b7ceb9b2d552926f2f6?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Kamal Verma"},"url":"https:\/\/cloudkul.com\/blog\/author\/kamaldev-cloudkul308\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/2606"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=2606"}],"version-history":[{"count":54,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/2606\/revisions"}],"predecessor-version":[{"id":18307,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/2606\/revisions\/18307"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=2606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=2606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=2606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}