Write the code. Change the World.
Es
123456789101112131415161718
//添加官方源vi /etc/yum.repos.d/elasticsearch.repo//安装ES服务yum install --enablerepo=elasticsearch elasticsearch//服务启停 service方式sudo chkconfig --add elasticsearchsudo -i service elasticsearch startsudo -i service elasticsearch stop//systemctl方式sudo /bin/systemctl daemon-reloadsudo /bin/systemctl enable elasticsearch.servicesudo systemctl start elasticsearch.servicesudo systemctl stop elasticsearch.service
123456789101112131415161718192021
vi /etc/yum.repos.d/kibana.repo[kibana-7.x]name=Kibana repository for 7.x packagesbaseurl=https://artifacts.elastic.co/packages/7.x/yumgpgcheck=1gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearchenabled=1autorefresh=1type=rpm-md//添加服务sudo chkconfig --add kibanasudo -i service kibana startsudo -i service kibana stop//systemd管理sudo /bin/systemctl daemon-reloadsudo /bin/systemctl enable kibana.servicesudo systemctl start kibana.servicesudo systemctl stop kibana.service
Seraching...