How do I install SearchBlox on Linux? Support Team August 04, 2020 10:50 Updated Installing in CENTOS/RHEL https://searchblox.zendesk.com/hc/en-us/articles/205704129 Installing in Ubuntu https://searchblox.zendesk.com/hc/en-us/articles/205704109 Installing in Amazon Linux https://searchblox.zendesk.com/hc/en-us/articles/360047654113 Related articles How do I set up a 3-server SearchBlox Cluster (1 index server + 2 search servers)? How to reset admin password? Comments 1 comment Sort by Date Votes Juraj April 01, 2017 20:11 Edited Hi there, The "installsearchblox.sh" script should also fix file permissions after it installs files into "/opt/searchblox" folder. All the files and directories in that folder have permissions set to 777. It's a security disaster in waiting. You could do so, for example, by running the following: find /opt/searchblox -print0 | xargs -0 chmod o-wfind /opt/searchblox -print0 | xargs -0 chmod g-wfind /opt/searchblox -type f -not -path '*/bin/*' -print0 | xargs -0 chmod a-xchmod 755 /opt/searchblox/startSearchBlox Also, the "/opt/searchblox/startSearchBlox" with CTRL-C part could be scripted as well. The "installsearchblox.sh" script could call the following command shortly before it calls "service searchblox start": timeout --signal=SIGKILL 30s /opt/searchblox/startSearchBlox 2>/dev/null That will start "/opt/searchblox/startSearchBlox", let it run for 30 seconds (you can increase that if you like), and then kills it. This would allow a lot of automation, especially for people deploying SearchBlox via Puppet, Ansible, or other automation tools. Just a couple of thoughts. Cheers. 0 Please sign in to leave a comment.