关闭防火墙和selinux systemctl stop firewalld systemctl disable firewalld setenforce 0 # 设置临时关闭selinux sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc
备份原有repo文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载阿里云的 CentOS 7 仓库配置 curl -o /etc/yum.repos.d/CentOS-Base.rep
Linux 命令速查表 这个快速参考备忘单提供了使用 Linux 常用命令的使用清单 命令速查表 系统 命令 说明 uname 显示 linux 系统信息 uname -r 显示内核版本信息
Chmod 备忘清单 这份快速参考备忘单提供了文件权限的简要概述,以及 chmod 命令的操作 入门 语法 $ chmod [options] <permissions> <file> 示例 $ chmod 755 foo.txt