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
b1ff050b
Commit
b1ff050b
authored
Feb 21, 2019
by
ChongmingDu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://code.mayi888.com/operation/QA
parents
d8b5f6b2
13375449
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
elk出现问题.md
+4
-3
磁盘空间处理.md
+7
-3
续约ssl证书
+12
-0
No files found.
elk出现问题.md
View file @
b1ff050b
1.
请到
http://code.mayi888.com/operation/Ant_doc.git查找elk所在位置
1.
请到
http://code.mayi888.com/operation/Ant_doc.git查找elk所在位置
1.
请到http://code.mayi888.com/operation/Ant_doc.git查找elk所在位置
2.
ssh到机器上,找到elk.sh或docker-compose.yml这两个文件(一般在/root或/data下)
3.
Run
docker stop $(docker ps -qa)
4.
RUN
docker rm $(docker ps -qa)
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
磁盘空间处理.md
View file @
b1ff050b
1.
df
-h 查看整体磁盘空间
1.
df
-h 查看整体磁盘空间
1.
df -h 查看整体磁盘空间
2.
在根目录(/)或者相应目录,du -sh ./
*
|sort -nr
3.
找到相应位置删除即可
\ No newline at end of file
3.
找到相应位置删除即可
## docker disk manage
1.
docker system prune
2.
docker system df(query docker space)
\ No newline at end of file
续约ssl证书
0 → 100644
View file @
b1ff050b
1. 在29服务上进入/usr/local/src目录
1. 在29服务上进入/usr/local/src目录
2. ./certbot-auto certonly -d *.XXXX.com --manual
会显示:
Please deploy a DNS TXT record under the name
_acme-challenge.XXXX.com with the following value:
************ 保存复制这个值。不要回车!!!
3. 修改相应dns txt记录
4. 使用dig txt _acme-challenge.XXXX.com 查看txt记录改没改成新的,多尝试一次一定保证多次验证
5. 第五步验证通过,第二步回车,生成相应的密钥
6.同步生成密钥后 生成servername文件 cat fullchain1.pem privkey1.pem |tee servername.pem
7.配置pem文件至haproxy指向目录下
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