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 阅读全文
posted @ 2021-04-22 16:16 ngwei 阅读(265) 评论(0) 推荐(0) 编辑
摘要:配置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 阅读全文
posted @ 2021-04-22 14:55 ngwei 阅读(157) 评论(0) 推荐(0) 编辑
摘要:场景:误删了/boot目录下的文件 打开vm虚拟机的电源选项--选择打开电源时进入固件 选择光驱作为第一启动项 选择Troubleshooting 回车 选择进入救援模式 选择continue 输入1 执行命令以下修复文件 #切换到 chroot /mnt/sysimage #将光盘镜像挂载到临时目 阅读全文
posted @ 2021-04-08 20:12 ngwei 阅读(3527) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-04-08 15:35 ngwei 阅读(120) 评论(0) 推荐(0) 编辑
摘要:Ubuntu系统部署可道云网盘 配置清华源 清华源官网https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/ Ubuntu 的软件源配置文件是 /etc/apt/sources.list 配置apt源 cat > /etc/apt/sources.list 阅读全文
posted @ 2021-04-04 23:47 ngwei 阅读(276) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示