centos7 网卡配置错误问题解决办法(ifcfg-Wired_connection_1)
分类:
其他好文 时间:
2020-11-01 21:01:05
阅读次数:
17
1.网卡配置bond#网卡bond模式 Linux 多网卡绑定网卡绑定mode共有七种(0~6) bond0、bond1、bond2、bond3、bond4、bond5、bond6 常用的有三种mode=0:平衡负载模式,有自动备援,但需要”Switch”支援及设定。mode=1:自动备援模式,其中 ...
分类:
其他好文 时间:
2020-11-01 10:14:44
阅读次数:
16
配置网络服务 配置网卡的4种方法: 创建网络会话 RHEL和CentOS系统默认使用NetworkManager来提供网络服务,这是一种动态管理网络配置的守护进程,能够让网络设备保持连接状态。可以使用nmcli命令来管理Network Manager服务。nmcli是一款基于命令行的网络配置工具,功 ...
分类:
系统相关 时间:
2020-10-30 12:43:38
阅读次数:
25
yum provides semanage yum install -y policycoreutils-python getenforce sestatus setenforce /etc/selinux/config # enforcing - SELinux security policy i ...
分类:
系统相关 时间:
2020-10-27 11:30:56
阅读次数:
40
#!/bin/bash # 先备份原来的网卡配置文件 find /etc/sysconfig/network-scripts/ -type f -name "ifcfg*"|xargs cp -t /tmp # 定义要使用的变量 network_file_path=/etc/sysconfig/ne ...
分类:
其他好文 时间:
2020-10-21 21:00:30
阅读次数:
25
ceph分布式存储安装一.环境准备主机名ip软件ceph-1172.16.100.100ceph-deploycephceph-radosgwceph-2172.16.100.101cephceph-radosgwceph-3172.16.100.102cephceph-radosgw1.关闭所有节点防火墙和selinuxsed-i‘s/SELINUX=enforcing/SELINUX=disa
分类:
其他好文 时间:
2020-10-12 20:24:02
阅读次数:
21
SELinux 。强制访问控制(MAC)-vs-随意访问控制(DAC) 。规则集也叫做策略,它决定了如何严格控制 。进程要么受限制要么未定义 。策略定义哪一个资源限制哪一个进程可以访问 。缺省,任何没有定义的行为都被拒绝 SELInux续 。所有的文件和进程都有一个安全上下文属性 。属性有着几个元素 ...
分类:
系统相关 时间:
2020-10-07 21:24:03
阅读次数:
39
1、安装linux注意事项,swap需要大于4g2、初始化设置修改固定ip地址,可用修改/etc/hosts关闭selinux,修改/etc/selinux/config,SELINUX=enforcing改为SELINUX=disabled关闭防火墙,systemctldisablefirewalld.service,查看状态systemctlstatusfirewalld.service3、配
分类:
数据库 时间:
2020-10-05 22:00:59
阅读次数:
40
虚拟机环境设置关闭swap分区swapoff-a&&sed-i‘/swap/s/^(.*)$/#\1/g‘/etc/fstab&&free-m关闭selinuxsed-i‘s/SELINUX=enforcing/SELINUX=disabled/‘/etc/selinux/config关闭防火墙systemctlstopfirewal
分类:
Web程序 时间:
2020-10-05 21:41:21
阅读次数:
31
双主+keepalived+haproxy配置(负载均衡) 实验系统:CentOS 6.5_x86_64实验前提:防火墙和selinux都关闭实验软件:keepalived-1.2.13 haproxy-1.8.13 mysql—5.7.21主1 ip:192.168.226.134主2 ip:19 ...
分类:
数据库 时间:
2020-09-24 22:10:47
阅读次数:
75