Some Important Command Releted to Magento Server - Magento Source24

 

Some Important Command Releted to Magento Server

Some Important Command Releted to Magento Server : 

Hello Magento Friends todays i'm share with you to Some Important Command Releted to Magento Server

Bellow are command to vary imporatnt please run very carefully : 


Some Important Command Releted to Magento Server


1) To Give Permission in folder in Server : 


chmod -R 777 pub/media && chmod -R 777 pub/static && chmod -R 777 generated && chmod -R 777 var/cache/


Some Important Command Releted to Magento Server


2) To Remove folder in Server : 


rm -rf var/cache/* && rm -rf var/page_cache/* && rm -rf var/view_preprocessed/* && rm -rf pub/static/frontend/* && rm -rf generated/code && rm -rf generated/metadata 

 

Some Important Command Releted to Magento Server


3) After then Run Bellow Coammnd : 


bin/magento s:d:c && bin/magento s:s:d -f && sudo chmod 777 -R var/* pub/static/*

 

Some Important Command Releted to Magento Server


4) To mysql, php,nginx in Server : 


sudo systemctl restart mysql && sudo systemctl restart php7.4-fpm && sudo systemctl restart nginx


systemctl restart mysql && systemctl restart php8.1-fpm && systemctl restart nginx





Deepak Kumar Bind

Success is peace of mind, which is a direct result of self-satisfaction in knowing you made the effort to become the best of which you are capable.

Post a Comment

If you liked this post please do not forget to leave a comment. Thanks

Previous Post Next Post