cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone install Magento 2.3.3 on Centos 7 with Nginx using composer?

Anyone install Magento 2.3.3 on Centos 7 with Nginx using composer?

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

 

After download magento by using,

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

 

Folder path : var/ww/html/magento

 

I am using centos 7 - Nginx how to run following last 2 commands,

 

find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
chown -R :www-data . # Ubuntu
chmod u+x bin/magento

Finally my installation command,

bin/magento setup:install –base-url=http://127.0.0.1/magento –db-host=localhost –db-name=magento –db-user=root –db-password=P@ssword123 –admin-firstname=mage –admin-lastname=mage --admin-email=mage@gmail.com –admin-user=mage –admin-password=mage@123 –language=en_US –currency=INR –timezone=Asia/Kolkata –use-rewrites=1

 

How to setup magento.conf in etc/nginx/config.d/ magento.conf?

 

my magento.conf :

 

upstream fastcgi_backend {
     server  127.0.0.1:9000;
 }
 server {
     listen 8085;
     server_name 192.168.1.65:8085;
     set $MAGE_ROOT /var/www/html/magento;
     include /var/www/html/magento/nginx.conf.sample;
 }

In url section if i type 192.168.1.65:8085 getting blank page.

 

3 REPLIES 3

Re: Magento 2.3.3 - Centos7 - Nginx - How to setup .conf file?

@Aveeva 

 

Try below tool

https://ampps.com/download

 

or 

 

https://github.com/markshust/docker-magento

 

docker is good for mac.

 

Hope it will help you.

 

If works then mark as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento 2.3.3 - Centos7 - Nginx - How to setup .conf file?

@Sunil Patel  I am using Centos7 & Nginx

Re: Magento 2.3.3 - Centos7 - Nginx - How to setup .conf file?

Please follow the below to resolve this

 

For solution you can follow below links.
First you have to check your system which full-fill magento 2 system requirement.
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
After this you can follow install steps.
https://linuxize.com/post/install-magento-2-on-centos-7/


Let me know if any issues


If my answer is useful, please Accept as Solution & give Kudos