Unable to install elasticsearch-head in Windows 7 - elasticsearch

Unable to install elasticsearch-head in Windows 7. Getting the following error in command prompt.
elasticsearch-2.4.0\bin>plugin install mobz/elasticsearch-head
Installing mobz/elasticsearch-head...
ing https://github.com/mobz/elasticsearch-head/archive/master.zip ...
OR: failed to download out of all possible locations..., use --verbose to get detailed information
How to fix?
[update]
C:\elasticsearch-2.4.0\bin>plugin.bat install mobz/elasticsearch-head --verbose
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
Failed: SocketTimeoutException[connect timed out]
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

For ElasticSearch => 5.0
Running as a plugin of Elasticsearch is now deprecated for security problems.
1 . Enable CORS in elasticsearch
config/elasticsearch.yml:
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
2. you have to run it in another server, like this for example:
(you will need npm => 6)
go to: github.com/mobz/elasticsearch-head.git
donwload it
cd elasticsearch-head
npm install
npm run start
open http://localhost:9100/
it worked for me.

Related

Install syndesis on Windows when minishift is installed

I have some problems to install syndesis on Windows.
My configuration is Win10 64bits with minishift installed.
minishift and oc commands works from command line.
I have started the OpenShift server and I can connect it with web browser.
I tried the install mentioned README.md with Cygwin: "bash <(curl -sL https://syndes.is/start) --vm-driver hyperkit" --> nothing happen
Then I tried the syndesis-cli from 2.0.0-20210514 with Cygwin
$ ./syndesis install
/cygdrive/d/users/toto/Downloads/syndesis-cli/commands/util/common_funcs: line 354: /home/toto/.syndesis/bin/platform-detect: cannot execute binary file: Exec format error
operator binary not found under /home/toto/.syndesis/bin/syndesis-operator, attempting to download...
OK
Unknown platform [ cygwin ],
unable to download the operator binary, exit
ERROR: Last command exited with 1
How can I install syndesis on Windows?
Thanks !
Toto

Open suse adding repository

Hi I'm trying to add repository to install Termintor on my linux machine (SUSE Linux Enterprise Server 12 SP3). However after running this command
sudo zypper -v addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
I get 503 error.
Download (curl) error for 'https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo':
Error code: HTTP response: 0
Error message: The requested URL returned error: 503
Apparently the source is not available. Is there a way to find the current repo for installing Terminator via zypper?
The correct repository for SLE12 is:
sudo zypper addrepo https://download.opensuse.org/repositories/X11:/terminals/SLE_12/X11:terminals.repo
You can find all the available SUSE builds for 'Terminator' here: https://software.opensuse.org/package/terminator

elasticsearch plugin install SSLHandshakeException

I'm working on an Ubuntu VM, with a proxy.
I have this error then i try to install an elasticsearch plugin :
bin/plugin install --verbose license
-Dhttp.proxyHost=https://myusername:mypassword#my.url.proxy
-Dhttp.proxyPort=portnum -Dhttps.protocols=TLSv1.1,TLSv1.2
-> Installing license...
Trying
https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip
...
Failed: SSLHandshakeException[Remote host closed connection during handshake]; nested: EOFException[SSL peer shut down incorrectly];
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information
with or without the options -Dhttp.proxyHost, -Dhttp.proxyPort and -Dhttps.protocols, i have the same problem.
Any help will be appreciated,
Christophe

Offline installation of elasticsearch plug-ins for Windows

I am trying to install the license plug-in for elasticsearch, but
my proxy refuse the connection. When i execute the command plugin install license i get the error:
C:\elasticsearch-2.2.0\bin>plugin install license
-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/license/2.2.0/license-2.2.0.zip ...
Failed: ConnectException[Connection refused: connect]
ERROR: failed to download out of all possible locations..., use --verbose to get
detailed information
Download the file from the path in the error message (https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip) and put it into „C:\“
then execute the following command in cmd
C:\elasticsearch-2.2.0\bin> plugin install file:"C:\license-2.2.0.zip"
Alternative:
You can specify a Proxy with
C:\elasticsearch-2.2.0\bin>plugin -DproxyPort=number -DproxyHost=hostname_or_ip install <plugin>

Failed to install mobz/elasticsearch-head, reason: failed to download out of all possible locations..., use -verbose to get detailed information

Why do I get the following error when i try to install the elasticsearch - head` plugin through Command prompt?
C:\tomcat\webapps\elasticsearch-1.1.1\bin>plugin -install mobz/elasticsearch-head
Error is :
Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip...
**Failed to install mobz/elasticsearch-head, reason:** failed to download out of all
possible locations..., use -verbose to get detailed information
Download it manually from https://github.com/mobz/elasticsearch-head and unzip it in elasticsearch-1.4.2/plugins/head/_site/
and start elasticsearch server
then check in browser
http://localhost:9200/_plugin/head/
I installed it successfully in this way:
bin/plugin -DproxyPort=port_number -DproxyHost=hostname -install mobz/elasticsearch-head
Replace the port_number and hostname in above command.
It seems that head plugin installer is broken. It reports:
Can't get https://github.com/movz/elasticsearch-head/archive/master.zip
And when you try to download this file by hand, you will realize that installer can't work.
However you can use head plugin easily if you download it as zip from https://github.com/mobz/elasticsearch-head, and then you just open index.html in your browser.

Resources