Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
QA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mayi-operation
QA
Commits
873eb398
Commit
873eb398
authored
Mar 04, 2019
by
ChongmingDu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update elk出现问题.md
parent
f1684ee9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
3 deletions
+35
-3
elk出现问题.md
+35
-3
No files found.
elk出现问题.md
View file @
873eb398
1.
请到
http://code.mayi888.com/operation/Ant_doc.git查找elk所在位置
1.
请到
http://code.mayi888.com/operation/Ant_doc.git查找elk所在位置
...
...
@@ -2,4 +2,36 @@
2.
ssh到机器上,找到elk.sh或docker-compose.yml这两个文件(一般在/root或/data下)
3.
docker stop $(docker ps -qa)
4.
docker rm $(docker ps -qa)
5.
有elk.sh运行./elk.sh,然后关闭终端页面;如果有docker-compose.yml,运行docker-compose up,然后关闭终端。如果两者都有,随意选一运行。
\ No newline at end of file
5.
复制如下脚本到elknew.sh 运行docker-compose up,然后关闭终端。如果两者都有,随意选一运行。
```
version: '2.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
networks:
- esnet
kibana:
image: docker.elastic.co/kibana/kibana:6.6.1
ports:
- 5601:5601
networks:
- esnet
volumes:
esdata1:
driver: local
networks:
esnet:
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment