Re: Magento2 help required after magento2 installation. Ubuntu 21.10 in virtual machine. Community E

@salesfbits8235 

Follow the below steps

1) Refer to the below link:
https://meetanshi.com/blog/install-magento-2-4-2-on-localhost-using-xampp/

 

2) Now check your .htaccess file or index.php file in the root

 

3) Pass the below command one by one:

sudo a2enmod rewrite 
sudo service apache2 restart

4) Add the below code on /etc/apache2/apache2.conf

<Directory [your path]>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>


5) Apply cache using the below commands

rm -rf var/cache/*
rm -rf var/generation/*

Also do not forget to clean your varnish cache.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post