防火墙(firewalld) 动态防火墙管理工具 定义区域与接口安全等级 运行时和永久配置项分离 两层结构 核心层 处理配置和后端,如iptables、ip6tables、ebtables、ipset和模块加载器 顶层D-Bus 更改和创建防火墙配置的主要方式。所有firewalld都使用该接口提供 ...
分类:
系统相关 时间:
2020-04-29 10:39:03
阅读次数:
96
环境信息 如果是单节点的,建议将虚拟机的内存最小设置为8G,硬盘大小为100G | 类别 | 版本 | 备注 | | | | | | CDH | 6.2.0 | "下载网址" | | 数据库 | mysql 5.7 | | | 系统 | CentOS7 | | | jdk | 1.8 | cdh 修 ...
分类:
其他好文 时间:
2020-04-28 00:10:36
阅读次数:
471
1.怎么查看系统发行版? 2.Linux下UID,GID是什么? 3.怎么切换用户? 4.创建/删除用户? 5.pyyu用户无法执行此命令怎么办? ls /root 6.linux文件权限有哪些?顺序是?文件权限设计的用户身份是? 7.请说出 755, 740分别是什么权限? 8.修改文件权限为只有 ...
分类:
系统相关 时间:
2020-04-22 13:29:06
阅读次数:
103
关闭防火墙和selinux:systemctl stop firewalld.servicesetenforce 0永久关闭防火墙和selinux:systemctl disable firewalld.servicesed -i ‘/^SELINUX/s#enforcing#disabled#g’ ...
分类:
数据库 时间:
2020-04-19 13:02:14
阅读次数:
70
1.查看防火墙状态 [root@localhost ~]# systemctl status firewalld 2. 临时关闭 [root@localhost ~]# systemctl stop firewalld 3.永久关闭 [root@localhost ~]# systemctl dis ...
分类:
系统相关 时间:
2020-04-18 12:15:51
阅读次数:
77
优化项1、关闭selinux、关闭firewalld(centos7)/iptables(centos6)2、修改字符集3、精简开机启动项4、修改最大文件描述符5、修改yum源及安装常用工具6、优化系统内核7、优化ssh登录速度8、禁用ctrl+alt+del重启9、设置时间同步10、history优化1、关闭selinux、关闭防火墙a/关闭selinux[root@gitlab~]#sed-i
分类:
其他好文 时间:
2020-04-13 15:32:36
阅读次数:
84
#!/bin/sh./etc/rc.d/init.d/functionsexportLANG=zh_CN.UTF-8#一级菜单menu1(){clearcat<<EOF----------------------------------------|****欢迎使用cetnos6.5优化脚本****----------------------------------------1.一键
分类:
其他好文 时间:
2020-04-13 15:29:24
阅读次数:
80
先去官网下载压缩包 https://download.docker.com/linux/static/stable/x86_64/,也可以用zypper进行安装 配置: iZbp145axkc98giot5b448Z:/ # cat /etc/issue Welcome to SUSE Linux ...
分类:
其他好文 时间:
2020-04-13 10:41:55
阅读次数:
237
systemctl stop firewalld 关闭防火墙 systemctl status firewalld 查看状态 systemctl disable firewalld 不启动 systemctl enable firewalld 启动 如果使用 service iptables sto ...
分类:
其他好文 时间:
2020-04-12 10:25:32
阅读次数:
65
防火墙的开启和关闭: 查看防火墙状态 systemctl status firewalld #Active: inactive (dead) --表示防火墙已经关闭 临时关闭防火墙 systemctl stop firewalld 临时打开防火墙 systemctl start firewalld ...
分类:
系统相关 时间:
2020-04-10 00:44:13
阅读次数:
86