标签:www 解决 use 故事 cse curl 搜索 搭建 传说
前话:去年下半年邻居介绍了一当兵的对象,当时是用生命拒绝的,然后过年回去居然鬼使神差的在一起了?过完年来,已经莫名失联十多天了,毕竟刚开始传说中的热恋就分开,心里难受!!!每天猜测这人是干嘛去了,患得患失,对于我这种一分钟不回复我消息我都觉得对方在出轨(这是被劈腿后遗症,越来越严重)。。。 这跟这篇博文有什么关系呢,没关系!
yum -y install firewalld yum -y install iptables-services systemctl stop firewalld systemctl stop iptables systemctl disable firewalld.service systemctl disable iptables.service sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/g‘ /etc/selinux/config setenforce 0
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz tar -zxvf jdk-8u131-linux-x64.tar.gz -C /usr/local mv /usr/local/jdk1.8.0_131 /usr/local/java
export JAVA_HOME=/usr/local/java export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:{JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH
source /etc/profile
[root@rilo ~]# echo $PATH /usr/local/java/bin:/usr/local/java/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
[root@ip-172-29-0-159 ~]# java -version java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.6.0.tar.gz tar -xvf elasticsearch-6.6.0.tar.gz cd elasticsearch-6.6.0/bin ./elasticsearch
useradd ela chown -R ela.ela elasticsearch-6.6.0 nohup ./elasticsearch &
vm.max_map_count = 262144
sysctl -p
wget https://artifacts.elastic.co/downloads/kibana/kibana-6.6.0-linux-x86_64.tar.gz tar -zxvf kibana-6.6.0-linux-x86_64.tar.gz cd kibana-6.6.0-linux-x86_64
nohup ./bin/kibana &
3、查看Kibana进程
[root@ip-172-29-0-159 ~]# ps -ef |grep node root 21374 19694 0 02:27 pts/0 00:01:00 ./../node/bin/node --no-warnings ./../src/cli root 21817 19694 0 05:57 pts/0 00:00:00 grep --color=auto node
[root@ip-172-29-0-159 ~]# netstat -anltp |grep 5601 tcp 0 0 127.0.0.1:5601 0.0.0.0:* LISTEN 21374/./../node/bin
server.host: "0.0.0.0"
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.6.0-linux-x86_64.tar.gz tar xzvf filebeat-6.6.0-linux-x86_64.tar.gz
filebeat.inputs: - type: log enabled: true paths: - /var/log/*.log setup.kibana: host: "localhost:5601" output.elasticsearch: hosts: ["localhost:9200"]
nohup ./filebeat &
标签:www 解决 use 故事 cse curl 搜索 搭建 传说
原文地址:https://www.cnblogs.com/lemon-le/p/10408299.html