随笔分类 - 系统优化
摘要:最近在研究win10 如何开启Hyper-v,安装虚拟机 在Win+R 输入 OptionalFeatures 后在Windows功能中没有找到Hyper-v的选项。于是网上搜索了一一番,记录下解决步骤。 Win+R 命令输入cmd后在命令端输入 systeminfo 查看到Hyper-v信息如下,
阅读全文
摘要:1. 准备阶段 下载安装包到进行升级服务器 wget -c https://acs-ecp.oss-cn-hangzhou.aliyuncs.com/rpm/kernel-4.19.1-rpm.tar 2. 升级当前内核节点 tar -xvf kernel-4.19.1-rpm.tar rpm -i
阅读全文
摘要:# 系统、内核版本 cat /etc/redhat-release CentOS release 6.8 (Final) uname -r 2.6.32-754.33.1.el6.centos.plus.x86_64 # 下载 cd /opt/ wget https://github.com/ste
阅读全文
摘要:# 2. 新建 CentOS-aliyun.repo 文件cd /etc/yum.repos.dcp CentOS-Base.repo CentOS-aliyun.repo # 3. 在CentOS-ucloud.repo文件末尾添加如下代码vim CentOS-aliyun.repo [kerne
阅读全文
摘要:find /lib/modules -name "virtio_net.ko" | grep `uname -r` | xargs insmod modprobe virtio_net
阅读全文
摘要:1. tomcat 服务批量添加定时任务 for i in $(ll -d /dir/*tomcat*|awk '{print $NF}');do echo "40 02 * * * /bin/bash /dir/file.sh $i >/dev/null 2>&1"»/var/spool/cron
阅读全文