Uninstall sample data on M2.4

Can anyone point me the right direaction please:

  1. How do I remove sample data?
  2. Setup varnishcache +apache with magento.


Varnish is a somewhat outdated solution these days. It’s not worth the headache trying to brute-force it to work. This is the opinion of most specialists these days. Therefore, I can’t offer any useful information.

However, removing sample data is super-simple (as per the Official Magento Documentation). Just run the following as the “magento” user in the CLI.

bin/magento sampledata:remove

Just to let you know that I succeed to configure varnish 6, to work with my apache and nginx server. and cached with magento.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.