首页 > 系统相关 >Elasticseatch全家桶在centOS7下的安装

Elasticseatch全家桶在centOS7下的安装

时间:2022-10-21 16:25:27浏览次数:32  
标签:bin tar 全家 centOS7 elasticsearch esadmin home 7.6 Elasticseatch

单机模式


# 安装elasticsearch

cd /home/software
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.6.2-linux-x86_64.tar.gz
tar -zxvf elasticsearch-7.6.2-linux-x86_64.tar.gz
# 将压缩包放到/home/software/data下
# es不能用root账户启动,需要新创建一个新用户,并且赋予权限
adduser esadmin
passwd 123456
chown -R esadmin:esadmin /home/software/data/elasticsearch-7.6.2
chmod +x bin/elasticsearch
## 启动es -d代表在后台启动 需要进入到bin目录下
./elastcsearch -d
## 设置账号密码登录 进入config目录下修改
vi  elasticsearch.yml 
# 在最后添加 
xpack.security.enabled: true
xpack.license.self_generated.type: basic
xpack.security.transport.ssl.enabled: true
# 进入bin目录下重启服务,执行
elasticsearch-setup-passwords interactive 
# 然后根据提示输入账号密码

标签:bin,tar,全家,centOS7,elasticsearch,esadmin,home,7.6,Elasticseatch
From: https://www.cnblogs.com/lbnotes/p/16813846.html

相关文章

  • Kafka在centOS7下的安装
    单机模式#下载Kafka[root@kafka~]#wgethttps://archive.apache.org/dist/kafka/2.2.1/kafka_2.11-2.2.1.tgz#解压[root@kafka~]#tarzxfkafka_2.11-2.2.1.tgz[......
  • centos7 中bamtools软件的安装
     方法1、编译安装001、系统[liujiaxin01@localhostsoftware]$cat/etc/redhat-releaseCentOSLinuxrelease7.6.1810(Core) 002、下载bamtools软件安装包w......
  • Centos7 安装docker
    1、安装命令如下:$curl-fsSLhttps://get.docker.com|bash-sdockermirrorAliyun 2、设置仓库$sudoyuminstall-yyum-utils\device-mapper-persistent-data\lvm2......
  • linux_centos7----开启/关闭防火墙
    1、看centos7的防火墙的状态,查看的命令为sudosystemctlstatusfirewalld查看后,看到active(running)就意味着防火墙打开了。     2、如果想关闭防火墙,命令为:sud......
  • winscp连接centos7的过程
    1.centos设置ip,查询ip,在终端成功ping到baidu.com2.winscp连接centos,报拒绝连接3.centos开启远程调用服务(?)引用文章:https://www.muzhuangnet.com/show/80025.html开......
  • 第三十四章 Centos7下Docker安装RabbitMQ
    一、拉取RabbitMQ镜像文件#官网:https://www.rabbitmq.com/networking.html[root@testtech2-180~]#dockerpullrabbitmq:management二、启动RabbitMQ[root@testte......
  • 第三十五章 Centos7下rpm安装Docker-17.03
    一、安装依赖[root@cos-ftp~]#sudoyuminstalllibxml2-devellibcurl-devel-y二、下载Docker安装包#1.下载地址:https://download.docker.com/linux/centos/7/x86......
  • CentOS7 安装FTP Server
    1.安装FTPServeryum-yinstallvsftpdsystemctlstartvsftpd.servicesystemctlenablevsftpd.service2.新建用户和FTP目录groupaddftp#指定用户主目录:/data/......
  • centos7环境下二进制编译安装ffmpeg
    centos7环境下二进制编译安装ffmpeg mkdir-p/usr/local/src/ffmpeg_sourcescd/usr/local/src/ffmpeg_sources#安装nasmcd/usr/local/src/ffmpeg_sourcescurl......
  • CentOS7更改yum源
    1进入yum.repos.d cd/etc/yum.repos.d/2删除当前目录yum.repos.d下的所有文件(建议先备份)3阿里云yum源安装 curl-o/etc/yum.repos.d/CentOS-Base.repohttp://m......