系统优化 关闭系统安全服务 iptables Centos6防火墙 临时关闭 永久关闭 firewalled Centos7防火墙 临时关闭 永久关闭 SELinux安全服务 临时关闭 永久关闭 替换第7行的 为`disabled` 或者直接输入命令执行 字符集优化 临时调整 LANG="en_US ...
分类:
系统相关 时间:
2020-01-15 10:08:19
阅读次数:
94
经检查本地防火墙关闭,ssh配置文件已允许root登录,新建的用户也无法远程登录,本地ssh也不可以, 关闭selinux后恢复。 临时关闭: [root@localhost ~]# getenforceEnforcing [root@localhost ~]# setenforce 0[root@ ...
分类:
系统相关 时间:
2020-01-13 14:39:32
阅读次数:
101
◆安装Gitlab前系统预配置准备工作1.关闭firewalld防火墙# systemctl stop firewalld# systemctl disable firewalld 2.关闭SELINUX并重启系统#:wqSEL INUX=disabled# reboot # getenforce ...
分类:
其他好文 时间:
2020-01-07 18:16:51
阅读次数:
80
以下是以公网web镜像进行部署测试。一、准备工作关闭selinux服务getenforce查看selinux状态,并关闭selinux,否则启动docker时会报错。[root@localhost~]#getenforce查看selinux状态Disabled修改selinux配置文件docker启动报错信息:修改完selinux后重启服务器:[root@localhost~]#reboot(注:
分类:
Web程序 时间:
2020-01-04 16:08:24
阅读次数:
175
1. 临时和永久关闭Selinux [root@localhost ~]# getenforceEnforcing [root@localhost ~]# setenforce 0[root@localhost ~]# getenforcePermissive 永久关闭: [root@localho ...
分类:
系统相关 时间:
2019-12-31 10:45:09
阅读次数:
85
Linux终端提示符 [root@oldboy_python ~] [root@oldboy_python ~] [root@oldboy_python ~] [root@oldboy_python ~] [root@oldboy_python ~] Linux命令语法 1.一般情况下,【参数】是可 ...
分类:
系统相关 时间:
2019-12-25 15:48:30
阅读次数:
75
系统版本:Centos 7.4 [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) 1、环境配置: 1.1 永久关闭SeLinux vi /etc/selinux/config #将SELI ...
分类:
其他好文 时间:
2019-12-20 15:19:00
阅读次数:
113
错误排查 https://blog.csdn.net/onlysunnyboy/article/details/75270533 关闭 SELinux https://blog.csdn.net/edide/article/details/52389946 ...
分类:
其他好文 时间:
2019-12-19 21:24:45
阅读次数:
59
首先要准备的环境就是免密登录 这是要在ansible-playbook中所写的内容 hosts: tomcat tasks: - name: 关闭防火墙 service: name=iptables state=stopped - name: 关闭selinux shell: setenforce ...
分类:
其他好文 时间:
2019-12-19 16:02:11
阅读次数:
99
ELK 官网: https://www.elastic.co/cn/what-is/elk-stack 前提:关闭防火墙,关闭selinux systemctl stop firewalld setenforce 0 系统优化: 1 2 3 4 5 [root@node1 ~]# cat /etc/ ...
分类:
其他好文 时间:
2019-12-16 09:25:47
阅读次数:
94