摘要:        
创建脚本 新机器配置一次即可 sudo vi /home/safe_rm.sh #!/bin/bash TRASH_DIR="$HOME/.rm_backup" if [ ! -d $TRASH_DIR ]; then mkdir $TRASH_DIR fi for i in $*; do if [    阅读全文
posted @ 2023-02-19 20:44
MasonLee
阅读(137)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1 添加--trusted-host 有效 但是每次安装增加此参数,比较麻烦 pip install pymysql -i http://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn ##2.创建    阅读全文
posted @ 2023-02-19 16:56
MasonLee
阅读(230)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.卸载docker sudo apt-get autoremove docker docker-ce docker-engine docker.io containerd runc 2.查看删除docker其他有没有没有卸载干净的包 3.卸载相应的包 sudo apt-get autoremove    阅读全文
posted @ 2023-02-19 15:24
MasonLee
阅读(200)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Ubuntu下“wget:unable to resolve host address”解决方案 “wget:unable to resolve host address”的产生原因为host地址无法解析。解决方案: 使用root权限,修改文件/etc/resolv.conf,增加如下两行: nam    阅读全文
posted @ 2023-02-19 14:58
MasonLee
阅读(1311)
评论(0)
推荐(0)
        

 浙公网安备 33010602011771号
浙公网安备 33010602011771号