{"id":7848,"date":"2021-04-14T06:48:15","date_gmt":"2021-04-14T06:48:15","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=7848"},"modified":"2022-06-02T04:13:07","modified_gmt":"2022-06-02T04:13:07","slug":"magento-2-3-5-install-with-apache2","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2021\/04\/14\/magento-2-3-5-install-with-apache2\/","title":{"rendered":"Magento 2.3.5 Install With Apache2"},"content":{"rendered":"<p>Download the code (with the sample data) at https:\/\/magento.com\/tech-resources\/download#archive-releases<br \/>\nThen extract it on your web directory<\/p>\n<p>Create Apache2 Setting<br \/>\nCREATE A CONF<\/p>\n<pre class=\"lang:default decode:true\">sudo gedit \/etc\/apache2\/sites-available\/magento235.test.conf<\/pre>\n<p>CONTENT<\/p>\n<pre class=\"lang:default decode:true \">&lt;VirtualHost magento235.test:80&gt;\r\n    ServerName magento235.test\r\n\tDocumentRoot \"\/home\/teddy\/Documents\/works\/magento235\"\r\n\tDirectoryIndex index.php\r\n\t&lt;Directory \"\/home\/teddy\/Documents\/works\/magento235\"&gt;\r\n\t    AllowOverride All\r\n\t    Allow from All\r\n\t    Require all granted\r\n\t&lt;\/Directory&gt;\r\n\tErrorLog \/var\/log\/apache2\/magento235.error.log\r\n\tCustomLog \/var\/log\/apache2\/magento235.access.log combined\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>ENABLE THE VIRTUALHOST<\/p>\n<pre class=\"lang:default decode:true\">sudo a2ensite magento235.test.conf<\/pre>\n<p>RELOAD APACHE2<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl reload apache2<\/pre>\n<p>CREATE THE HOST<\/p>\n<pre class=\"lang:default decode:true\">sudo gedit \/etc\/hosts<\/pre>\n<pre class=\"lang:default decode:true\">127.0.0.1 magento235.test<\/pre>\n<p>SET THE FILE PERMISSIONS &amp; RELOAD APACHE2<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy:~\/Documents\/works\/magento235$ sudo su\r\nroot@teddy:\/home\/teddy\/Documents\/works\/magento235# find var vendor pub\/static pub\/media app\/etc -type f -exec chmod g+w {} \\;\r\nroot@teddy:\/home\/teddy\/Documents\/works\/magento235# find var vendor pub\/static pub\/media app\/etc -type d -exec chmod g+ws {} \\;\r\nroot@teddy:\/home\/teddy\/Documents\/works\/magento235# chown -R :www-data .\r\nroot@teddy:\/home\/teddy\/Documents\/works\/magento235# chmod u+x bin\/magento\r\nroot@teddy:\/home\/teddy\/Documents\/works\/magento235# exit\r\nexit<\/pre>\n<p>THEN<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy:~\/Documents\/works\/magento235$ sudo chown www-data -R var\/ pub\/ app\/etc\/ setup\/ generated\/\r\nteddy@teddy:~\/Documents\/works\/magento235$ sudo chmod -R 777 var\/ pub\/ app\/etc\/ setup\/ generated\/<\/pre>\n<p>ENABLE AND START ELASTICSEARCH SERVICE<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy:~$ sudo systemctl enable elasticsearch<\/pre>\n<p>OPEN IT ON YOUR BROWSER: http:\/\/magento235.test\/<br \/>\nFor the first time, It&#8217;d be redirected to http:\/\/magento235.test\/setup\/#\/landing-install<br \/>\nCREATE A DATABASE &#8216;magento235&#8217; WITH utf8mb4_unicode_520_ci<\/p>\n<p>RESULT:<br \/>\nSTORE URL: http:\/\/magento235.test\/<br \/>\nADMIN URL: http:\/\/magento235.test\/admin_pgk0rv<br \/>\nUser: advcha<br \/>\nPass: M@gent0<\/p>\n<p>SUCCESS!<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7854\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235-1024x517.jpg\" alt=\"\" width=\"840\" height=\"424\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235-1024x517.jpg 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235-300x151.jpg 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235-768x387.jpg 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235-1200x605.jpg 1200w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235.jpg 1320w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>The admin page<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235_admin.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7855\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235_admin-1024x509.jpg\" alt=\"\" width=\"840\" height=\"418\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235_admin-1024x509.jpg 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235_admin-300x149.jpg 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235_admin-768x382.jpg 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235_admin-1200x597.jpg 1200w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2021\/04\/magento235_admin.jpg 1351w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the code (with the sample data) at https:\/\/magento.com\/tech-resources\/download#archive-releases Then extract it on your web directory Create Apache2 Setting CREATE A CONF sudo gedit \/etc\/apache2\/sites-available\/magento235.test.conf CONTENT &lt;VirtualHost magento235.test:80&gt; ServerName magento235.test DocumentRoot &#8220;\/home\/teddy\/Documents\/works\/magento235&#8221; DirectoryIndex index.php &lt;Directory &#8220;\/home\/teddy\/Documents\/works\/magento235&#8221;&gt; AllowOverride All Allow from All Require all granted &lt;\/Directory&gt; ErrorLog \/var\/log\/apache2\/magento235.error.log CustomLog \/var\/log\/apache2\/magento235.access.log combined &lt;\/VirtualHost&gt; ENABLE THE VIRTUALHOST sudo &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2021\/04\/14\/magento-2-3-5-install-with-apache2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2.3.5 Install With Apache2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-7848","post","type-post","status-publish","format-standard","hentry","category-magento"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/7848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=7848"}],"version-history":[{"count":6,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/7848\/revisions"}],"predecessor-version":[{"id":7923,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/7848\/revisions\/7923"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=7848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=7848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=7848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}