How to install Elasticsearch and Kibana into Ubuntu 14.04? - elasticsearch

How to install Elasticsearch and Kibana into Ubuntu 14.04?
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.2.deb

Kindly follow this installation instructions.
try this
OR
use
https://www.elastic.co/products/kibana

Related

How to upgrade elastic stack in mac osx from 6.8.7 to 7.x (latest)

I followed the elastic search doc for rolling upgrade in mac osx, Link
After taking snapshot and disabling the services, on upgrade using brew
I am getting: Warning: elasticsearch 6.8.7 already installed when doing brew upgrade elasticsearch.
brew tap elastic/tap and. brew install elastic/tap/elasticsearch-full is showing
elastic/tap/elasticsearch-full because conflicting formulae are installed.
elasticsearch
Is brew unlink elasticsearch a safe practice to do?
Manual Download: I downloaded the elasticsearch 7.6 as tar file.
$ brew info elasticsearch
Data: /usr/local/var/lib/elasticsearch/
Logs: /usr/local/var/log/elasticsearch/elasticsearch_user.log
Plugins: /usr/local/var/elasticsearch/plugins/
Config: /usr/local/etc/elasticsearch/
where should I install the downloaded elasticsearch tar file and how can I restore my previous data?
Took snapshot,

How to install marvel plugin in elasticsearch 7.3.1?

I am not able to install marvel plugin in elasticsearch. I am following the book "Elasticsearch:The Definitive Guide" and I am stucked in installing marvel plugin. In the book the cmd was
./bin/plugin -i elasticsearch/marvel/latest
And I change to the below as this doesn't works anyway.
None of the following commands are working. It says unknown plugin marvel-agent or unknown plugin license and also same for marvel.
>>sudo bin/elasticsearch-plugin install license
>>sudo bin/elasticsearch-plugin install marvel-agent
>>sudo bin/elasticsearch-plugin install marvel
I tried installing different plugin analysis-icu, and it worked. But didn't worked with marvel
From version 5.0 onward, Marvel is part of X-Pack. For more information, see Monitoring the Elastic Stack.
https://www.elastic.co/guide/en/marvel/current/release-notes.html

How to install AWS CloudHSM on Ubuntu 18.04 TLS? (requires libjson-c2 but only libjson-c3 available)

I am trying to install Amazon AWS CloudHSM on AWS EC2 instances running Ubuntu 18.04 LTS.
The instructions from Amazon seem to require an older library libjson-c2, but only the newer library libjson-c3 is available for Ubuntu 18.04 LTS.
Amazon link: https://docs.aws.amazon.com/cloudhsm/latest/userguide/install-and-configure-client-linux.html
I am wondering if anyone can suggest a workaround, since apt install libjson-c2 doesn't seem to work:
# apt install libjson-c2
...
E: Package 'libjson-c2' has no installation candidate
Has anyone had any success using AWS CloudHSM with Ubuntu 18.04 LTS ?
As of today (2018-12-22), Amazon does not yet support Ubuntu 18.04 LTS (confirmed by AWS Support). CloudHSM is only supported for Ubuntu 16.04 LTS.
This is a solution that worked for me. First install libjson-c2 and then install cloudhsm-client.
> wget http://mirrors.kernel.org/ubuntu/pool/main/j/json-c/libjson-c2_0.11-4ubuntu2_amd64.deb
> sudo dpkg -i libjson-c2_0.11-4ubuntu2_amd64.deb
> wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Xenial/cloudhsm-client_latest_amd64.deb
> sudo dpkg -i cloudhsm-client_latest_amd64.deb

cloudera director client installation

I am trying to install apache-spot and Cloudera on AWS following these tutorials:
http://blog.cloudera.com/blog/2018/02/apache-spot-incubating-and-cloudera-on-aws-in-60-minutes/
https://www.cloudera.com/documentation/director/latest/topics/director_get_started_aws_install_dir_server.html#concept_xnb_cwh_jx
But when I run:
sudo apt-get install cloudera-director-client
The Ubuntu terminal gives me:
E: unable to locate package cloudera-director-client
I already ran this code to fix:
$ wget http://archive.cloudera.com/director/ubuntu/precise/amd64/director/cloudera-director.list
$ wget http://archive.cloudera.com/director/ubuntu/precise/amd64/director/archive.key
$ sudo apt-key add archive.key
$ sudo mv cloudera-director.list /etc/apt/sources.list.d
$ sudo apt-get update
Anyone able to help me? Thanks
The cloudera-director.list file that you have installed is likely old. The one in the URL you have listed is for Ubuntu 12.04 (Precise Pangolin). Make sure that you pick the release that matches your OS version.
Cloudera Altus Director 2.x is available for Ubuntu 14.04 (Trusty Tahr) at http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/
Cloudera Altus Director 6.0.0 is available for Ubuntu 16.04 and 14.04 at http://archive.cloudera.com/director6/6.0.0/ubuntu1604/ or http://archive.cloudera.com/director6/6.0.0/ubuntu1404/
Please try installing again with a new cloudera-director.list and archive.key

How to install and configure LAMP on ubuntu 12.04

Could somebody please tell me how to install and configure LAMP on ubuntu 12.04 ? Is there a package similar to WAMP Server that is all-in-one ? I have tried to install from command line ,PHP,MySQL work but apache gives me this after sudo service apache2 restart
* Restarting web server apache2
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
And I think probably I did something wrong when installing !
Thank you !
From this tutorial,
Run this commands in Ubuntu Terminal-
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5
sudo /etc/init.d/apache2 restart
For Checking-
php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'
If u get-
Your PHP installation is working fine.
Then you are done.
You can follow tutorial from below link to setup LAMP on your Ubuntu 12,
http://technarco.com/ubuntu-linux/how-install-lamp-ubuntu-12
Enjoy, :)
To resolve this error, you need to stop other process using this port.
In some of cases it is nginx. you can stop it
sudo /etc/init.d/nginx stop
you can install lamp server using Tasksel (Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated “task” onto your system. This program is used during the installation process, but users can also use tasksel at any time)
check this post http://wiki.workassis.com/ubuntu-install-lamp-using-tasksel/

Resources