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


MongoDB副本集部署备忘

未部署仲裁节点复制配置文件与文件夹cp /etc/mongod.conf /etc/mongod.xxx.conf配置文件中加入副本集名称#replication:replication: #副本集的名称 replSetName: "meshCentral"更改配置文件中的d