How to install Apache Solr on CWP servers
Install all required packages:
yum install java lsof mysql-connector-java
Check for latest version here:
http://ftp.carnet.hr/misc/apache/lucene/solr/
Download and Install Solr:
wget http://ftp.carnet.hr/misc/apache/lucene/solr/6.6.1/solr-6.6.1.tgz tar xzf solr-6.6.1.tgz solr-6.6.1/bin/install_solr_service.sh --strip-components=2 ./install_solr_service.sh solr-6.6.1.tgz
Check if the service was properly installed:
service solr status
Available commands:
service solr {start|stop|restart|status}
Web GUI:
http://IP:8983/solr/