Linux 各种软件的安装-ElasticSearch
安装elasticSearch之前先将一个问题:
重启服务器后发现 ssh上不去了,后来采用另外一种方式登录进去发现 sshd服务没启动。
解决过程:先查看sshd的状态 service sshd status
发现压根没有这个服务,重启后自动消失?只好再安装一遍了。
yum -y install openssh openssh-clients openssh-server/etc/init.d/sshd start随服务器启动设置chkconfig --level 235 sshd on 接下来安装elasticSearch,主要参考以下博文:http://blog.csdn.net/tanweii163/article/details/50231719关于它的用法可参考以下linkhttp://www.oschina.net/translate/elasticsearch-getting-started?cmp 其实也比较简单,但需要JDK1.81:wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.3.tar.gz2:增加用户 useradd es passwd es 移动文件到用户主目录 mv elasticsearch-1.7.3.tar.gz elasticsearch/3:chown es:es elasticsearch/elasticsearch-1.7.3.tar.gz4:解压 tar -xzvf elasticsearch-1.7.3.tar.gz 5:mv elasticsearch-1.7.3 elasticsearch 6:修改配置文件 /usr/local/elasticsearch/config/ 下面的elasticsearch.ymlcluster.name: elasticsearchnode.name: node01node.master: true node.data: true 是否是master节点,是否是data节点,根据实际情况调整组合index.number_of_shards: 1index.number_of_replicas: 0path.data=/usr/local/elasticsearch/datatransport.tcp.port: 9300http.port: 9200http.max_content_length: 100mbhttp.enabled: true discovery.zen.minimum_master_nodes: 17:操作系统配置 1.文件描述符 vim /etc/security/limits.conf添加 * soft nofile 655350 * hard nofile 655350 退出当前用户重新login就会生效,使用ulimit -n验证下。 2.最大内存映射区数量,禁用swap交换分区 vim /etc/sysctl.conf增加 vm.max_map_count=262144 vm.swappiness=1 修改完成后sysctl -p 8:jvm参数配置bin目录下有一个elasticsearch.in.sh文件,修改 ES_MIN_MEM=256m ES_MAX_MEM=1g 为合适的值 9:常用插件在线安装cd /usr/local/elasticsearch/bin 安装head插件
./plugin -install mobz/elasticsearch-head 访问地址 http://localhost:9200/_plugin/head/ 安装elasticsearch-HQ插件 ./plugin -install royrusso/elasticsearch-HQ 访问地址 http://localhost:9200/_plugin/HQ/ 安装bigdesk插件 ./plugin -install lukas-vlcek/bigdesk 安装完成后重启下。 10:运行
前台运行
bin/elasticsearch

后台运行
bin/elasticsearch -d
curl -X GET http://IP:9200/
http://IP:9200/_plugin/head/http://IP:9200/_plugin/HQ/
以上~
Linux 各种软件的安装-ElasticSearch的更多相关文章
- CentOS6安装各种大数据软件 第三章:Linux基础软件的安装
相关文章链接 CentOS6安装各种大数据软件 第一章:各个软件版本介绍 CentOS6安装各种大数据软件 第二章:Linux各个软件启动命令 CentOS6安装各种大数据软件 第三章:Linux基础 ...
- Linux下软件常见安装方式
pasting 分类: Linux2007-12-08 16:31 1909人阅读 评论(0) 收藏 举报 linuxredhat脚本文档managerfile Linux下软件安装主 ...
- 笔记:Linux下软件的安装、CentOS更新yum源、LAMP环境搭建、kali软件管理
一.Linux下软件的安装 方式:yum源 / rpm /源码安装 1.yum:(帮助管理员解决依赖关系) yum是通过分析rpm的包头数据后,根据各种软件的相关性质做出属性相对应的解决方案,然后可以 ...
- Linux下软件的安装
想必linux新手刚开始对于linux软件安装很茫然吧,不知到怎么安装,软件到底安装在哪里,如果我需要删除软件怎么删除,配置文件到哪里去找. 想学习linux的话,最快上手的应该是Ubuntu,它特有 ...
- linux 学习-软件的安装
Linux软件的安装rpm -ivh安装软件全名 -i install 安装 -v verbose 显示详细信息 -h hash 显示进度 --nodeps 不检测依赖性(不推荐使用) rpm -U ...
- Linux 各种软件的安装-mysql篇
作为一个长期混迹在windows圈的小白,当拿到一个新的linux服务器时,有点手足无措的赶脚.但是万事开头难嘛,Just Do It! 下面记录一下自己安装各种软件时遇到的坑.这一篇先讲mysql ...
- linux下软件的安装与卸载
一 软件安装包的类型 通常Linux应用软件的安装有五种: 1) tar+ gz包,如software-1.2.3-1.tar.gz.他是使用UNIX系统的打包工具tar打包的. 2) r ...
- Linux 必要软件的安装与配置
主要是记录一下,免得下次重装系统后又到处搜索.. 一.必要软件的安装 JDK 下载 tar.gz:http://www.oracle.com/technetwork/java/javase/downl ...
- linux 基础 软件的安装 *****
一软件的安装 原代码与tarball 源代码---->编译------>可执行文件 查看文件类型 file命令 是否是二进制文件 注意如果文件的可执行权限 .c结尾的源文件- ...
随机推荐
- linux删除指定创建时间文件(文件夹)脚本
环境 解法 一个for循环 remove.sh #/bin/bash fileName=`ls --full-time | grep '2016' | awk {'print$9'}` for fil ...
- 20145212 罗天晨 《网络对抗》Exp3 Advanced 恶意代码伪装技术实践
恶意代码伪装技术实践 木马化正常软件. 啊哈--原本以为很复杂--然后我看了一下蔡野同学的博客,发现原理竟然如此简单-- 对原先生成病毒的代码稍作修改: 于是--把生成的后门软件改成骗人的名字:这里改 ...
- Codeforces 700B Connecting Universities - 贪心
Treeland is a country in which there are n towns connected by n - 1 two-way road such that it's poss ...
- centos6.8防火墙模块未加载
使用阿里云服务器下的centos6.8系统,开启或关系或查询防火墙的状态时,提示防火墙模块未加载. 解决办法: modprobe ip_tables #加载ip_tables模块 modprobe i ...
- cf水题
题意:输入多组数据,有的数据代表硬币的长宽,有的数据代表钱包的长宽,问你当这组数据代表钱包的长宽时,能不能把它前面出现的所有硬币全部装下. 思路:只要钱包的长宽大于前面出现的所有硬币的长宽就可以装下, ...
- Docker 入门指南——资源工具篇
好工具 dive wagoodman/dive A tool for exploring each layer in a docker image 参考 用 Dive 看 Docker Image 裡 ...
- Trim Galore用法及参数考量
Trim Galore是一个非常流行的用于「去接头序列」的软件,用于处理高通量测序得到的原始数据.通常我们从测序公司拿到数据后,第一步就是评估数据的质量以及对raw data去接头处理.公司拿来的数据 ...
- JS获取节点的兄弟,父级,子级元素
https://blog.csdn.net/duanshuyong/article/details/7562423 先说一下JS的获取方法,其要比JQUERY的方法麻烦很多,后面以JQUERY的方法作 ...
- mysql重要sql小记
mysql -hip -uuser -p -A DB -e '[sql]' | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' & ...
- PHP变量的值类型和引用类型
PHP 变量在内存中保存的并不直接是值的内容而是值的地址.比如: $a = 1; 从表面上看起来似乎是 $a 直接存储了 1 这个值.但是实际情况是,PHP 解释器创建了变量 $a , 将值 1 存入 ...
http://IP:9200/_plugin/head/http://IP:9200/_plugin/HQ/