Elasticsearch安裝
centos6.5上安裝
JDK安裝
1.下載https://www.oracle.com/search/results?cat=otn&Ntk=S3&Ntt=jdk8
2.上傳到/usr/local目錄下
3.tar -zxvf 下載的包檔名
4.配置環境變數
vi /etc/profile 最後一行加入
JAVA_HOME=/usr/jdk1.7.0_67
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PATH
export CLASSPATH
按“ESC”退出,按冒號,再wq儲存退出
source /etc/profile使修改後的配置生效
java -version 檢視jdk版本
Elasticsearch安裝
rpm安裝,bin,plugin等安裝在/usr/share/elasticsearch,配置檔案在/etc/elasticsearch,yml檔案安裝在/etc/elasticsearch
1.下載https://www.elastic.co/downloads
2.上傳到/usr/local目錄下
3.rpm -ivh 下載的檔案包名
4.啟動服務:service elasticsearch start.可能報錯
解決辦法:找到elasticsearch配置檔案/etc/sysconfig/elasticsearch
將 JAVA_HOME=/root/jdk1.8.0_60 寫到檔案中儲存後啟動
啟動後
curl http://localhost:9200/
測試是否啟動成功
安裝外掛-kibana
Kibana是一個為 ElasticSearch 提供的資料分析的 Web 介面。可使用它對日誌進行高效的搜尋、視覺化、分析等各種操作。
1.下載https://www.elastic.co/downloads/kibana
2.上傳到/usr/local目錄下
3.rpm -ivh kibana包(yml檔案在/etc/kibana目錄)
4.修改yml檔案 server.host: "0.0.0.0",可以遠端訪問
5.瀏覽器輸入http://172.16.24.95:5601/訪問
sudo /bin/systemctl daemon-reload
sudo -i service kibana start
sudo -i service kibana stop
/opt/kibana-5.0.0-linux-x86_64$./bin/kibana > nohup & 後臺啟動
解除安裝已經安裝的rpm包
rpm -e --nodeps elasticsearch
開放埠
vi /etc/sysconfig/iptables
-A INPUT -p tcp -m tcp --dport 9200 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 9300 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5601 -j ACCEPT
service iptables restart生效
http://blog.csdn.net/u012371450/article/details/51776505---解決問題
http://www.itdadao.com/articles/c15a875609p0.html--安裝x-pack
http://www.itdadao.com/articles/c15a1127887p0.html--資料
http://blog.csdn.net/wsm0712syb/article/details/54909968--5.0學習
http://www.itdadao.com/articles/c15a1131439p0.html--5.2安裝
http://www.ttlsa.com/log-system/troubleshooting-elk-common-issues/-常見問題
http://www.ttlsa.com/html/tag/elasticsearch/--運維
http://www.aboutyun.com/thread-20886-1-1.html
http://www.itdadao.com/articles/c15a1135185p0.html--有用
http://www.cnblogs.com/delgyd/p/elk.html-centos7安裝
https://netonline.gitbooks.io/centos7-elk5-2/content/logstashbu_shu/qi_dong_bing_yan_zheng.html---centos7安裝
http://467754239.blog.51cto.com/4878013/1700828/
https://www.joewen.net/?p=53--問題解答
http://blog.csdn.net/cardinalzbk/article/details/54924511-5.2安裝
https://pan.baidu.com/s/1c1H8XHm#list/path=%2FElasticsearch%E6%B7%B1%E5%85%A5%E6%B5%85%E5%87%BA%E8%A7%86%E9%A2%91_GK--視訊
selinux
netstat -tnlp|grep 9200
http://xxx.xx.xx.x:9100/?auth_user=elastic&auth_password=changeme
transport.host: 127.0.0.1
http:host: 192.168.70.131
相關文章
- Elasticsearch 安裝Elasticsearch
- ElasticSearch安裝教程Elasticsearch
- ubuntu 安裝 ElasticSearchUbuntuElasticsearch
- Elasticsearch安裝文件Elasticsearch
- ElasticSearch 安裝教程Elasticsearch
- mac安裝ElasticsearchMacElasticsearch
- docker安裝elasticsearchDockerElasticsearch
- Elasticsearch - Docker安裝Elasticsearch8.12.2ElasticsearchDocker
- Elasticsearch 安裝和使用Elasticsearch
- CentOS 7安裝ElasticsearchCentOSElasticsearch
- macOs-ElasticSearch安裝MacElasticsearch
- Elasticsearch外掛安裝Elasticsearch
- ElasticSearch(二)CentOs6.4下安裝ElasticSearchElasticsearchCentOS
- Mac 安裝 Elasticsearch5.6MacElasticsearchH5
- ElasticSearch + Kibana 安裝部署Elasticsearch
- CentOS 7.6 安裝 Elasticsearch 7.2CentOSElasticsearch
- Docker 教程十三安裝elasticsearchDockerElasticsearch
- elasticsearch和kibana安裝Elasticsearch
- ElasticSearch&kibana安裝Elasticsearch
- linux下安裝elasticsearchLinuxElasticsearch
- elasticsearch kibana 安裝成功Elasticsearch
- 【Elasticsearch系列之一】windows下Elasticsearch的安裝ElasticsearchWindows
- ElasticSearch5.6.3的安裝部署以及叢集部署、ElasticSearch-head的安裝ElasticsearchH5
- CentOS7 下安裝 ElasticsearchCentOSElasticsearch
- Windows下安裝ElasticSearch7.6.2WindowsElasticsearch
- 如何在 MacOS 上安裝 ElasticsearchMacElasticsearch
- centos 7安裝部署elasticsearch 7.5.1CentOSElasticsearch
- Elasticsearch 及其套件的安裝上手Elasticsearch套件
- ElasticSearch安裝及java Api使用ElasticsearchJavaAPI
- CentOS 7 安裝 Elasticsearch 6.4.2 教程CentOSElasticsearch
- Elasticsearch-sql 外掛安裝ElasticsearchSQL
- Elasticsearch在Windows下的安裝ElasticsearchWindows
- ElasticSearch安裝Head外掛Elasticsearch
- centos7安裝elasticsearch:7.9.3CentOSElasticsearch
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- 《Elasticsearch技術解析與實戰》Chapter 1.2 Elasticsearch安裝ElasticsearchAPT
- 【ElasticSearch篇】--ElasticSearch從初識到安裝和應用Elasticsearch
- Elasticsearch5中安裝Elasticsearch-head外掛ElasticsearchH5