
执行:
cd /etc/yum.repos.d/
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
wget: command not found
执行:(安装wget命令)
yum install wget
执行:(更新yum源为阿里镜像)
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

执行netstat 命令查看启动端口
netstat -anp 可以看到pid
netstat -tln 不能看到进程id








![pytorch_lightning报错 You requested gpu: [1],But your machine only has: [0]](https://img-blog.csdnimg.cn/6288ae88d7ca4f909f35ce3d2ba8f771.png)










![[Go版]算法通关村第十一关青铜——理解位运算的规则](https://img-blog.csdnimg.cn/img_convert/71bc7ec56031848469c31067717a7772.png#pic_center)