wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz tar xvf elasticsearch-0.20.2.tar.gz
mv elasticsearch-0.20.2 elasticsearch wget http://github.com/elasticsearch/elasticsearch-servicewrapper/archive/master.zip unzip master mv elasticsearch-servicewrapper-master/service/ elasticsearch/bin rm -rf master rm -rf elasticsearch-servicewrapper-master/ Configure ‘elasticsearch.conf’ set.default.ES_HOME=/usr/local/elasticsearch set.default.ES_HEAP_SIZE=4096 wrapper.java.additional.10=-Des.max-open-files=true wrapper.logfile.maxsize=5m wrapper.logfile.maxfiles=5 Add ES home to root user’s ‘.bash_profile’ # ElasticSearch export ES_HOME=/usr/local/elasticsearch Create elasticsearch user useradd -d /home/elasticsearch -s /bin/sh elasticsearch chown -R elasticsearch:elasticsearch $ES_HOME chown -R elasticsearch:elasticsearch /mnt/storage/es-data Edit elasticsearch user’s ‘.bash_profile’ # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH # JAVA_HOME needs to be the latest 1.7 JDK on the system JAVA_HOME=/usr/local/jdk7 export JAVA_HOME #Add JAVA_HOME to the PATH PATH=$JAVA_HOME/bin:$PATH # ElasticSearch export ES_HOME=/usr/local/elasticsearch unset USERNAME Edit ‘/etc/security/limits.conf’ (optional as this will be set in the service script, too) elasticsearch soft nofile 65535 elasticsearch hard nofile 65535 Verify the file descriptor limit sudo -u elasticsearch -s ulimit -Sn Install the service bin/service/elasticsearch install Edit ‘/etc/init.d/elasticsearch’ # Java JAVA_HOME=/usr/local/jdk7 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH RUN_AS_USER=elasticsearch ULIMIT_N=65535 Run the service bin/service/elasticsearch start or service elasticsearch start -> here the above error i am getting can you please help me please help me what wrong i have done On Thursday, March 20, 2014 8:10:22 PM UTC+5:30, David Pilato wrote: > > What did you download? > > -- > David ;-) > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > > > Le 20 mars 2014 à 14:54, Anikessh Jain <[email protected] <javascript:>> > a écrit : > > nobody there to help me , help me please i am in need > > On Thursday, March 20, 2014 3:31:42 PM UTC+5:30, Anikessh Jain wrote: >> >> Can anybody help me it is a bit urgent . >> >> >> >> On Thursday, March 20, 2014 3:09:56 PM UTC+5:30, Anikessh Jain wrote: >>> >>> Hi All. >>> >>> I am a newbie to Elastic search and I am configuring Kibana with >>> Logstash and Redis and Elasticsearch in Centos 32 Bit and when i am >>> trying to start the service of elastic search i am getting the below error >>> >>> WrapperSimpleApp Error: Unable >>> >>> to locate the class org.elasticsearch.bootstrap.ElasticsearchF : >>> java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF >>> >>> >>> How to solve the above error ,i tried many steps but no use but of no >>> help, have anybody face the same issue please help me. >>> >>> -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/6e075a41-21b4-46f9-a9b3-a9beae1210b4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6d8b8875-5c20-41de-bb37-87c9c263a176%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
