almalinux

sed -e 's|^mirrorlist=|# mirrorlist=|g' \ -e 's|^# baseurl=https://repo.almalinux.org/almalinux|baseurl=https://mirrors.nju.edu.cn/alma


openEuler22.03-LTS-SP1部署后优化笔记

中科大源替换别问,问就是自带源在某些网络环境下和国外源一样慢参考中科大centos脚本,赞美科大源sed -e 's|^baseurl=http://repo.openeuler.org|baseurl=https://mirrors.ustc.edu.cn/openeuler|g'


【转】tar 命令备份系统

备份(本机备份整个系统,以后还原还是还原到本机)注意根目录下要有充足的可用空间用于备份。(1)tar.gz格式备份cd / && tar cvpzf system_backup.tar.gz / --exclude=/proc --exclude=/lost+found --excl


Postgres安装

安装服务rpm -Uvh https://mirrors.aliyun.com/postgresql/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpmsed -i "s@https://download.po


解决Win11右键菜单问题

Win11的右键菜单绝对是反人类的设计,但这个问题解决起来就是半分钟、一句话的事情。首先Win+X打开Windows powershell(管理员)(PS:现在貌似叫Windows 终端(管理员))切换回经典右键菜单reg add "HKCU\Software\Classes\CLSID\