上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
摘要: 查看网络 ip addr 设置主机名 hostnamectl status hostnamectl set-hostname ht02 在root用户权限下: 查看当前启动模式 systemctl get-default 更改模式命令: systemctl set-default graphical 阅读全文
posted @ 2019-12-06 07:02 刚好遇见Mysql 阅读(342) 评论(0) 推荐(0) 编辑
摘要: linux 6 以上 mkdir -p /mnt/cdrom/ mount /dev/sr0 /mnt/cdrom [root@ht01 yum.repos.d]# cat local.repo [Server] name=Server baseurl=file:///mnt/cdrom enabl 阅读全文
posted @ 2019-12-01 12:19 刚好遇见Mysql 阅读(1804) 评论(0) 推荐(0) 编辑
摘要: 备份asm disk header kfed 或者 dd kfed read /dev/asm_data1 > asm_data1.txt &&kfed read /dev/asm_data2 > asm_data2.txt &&kfed read /dev/asm_data3 > asm_data 阅读全文
posted @ 2019-11-10 20:12 刚好遇见Mysql 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 防火墙(firewalld)临时关闭防火墙systemctl stop firewalld永久防火墙开机自关闭systemctl disable firewalld临时打开防火墙systemctl start firewalld防火墙开机启动systemctl enable firewalld查看防 阅读全文
posted @ 2019-11-10 13:34 刚好遇见Mysql 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 异步复制 同步复制 延迟复制 阅读全文
posted @ 2019-10-16 11:26 刚好遇见Mysql 阅读(943) 评论(0) 推荐(0) 编辑
摘要: 1. 查看主库的参数设置: SQL> show parameter log_archive_dest_2 NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ log_archi... 阅读全文
posted @ 2019-10-13 16:22 刚好遇见Mysql 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 查看文件 导出数据 阅读全文
posted @ 2019-10-12 17:33 刚好遇见Mysql 阅读(605) 评论(0) 推荐(0) 编辑
摘要: postgres=# select * from pg_tables where tablename='t'; schemaname | tablename | tableowner | tablespace | hasindexes | hasrules | hastriggers | rowse 阅读全文
posted @ 2019-10-12 14:05 刚好遇见Mysql 阅读(2158) 评论(0) 推荐(0) 编辑
摘要: pg_switch_xlog() 是9.6版本下的命令,强制手动切换归档日志 postgres=# select version(); version PostgreSQL 11.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 201203 阅读全文
posted @ 2019-10-12 11:35 刚好遇见Mysql 阅读(1487) 评论(0) 推荐(0) 编辑
摘要: 逻辑备份 postgres=# select * from t; id | name + 1 | http 2 | qdds (2 rows) postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Ac 阅读全文
posted @ 2019-10-11 18:27 刚好遇见Mysql 阅读(898) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页