04 2021 档案
摘要:#1.安装配置mailx: yum install mailx -y #2.邮箱配置文件 cat > /etc/mail.rc << 'EOF' set from=1520064968@qq.com set smtp=smtps://smtp.qq.com:465 set smtp-auth-use
阅读全文
摘要:配置yum源 mv /etc/yum.repos.d/* /tmp/ curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo curl -o /etc/yum.repos.d/epe
阅读全文
摘要:场景:误删了/boot目录下的文件 打开vm虚拟机的电源选项--选择打开电源时进入固件 选择光驱作为第一启动项 选择Troubleshooting 回车 选择进入救援模式 选择continue 输入1 执行命令以下修复文件 #切换到 chroot /mnt/sysimage #将光盘镜像挂载到临时目
阅读全文
摘要:1.首先安装依赖包 yum install openssl-devel pcre-devel gcc -y 2.下载解压源码包 wget -O /opt/nginx-1.18.0.tar.gz http://nginx.org/download/nginx-1.18.0.tar.gz tar zxv
阅读全文
摘要:Ubuntu系统部署可道云网盘 配置清华源 清华源官网https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/ Ubuntu 的软件源配置文件是 /etc/apt/sources.list 配置apt源 cat > /etc/apt/sources.list
阅读全文