cancel
Showing results for 
Search instead for 
Did you mean: 

Recommented way to install Magento 2.3.3 - Centos 7 - Nginx

Recommented way to install Magento 2.3.3 - Centos 7 - Nginx

There are lot of installation methods available, which one is best and help to upgrade future versions as well as extension.

Centos 7, Nginx

5 REPLIES 5

Re: Recommented way to install Magento 2.3.3 - Centos 7 - Nginx

Hi @Aveeva 

 

installing with composer gives you more control on upgrades, extensions installation, versioning and other benefits.

 

https://devdocs.magento.com/guides/v2.3/install-gde/composer.html

--- Code lover, nature addicted ---

Re: Recommented way to install Magento 2.3.3 - Centos 7 - Nginx

@Salvatore Capritta 

 

After run below commands then what i need to do,

 

$ composer create-project --repository=https://repo.magento.com/ magento/project-community-edition=2.3.4 magento

$ cd magento/

$ bin/magento setup:install

Re: Recommented way to install Magento 2.3.3 - Centos 7 - Nginx

Install by using,

 

https://justpaste.it/3etvr

 

How to login back-end?

Re: Recommented way to install Magento 2.3.3 - Centos 7 - Nginx

@Salvatore Capritta  

 

etc/nginx/conf.d/magento.conf

 

< VirtualHost \*:8085> 
ServerName 127.0.0.1:8085
DocumentRoot /var/www/html/magento/
< Directory /var/www/html/magento/> 
AllowOverride All
allow from all
< /Directory> 
< /VirtualHost> 

Re: Recommented way to install Magento 2.3.3 - Centos 7 - Nginx

Hi @Aveeva 

 

if you'll follow instructions on devdocs you won't fail Smiley Wink 

take your time to understand them before you go on, it will save your time later. 

 

In your case, if you didn't specify an admin uri, then the install scripts generated it. 

 

you can retrieve your admin uri: 

1)  /app/etc/env.php 

look for a line like this.

'backend' => [
'frontName' => 'uriofyouradmin'
],

 2) using the command bin/magento info:adminuri

 

then you'll be able to login append the uri to the main website url.

 

have a great day

--- Code lover, nature addicted ---