网站首页 站内搜索

搜索结果

查询Tags标签: SELinux,共有 121条记录
  • Centos 7.4 防火墙关闭命令

    Centos 7.4 防火墙命令 1.临时关闭selinux setenforce 02.永久关闭selinux vim /etc/selinux/config SELINUX=disabled3.临时关闭防火墙 systemctl stop firewalld4.永久关闭防火墙 systemctl disable firewalld

    2022/3/21 7:32:11 人评论 次浏览
  • 『现学现忘』Docker基础 — 11、Docker安装的问题补充

    目录1、问题复现2、解决冲突3、重新安装docker-ce-selinux4、安装Docker-ce5、总结 通过yum安装Docker的时候,安装20版本的Docker没有出现问题,在安装17版本的时候,出现了问题。 问题复现,下面记录一下这个问题。 1、问题复现 (1)安装17.03版本Docker 执行 [root@lo…

    2022/3/10 23:19:05 人评论 次浏览
  • rpm安装oracle

    1,关闭防火墙以及selinux服务首先防火墙是一定要一定要关闭的哦 #systemctl stop firewalld.service 关闭操作系统自启动 #systemctl disable firewalld.service 检查关闭情况 systemctl status firewalld.service 如下,dead表示未开启开机启动;inactive表示现在的状态…

    2022/3/10 19:14:50 人评论 次浏览
  • 安装Samba和Samba-client

    为了与Windows共享一些文件方便,安装Samba-client比较合适,同时为了测试也一起把Samba服务也安装了: yum info samba #可以查看Samba有没有安装,Available Package表示还未安装,Installed Package表示已经安装 没有安装时,直接用命令:yum install -y samba samba-client 测…

    2022/3/6 6:15:25 人评论 次浏览
  • linux配置虚拟机软件安装配置

    进入: vim /etc/selinux/config 将框选的值改为disabled 做法:按 i 进入编辑模式 修改完后按esc键 按:进入末行模式 wq退出

    2022/2/25 7:27:08 人评论 次浏览
  • 启动kvm时候启动域时出错: 不支持的配置:Unable to find security driver for model selinux

    启动域时出错: 不支持的配置:Unable to find security driver for model selinux当时我遇到这个问题也是慌的要死,以为这台虚拟器起不来了,虽然不是很重要,但是恢复不好也很难受其实这个问题很好解决只要进到这台虚拟机的配置文件下,默认路径是/etc/libvirt/qemu/下把…

    2022/2/23 7:25:03 人评论 次浏览
  • linux 安全(一) 防火墙和SELinux机制

    1.防火墙操作 chkconfig iptables off chkconfig --list | grep iptables service iptables stoplinux 7版本的使用方法不一样 systemctl status firewalld 查看状态 systemctl disable firewalld 禁用 systemctl enable firewalld 启用 2.SELinux机制 2.1.# /usr/sbin/se…

    2022/2/20 7:26:25 人评论 次浏览
  • linux中如何关闭\开启SElinux

    1、查看内核、系统版本[root@virtualboxcentos7 test]# hostnamectlStatic hostname: virtualboxcentos7Icon name: computer-vmChassis: vmMachine ID: e8d08b54fc55254aaefd55597b2e435bBoot ID: f308a2863585439cb4c69007b56ad527Virtualization: kvmOperating System:…

    2022/2/1 7:27:40 人评论 次浏览
  • Linux 搭建http server

    Linux 搭建http server des : firefly 在Linux 上run, 跑出来的结果是HTML 格式的,需要把它放到 http server 上,在windows 机器上就可以查看report了。 https://www.cnblogs.com/zhuyeshen/p/11693362.html 1 yum install httpd 安装httpd2 httpd的配置文件是/etc/htt…

    2022/1/20 7:20:28 人评论 次浏览
  • Linux 搭建http server

    Linux 搭建http server des : firefly 在Linux 上run, 跑出来的结果是HTML 格式的,需要把它放到 http server 上,在windows 机器上就可以查看report了。 https://www.cnblogs.com/zhuyeshen/p/11693362.html 1 yum install httpd 安装httpd2 httpd的配置文件是/etc/htt…

    2022/1/20 7:20:28 人评论 次浏览
  • Centos破解密码

    Centos 破解密码重启机器长摁e键进入如下界面,找到linux16开头的,将光标移动到行尾,输入:re.break console=tty0 Ctrl+X 进入如下恢复界面 切换目录,/sysroot chroot /sysroot/ 重新挂载 / mount -o remount,rw / 修改权限为rw 修改root密码 echo comlan | pa…

    2022/1/15 7:12:25 人评论 次浏览
  • Centos破解密码

    Centos 破解密码重启机器长摁e键进入如下界面,找到linux16开头的,将光标移动到行尾,输入:re.break console=tty0 Ctrl+X 进入如下恢复界面 切换目录,/sysroot chroot /sysroot/ 重新挂载 / mount -o remount,rw / 修改权限为rw 修改root密码 echo comlan | pa…

    2022/1/15 7:12:25 人评论 次浏览
  • chcon SeLinux

    chcon: cant apply partial context to unlabeled filecat /etc/selinux/config # This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - S…

    2022/1/11 7:03:59 人评论 次浏览
  • chcon SeLinux

    chcon: cant apply partial context to unlabeled filecat /etc/selinux/config # This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - S…

    2022/1/11 7:03:59 人评论 次浏览
  • Linux 关闭 SeLinux

    叙述 由于SeLinux会限制部分系统资源访问权限,所以很多开发者很喜欢禁用SeLinux,在布署程序的自动化角本中,也默认加入了禁用SeLinux的代码。这样会导致用户在安装Centos7的计算机上所有帐号都无法登录(包括root),但使用SecureCRT等软件连Ssh却可以正常登录。这还是会…

    2022/1/10 7:08:10 人评论 次浏览
扫一扫关注最新编程教程