标签:sel 复制 lrzsz repo mct get mount lnmp环境 stop
我这里准备了5台centos7.6系统yum -y install epel-release net-tools vim lrzsz wget install epel-release #安装一些基础常用的服务和命令
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 如果上面的epel-release 能够安装完成,则无需进行该下载
systemctl stop firewalld.service
systemctl disable firewalld.service
firewall-cmd --state 关闭防火墙并查看
sed -i ‘/^SELINUX=.*/c SELINUX=disabled‘ /etc/selinux/config
sed -i ‘s/^SELINUXTYPE=.*/SELINUXTYPE=disabled/g‘ /etc/selinux/config
setenforce 0 永久关闭selinux
mount /dev/cdrom /mnt
echo ‘mount /dev/cdrom /mnt‘ >> /etc/rc.local 挂载镜像光盘
标签:sel 复制 lrzsz repo mct get mount lnmp环境 stop
原文地址:https://blog.51cto.com/14834890/2512035