Neverless, wanted to get elastic search on a server with low memory for testing purposes. Java stupid idiots don't seem to understand that things should work well with low amounts of resources. Idiots.
Anyways,
https://gist.github.com/dominicsayers/8319752
and I set
-Xms50m
-Xmx50m
in jvm.options file.
from http://devdocs.magento.com/guides/v2.1/config-guide/elasticsearch/es-overview.html#install-prereq-java-ubuntu
to install oracle java -- yuck.
add-apt-repository -y ppa:webupd8team/java
apt-get -y update
apt-get install -y oracle-java8-installer
https://vexxhost.com/resources/tutorials/how-to-install-elasticsearch-on-ubuntu-14-04/
It took a little bit to manage the memory for it, but I got it started. I don't think I want to use it because I don't want a hadoop cluster. yuck.
http://stackoverflow.com/questions/36152152/elasticsearch-how-to-integrate-with-mysql
https://www.cloudways.com/blog/setup-elasticsearch-with-mysql/
https://www.quora.com/How-do-I-use-MySQL-with-Elasticsearch
https://bitquabit.com/post/having-fun-python-and-elasticsearch-part-1/
https://www.unixmen.com/install-elasticsearch-ubuntu-14-04/
apt-get install python-pip
http://stackoverflow.com/questions/36152152/elasticsearch-how-to-integrate-with-mysql
https://www.cloudways.com/blog/setup-elasticsearch-with-mysql/
https://www.quora.com/How-do-I-use-MySQL-with-Elasticsearch
https://bitquabit.com/post/having-fun-python-and-elasticsearch-part-1/
https://www.unixmen.com/install-elasticsearch-ubuntu-14-04/
apt-get install python-pip
pip install elasticsearch
http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html
#------------------------------------------------------------------------------------
into apache spark, I hope I can avoid elastic search
https://www.linkedin.com/pulse/getting-started-apache-spark-ubuntu-1404-myles-harrison
had to set in /etc/hosts the loopback to the hostname, since aws doesn't include the hostname in /etc/hosts, stupid.
spark looks promising:
https://www.percona.com/blog/2016/08/17/apache-spark-makes-slow-mysql-queries-10x-faster/
obviously I will use the python interface
into apache spark, I hope I can avoid elastic search
https://www.linkedin.com/pulse/getting-started-apache-spark-ubuntu-1404-myles-harrison
had to set in /etc/hosts the loopback to the hostname, since aws doesn't include the hostname in /etc/hosts, stupid.
spark looks promising:
https://www.percona.com/blog/2016/08/17/apache-spark-makes-slow-mysql-queries-10x-faster/
obviously I will use the python interface
No comments:
Post a Comment