

Install the rpm package sudo rpm -ivh Ĭhange permission for the following folders sudo chown -R searchblox:searchblox /opt/searchblox sudo chmod -R 755 /opt/searchblox/bin sudo chmod -R 755 /opt/searchblox/elasticsearch/bin sudo chmod -R 755 /opt/searchblox/analytics sudo chmod -R 755 /opt/searchblox/logs sudo chmod -R 755 /opt/searchblox/elasticsearch/logs sudo chmod -R 755 /opt/searchblox/connectors SearchBlox has to be installed in /opt folder, so change directory to /opt cd /optĭownload SearchBlox rpm package sudo wget Please login as root using sudo su if you are not the root user.Ĭreate a SearchBlox user sudo adduser searchblox sudo passwd searchblox To find out how many files are currently open: lsof | wc -l To find out how many file descriptors are currently being used: more /proc/sys/fs/file-nr

To check the current open file descriptor limit: more /proc/sys/fs/file-max Test the settings using the following command: ulimit -a To change the ulimit setting, edit the file /etc/security/nf and set the hard and soft limits: * soft nofile 100000 * hard nofile 100000Īfter this value is changed please reboot the server. To change the file descriptor setting, edit the file /etc/nf. Increase ulimit value and test system settings Set map count within /etc/nf file by adding the following line: Verify the installation by running the following command: java -version Install wget by running the following command: yum install wget Install OpenJDK 11 by running the following command: sudo yum install java-11-amazon-corretto Recommended EC2 instance type is i3.xlarge.
