java -version sinon, sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk sudo tar xzf solr-6.6.6.tgz solr-6.6.6/bin/install_solr_service.sh --strip-components=2 sudo bash ./install_solr_service.sh solr-6.6.6.tgz # Make sure to replace the /opt/solr/ path with where you have placed Solr cd /opt/solr sudo mkdir -p server/ez/template sudo cp -R /var/www/project/vendor/ezsystems/ezplatform-solr-search-engine/lib/Resources/config/solr/* server/ez/template sudo cp server/solr/configsets/basic_configs/conf/{currency.xml,solrconfig.xml,stopwords.txt,synonyms.txt,elevate.xml} server/ez/template sudo cp server/solr/solr.xml server/ez # Modify solrconfig.xml to remove the section that doesn't agree with your schema sudo sed -i.bak '//,/<\/updateRequestProcessorChain>/d' server/ez/template/solrconfig.xml (no root at this point) # Start Solr (but apply autocommit settings below first if you need to) sudo service solr stop sudo mkdir /opt/solr/server/logs sudo chmod -R 777 /opt/solr/server/logs sudo chmod -R 777 /opt/solr/server/ez sudo chown -R solr:solr /opt/solr-6.6.6 cd /opt/solr bin/solr -s ez bin/solr create_core -c collection1 -d server/ez/template kill the process sudo service solr start sudo php composer.phar require --no-update ezsystems/ezplatform-solr-search-engine:~2.0 sudo php composer.phar update change app/config/parameters.yml update collection1 cd /var/www/project && php bin/console --env=prod ezplatform:reindex > /var/www/project/var/logs/cron_reindex.log sudo sh clear_cache.sh vi /opt/solr/server/ez/template/solrconfig.xml ${solr.autoCommit.maxTime:15000} false ${solr.autoSoftCommit.maxTime:20}