Install Magento 2.3.5 on Ubuntu 18 04 Nginx LEMP

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello youtube this is aman juman and in this video tutorial i'm gonna show you how to install magento 2.3 on ubuntu 18.04 with engine x so let's get started so first of all uh we deployed a simple server on avs so let's find this ip address so curl dot ifconfig.me so this is the server ip address so let's create this in a as the dns record so let's give it a name imagine two and ip address should be there for now let's uncheck it so that's it in here so we the for the rest of the video tutorial we're gonna follow this script so i'll put this uh script link in my video description so you don't need to ask about these common lines so here we're going to install my adv repo first we're going to add material first then we're going to install it so that in later if you like to upgrade to the latest version like 2.4 you will not have any compatibility issue so this is why actually i added my itv 10.4 and also we're gonna add less encrypt and php so do uh as we are using 2.3 uh that's required 7.2 i guess and also it can run using 7.3 as well so let's get started so first we're gonna add the key for my igv done now we're gonna add the repo so the base my goal is to install magento magento store within uh a short within shortest amount of time so this is why actually i created this uh script as so that we can install it um quickly and don't need to look around so now we're gonna add php so php source so in case if you're not able to put the if you see any error that case you have to install uh software center first then you can add repository command so now we're gonna add cardboard repository so it's done now here we're gonna update and upgrade and we're gonna remove some unnecessary package so updating upgrade is done now we're gonna install gate carl z panzip and ingenix mariadv and the lesson crypt and php so i added all this speech we required all sorry i added all required php extension in here so that should i do everything okay i added one additional white so i'll remove it so here press enter so it's gonna take a minute and it will install so we are almost done here okay so now let's move on the other part so we're gonna install composer so you can install composer or you can just upload the upload that file that you download from marketplace imagine to marketplace so since uh so here in this tutorial i'm gonna download it from github so that's why it's require a composer so i'm gonna download it and install so that should take couple of second so once it is done uh we're gonna we're gonna open uh mysql and uh we're gonna create database another modification there so composer install now let's connect your mysql so since i didn't configure mysql so there is no password so i just enter enter so it's connected to my adv so you should do this to uh you should follow this command first so this actually required or it is it is good if you if you upgrade later to latest version like 2.4 so that's why i just put this command and you can put this command as well if you see any mysql password plug-in issue like if you use mysql820 or that case you can just use these commands but since i'm using mariadb so i'm just ignoring them because they are not interfering any problem right now so let's create a database for my idp and user so by default i gave gave its name that imagine2dv and imagine to user and password is password so let's create this command let's create the database done so exhibit now uh we're gonna do some modification php uh adjustment in php config so now you don't need to open nano or vm and search those file parameters and update update them instead you can just literally copy them and put them in console here i'm gonna set php 7.2 as my default php version because sometimes you will have php 7.4 on ubuntu 18.04 server so later when you put some corn job or other tasks that case it will give some conflict issues so that's why i'm gonna set it as a default php so php is just set as the default now we're gonna restart our php then so now uh it's time to download the imagine two so see the videos by the video view so that's the other console now uh web get and web get the imagine to 2.3.5 and then extract it then remove it i put all three commands in single line so i don't have to copy again in again it will take 10 or 20 seconds to download so it's downloaded and if we check alice you can see imagine two two two dash two dot 3.5 so we're gonna move it to as a domain name so that it will be a man easy to manage so as you can see here you see that your domain.tld so i'm gonna replace all of this name according to my domain name so i copy whole script in an app notepad and replace all the name now let's try this so enter imagine two dot hamanjuman dot me and compose so it will take one or two minutes to compose all this file so we're gonna give you a pause and we'll back when it is done so as you guys can see uh his composer is uh installed and it's uh done building packages and now uh we're gonna move to permission configuration so here you can see the permission so i still have to modify she still have to rename the folder name so that's gonna rename so cd so let's clear first so i'm already in this part now we're gonna change copy all these commands so permission is set now we're gonna issue less encryption system so here i just put my domain name so if you use just example.com then you have to use another parameter like for ww record like space minus d and then other record like www so since i'm using only one url like one subdomain so that's enough press enter so it's going to deploy the ssl in default configuration x configuration so i have to you uh so sorry so first of all you have to remember the location so i just remember i just copied the location and now i'm gonna rename the default ingenix config otherwise it will conflict with my custom configuration so here you can see it's added couple of new parameters in here so we're gonna remove this so we're gonna test ministry sorry yes now we're gonna follow the the nginx configuration so i'm gonna create a configure file on engineering and follow this uh follow this configuration script so as as i said earlier you have to rename your domain name first so let's create the configuration file i'm gonna create configuration file in nginx conf directory folder then i'm gonna just simply copy paste everything so if you have if your certificate path is uh different other than lesson trip then you have to modify this uh these files like if you use custom ssl or third-party access from namecheap or godaddy or somewhere else then you have to adjust the configuration from here so press ctrl x y and save now i'm gonna restart ingenix so english history done so i'm gonna export path uh on export magento part so that it will be easier for me to manage uh some other comments from any folder directory so exporting now let's go to the directory folders which i already am now you can uh we're gonna do some uh corn job in here so just put all these corn commands okay it will the crown commands will not work right now i'm trying to put all four commands in here so it will not work because i haven't configured the magento right now so let's visit the magento website that i created so it's showing blank so that's because of uh php cgi issue so let's check this this this one so we're gonna size this parameter nano htc php 7.2 fpm dot ini hit ctrl w and search path info so it's set to zero so we're gonna set it to one then service php 7.2 fpm restart so let's refresh again see it's working so i'm gonna modify the screen so that you guys don't need to edit the config again so angry and set up magento readiness check so everything is working fine let's move on next step um database localhost okay if you use ids then you have to put your rds url or somewhere something else then the server username so for me is imagine to user i guess i set it user yes it's imagine two user let's copy it from my screen so password is password database name is imagine2dv and server is localhost press next so since i'm using https so i'm gonna select https for both case and i'm not using apache server rewrite so i'm gonna uncheck this and here i'm gonna modify to https and i'm gonna remove this here so that i can easily manage my magento so press next customize store so i'm gonna leave it default because i'm not gonna use it so press next username so just give it the middle name add me give it to them press next install so it's gonna take 30 to 40 seconds to install depend up in on your server resource so i'm gonna give it a pause once it is done i'll unpause the video so installation is done now let's go to the admin so now it will use a name so it will uh show us some error that some index uh corn missing or some other flash or cash issues so we're gonna put uh some put all these commands so that this issue will be gone so let's copy last four command okay so i have to copy from my notepad since i changed the path so this one so this is reindex this is clear cache and [Music] some other optional cache call con con jobs so let's check the con tab so as you can see the contents are configured now let's refresh the imagine to web page and we will see this warning will be gone see the issue is gone now so this is all about a this is all about configuring a magento 3.4 server so a 2.3 server so if you guys have any question uh please let me know and uh yes it's been uh it's been long that i'm making this video so i might have some mistakes so in case if you guys find one please let me know so i'll try my best to uh develop myself thank you
Info
Channel: Techies365
Views: 824
Rating: undefined out of 5
Keywords: Tutorial, Magento, Magento 2.3.5, Ubuntu 18.04, Nginx, LEMP, PHP7.2, PHP, Linux, AWS, Cloud, GitHub
Id: AIm2I4cufIQ
Channel Id: undefined
Length: 18min 2sec (1082 seconds)
Published: Wed Sep 02 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.