git clone [email protected]:mcparlandjcgi/knox_solr_search_ui.gitcd knox_solr_search_ui
sudo apt-get install npmsudo npm install bower -gsudo apt-get install mvn
bower install bootstrap angular-route --save
mvn clean package install
chmod u+x *.shsudo mkdir -p /usr/knox_solr_search_ui/logssudo chmod -R 775 /usr/knox_solr_search_ui./install.sh- Get Round the SSL problem with self-signed certificates if necessary
sudo <<editor>> /usr/knox_solr_search_ui/override.properties- Modify
config.ipaddressto be the IP address/server name of the server running Knox. - Modify
config.passwordto be theguestusers password for Knox.- You can modify
config.usernametoo if theguestuser is not correct.
- You can modify
cd /usr/knox_solr_search_uisudo ./run.sh &
- Browse the server using Firefox
- Right click -> View Page Information
- Choose security
- View Certificate
- Details
- Export it!
- Save it
This instruction presumes that your Java installation is at /usr/lib/jvm/java-8-oracle - change the path below if not.
sudo keytool -importcert -file ${HOME}/hdp24sandbox.crt -alias hdp24sandbox -keystore /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts- Default password is
changeit
- Default password is