kk Blog —— 通用基础


date [-d @int|str] [+%s|"+%F %T"]
netstat -ltunp
sar -n DEV 1

centos 安装 MariaDB

https://blog.csdn.net/weixin_39929918/article/details/110599382

centos7

在线安装 – 慢

离线安装

1
2
rpm -qa | grep -i mariadb-libs
rpm -ev --nodeps mariadb-libs-5.5.68-1.el7.x86_64

点击图中的 baseurl

下载

1
2
3
4
5
6
rpm -ivh galera-4-26.4.6-1.el7.centos.x86_64.rpm
rpm -ivh MariaDB-common-10.5.8-1.el7.centos.x86_64.rpm
rpm -ivh MariaDB-compat-10.5.8-1.el7.centos.x86_64.rpm
rpm -ivh MariaDB-shared-10.5.8-1.el7.centos.x86_64.rpm
rpm -ivh MariaDB-client-10.5.8-1.el7.centos.x86_64.rpm
rpm -ivh MariaDB-server-10.5.8-1.el7.centos.x86_64.rpm

centos8

1
2
3
4
5
6
yum install libpmem
rpm -ivh galera-4-26.4.16-1.el8.x86_64.rpm
rpm -ivh MariaDB-common-10.11.7-1.el8.x86_64.rpm MariaDB-shared-10.11.7-1.el8.x86_64.rpm
rpm -ivh MariaDB-client-10.11.7-1.el8.x86_64.rpm
rpm -ivh MariaDB-client-10.11.7-1.el8.x86_64.rpm
rpm -ivh MariaDB-server-10.11.7-1.el8.x86_64.rpm

tools, mysql

« ubuntu 编译strongswan CentOS8.5 安装 »