列出所有服务:systemctl list-unit-files 列出运行中的服务:systemctl list-units 列出所有失败的服务:systemctl --failed 检查单个服务是否启用:systemctl is-enabled mysqld.service 查看单个服务的状态:s ...
分类:
其他好文 时间:
2020-04-09 15:24:32
阅读次数:
474
在外部访问CentOS中部署应用时,需要关闭防火墙。 1、Centos7默认安装了firewalld,如果没有安装的话,可以使用 yum install firewalld firewalld-config进行安装。 2、关闭防火墙命令:systemctl stop firewalld.servic ...
分类:
系统相关 时间:
2020-04-07 23:56:45
阅读次数:
130
基础环境准备 安装前的准备工作(zk已经部署完毕) 关闭防火墙 service iptables stop #临时关闭 chkconfig iptables off && setenforce 0 #永久关闭 kafka单机版安装采用自带的zookeeper处理 1.校验一下java是否安装 jav ...
分类:
其他好文 时间:
2020-04-07 22:13:20
阅读次数:
98
防火墙 查看防火墙状态 firewall-cmd --state systemctl status firewalld 停止firewall systemctl stop firewalld.service禁止firewall开机启动 systemctl disable firewalld.serv ...
分类:
其他好文 时间:
2020-04-07 18:48:48
阅读次数:
123
1 linux iptables ubuntu centos redhat alpine 2 开源产品 jenkins git nginx openstack kubenetes mysql cobbler docker kvm lvs haproxy zabbix promethues ansib ...
分类:
其他好文 时间:
2020-04-06 00:14:17
阅读次数:
80
squid缓存服务器————反向代理如果Squid反向代理服务器中缓存了该请求的资源,则将该请求的资源直接返回给客户端,否则反向代理服务器将向后台的WEB服务器请求资源,然后将请求的应答返回给客户端,同时也将该应答缓存在本地,供下一个请求者使用1、首先给网页做区分[root@webhttpd]#cd/var/www/html/[root@webhtml]#ls[root@webhtml]#vimi
分类:
其他好文 时间:
2020-04-06 00:12:33
阅读次数:
69
首先出现这个问题,都是iptables input chain 设置了默认Policy 为 Drop导致的(如果默认全都是 accept或者没有其他拒绝策略,肯定是没问题的。) 这是我服务器上的INPUT规则如下: 3306 ,6379那几个, 分别是mysql容器和 redis容器对应的端口号,第 ...
分类:
其他好文 时间:
2020-04-05 13:46:46
阅读次数:
215
。使用了Centos 7系统。 PS: 篇幅有点长,但是比较详细、比较全面 一、Centos7 配置说明 1.1 Firewalld(防火墙) CentOS Linux 7 默认开起来防火墙服务(firewa ...
分类:
Web程序 时间:
2020-04-03 23:46:25
阅读次数:
94
重建docker网络 重启命令二:systemctl restart docker pkill docker iptables -t nat -F ifconfig docker0 down brctl delbr docker0 service docker restart deepin安装doc ...
分类:
其他好文 时间:
2020-04-03 12:24:13
阅读次数:
96