摘要:
1.pvcreate /dev/mapper/mpathq Physical volume "/dev/mapper/mpathq" successfully created. 2.vgcreate -s32 vgORADUMP /dev/mapper/mpathq Volume group "vg 阅读全文
posted @ 2021-03-09 16:14
菲阳公社
阅读(101)
评论(0)
推荐(0)
摘要:
重要的设备文件 1./dev/console:系统控制台,错误信息和诊断信息通常会发到这个设备 2./dev/tty:如果一个进程有控制终端的话,那么他就是这个控制终端的别名 3./dev/null:文件为空的设备 系统调用和驱动程序 1.系统调用:对文件和设备进行访问和控制的函数 2.操作系统的核 阅读全文
posted @ 2021-03-09 11:40
菲阳公社
阅读(76)
评论(0)
推荐(0)
摘要:
## Scanf -- scanf()会在遇到第一个空白字符空格、制表符或者换行符处停止读取。 #include<stdio.h> #define PRAISE "What a super marvelous name!" int main(void){ char name[40]; printf( 阅读全文
posted @ 2021-03-09 11:37
菲阳公社
阅读(62)
评论(0)
推荐(0)
摘要:
格式宽度 -#include<stdio.h> -#define PAGES 931 int main(void) { printf("%d\n",PAGES); printf("%2d\n",PAGES); //自动扩展 printf("%10d\n",PAGES); //又对齐 printf(" 阅读全文
posted @ 2021-03-09 11:36
菲阳公社
阅读(345)
评论(0)
推荐(0)
摘要:
安装(RPM 编译 GIT PIP) 1.查看安装版本 yum info ansible 2.安装yum install ansible 3.查看版本 ansible --version 4.修改主机清单文件 /etc/ansible/hosts 配置文件 1./etc/ansible/ansibl 阅读全文
posted @ 2021-03-08 17:02
菲阳公社
阅读(79)
评论(0)
推荐(0)
摘要:
## 查看数据库字符集设置 1.使用工具字符集配置 2. locale操作系统字符集 3.show create database dbname; 4.show create table table_name; ## 如何转换字符集 1.GBK到UNICODE必须通过码表转换 2.GBK到UTF8: 阅读全文
posted @ 2021-03-08 14:48
菲阳公社
阅读(338)
评论(0)
推荐(0)
摘要:
部分删除 set PERSIST partial_revokes=on; 针对*.*赋权情况,需要部分清除某些库权限,需要配置该参数 个人密码(安全) 密码保留期限 alter user password expire *** 修改密码 password_require_current=on --修 阅读全文
posted @ 2021-03-05 15:08
菲阳公社
阅读(127)
评论(0)
推荐(0)
摘要:
##多实例出现 充分的利用主机资源 拆分数据库,限制单个实例大小 资源隔离,减小相互影响 分担连接数 ##mysql配置文件读取 读取配置文件顺序: /etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf --defau 阅读全文
posted @ 2021-03-04 14:33
菲阳公社
阅读(187)
评论(0)
推荐(0)
摘要:
MYSQL安装 安装准备 1 numactl --hardware show 2 /etc/security/limits.conf & 网络优化 3 Swap 4 IO调度 --deadline noop 5 文件系统 xfs 6 selinux&iptables 安装步骤 1 创建账号 grou 阅读全文
posted @ 2021-03-03 14:53
菲阳公社
阅读(74)
评论(0)
推荐(0)
浙公网安备 33010602011771号