centos7中防火墙相关命令 查看状态: getenforce # 查看内核防火墙状态(disabled标识关闭) systemctl status firewalld # 查看防火墙状态 firewalld 的基本命令: 启动: systemctl start firewalld 查看状态: s ...
分类:
系统相关 时间:
2020-03-04 23:32:37
阅读次数:
106
Prometheus安装 设置systemctl prometheus 启动 cd /usr/src/ wget https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter 0.18.1.li ...
分类:
其他好文 时间:
2020-03-04 12:36:54
阅读次数:
62
报错信息: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for ...
分类:
其他好文 时间:
2020-03-03 00:59:52
阅读次数:
86
一、工具简介 VisualVM,能够监控线程,内存情况,查看方法的CPU时间和内存中的对象,已被GC的对象,反向查看分配的堆栈,从界面上看还是比较简洁的,左边是树形结构,自动显示当前本机所运行的Java程序,还可以添加远程的Java VM,其中括号里面的PID指的是进程ID。OverView界面显示 ...
分类:
其他好文 时间:
2020-03-01 22:00:51
阅读次数:
79
前提是我们在linux环境下安装好了docker,并且可以正常启动关闭。 当我们对镜像进行拉取的时候,会发现速度非常的慢,停在下面这个界面很久也不动。 解决方法 进入阿里云官网,进入后搜索docker 进入后点击镜像加速器 进入到上面的这个界面之后,拿到图中的加速器地址,在下面也会提示你怎么操作,你 ...
分类:
其他好文 时间:
2020-02-28 14:20:53
阅读次数:
122
[toc] Zabbix在Docker中的应用和监控 一.如何使Zabbix跑在Docker里 Zabbix官方很早之前就提供里Zabbix的Docker镜像,而且提供里具体的配置及文件。具体地址:https://github.com/zabbix/zabbix docker 官方提供三种Docke ...
分类:
其他好文 时间:
2020-02-27 22:12:49
阅读次数:
100
出现这个问题,一般的原因是无法连接到 docker hub,通过: systemctl stop docker echo "DOCKER_OPTS=\"\$DOCKER_OPTS --registry-mirror=http://f2d6cb40.m.daocloud.io\"" | sudo te ...
分类:
数据库 时间:
2020-02-27 15:57:26
阅读次数:
376
apache安装 dnf install httpd httpd-tools 开机启动 systemctl enable httpd 立即启动 systemctl start httpd 查看状态 systemctl status httpd php安装 CentOS 8是用PHP 7.2发布的。该 ...
分类:
数据库 时间:
2020-02-27 13:14:34
阅读次数:
252
1.iptables基本管理关闭firewalld,开启iptables服务查看防火墙规则追加、插入防火墙规则删除、清空防火墙规则 1.1 关闭firewalld,启动iptables服务1)关闭firewalld服务器]# systemctl stop firewalld.service ]# s ...
分类:
其他好文 时间:
2020-02-26 15:34:04
阅读次数:
87
问题:查看防火墙状态时报错service iptables status 解决方案 在CentOS 7或RHEL 7或Fedora中防火墙由firewalld来管理,当然你可以还原传统的管理方式,或则使用新的命令进行管理。本文中将还原传统的管理方式。 cd /etc/sysconfig ls -l ...
分类:
其他好文 时间:
2020-02-25 23:16:35
阅读次数:
101