2020-07-23

2023-11-08

达梦数据库DSC搭建 原创
2020-03-17

zcn126
码龄2年
关注
一、环境准备

硬件:两台相同配置机器、2G 内存、20G 本地磁盘、2 块网卡

操作系统:Red Hat Enterprise Linux Server release 7.2 (Maipo)

数据库版本:disql V8.1-1-66-20.03.10-118926-ENT
网络配置:
DSC01:网卡1 192.168.73.* 网卡2 10.0.0.101

DSC02:网卡1 192.168.73.* 网卡2 10.0.0.102

二、关闭防火墙

systemctl stop firewalld

systemctl disable firewalld.service

vim /etc/selinux/config 修改SELINUX=disable

三、在两个节点安装数据库

四、创建共享磁盘

先在cmd创建共享磁盘

语句如下:

vmware-vdiskmanager.exe -c -s 10000Mb -a lsilogic -t 2 “F:\XN\DMDSC1\sharedisk.vmdk”–找到你安装虚拟机的位置。

注意:必须到虚拟机的目录下创建。然后到两台虚拟机下的.vmx用文本编辑器加入

disk.locking=“false”

diskLib.dataCacheMaxSize=“0”

scsi1.present =“TRUE”

scsi1.virtualDev =“lsilogic”

scsi1:0.present=“TRUE”

scsi1:0.fileName=" E:\DSCXN\DSC01\sharedisk.vmdk"

然后手动在两台虚拟机下加入共享磁盘

五、创建DMDSC配置文件的目录

mkdir /home/dmdba/data

六、划分裸磁盘

  1. 在共享磁盘上裸设备划分
  1. 输入fdisk /dev/sdb

  2. 依次输入 n –>p-> 1 ->回车-> +100M-> 回车,完成第一块磁盘划分

  3. 依次输入 n –>p-> 1 ->回车-> +100M-> 回车,完成第二块磁盘划分

  4. 依次输入 n –>p-> 1 ->回车-> + 2048M -> 回车,完成第三块磁盘划分

  5. 依次输入n –>p->4 ->回车->回车->回车,完成第四块磁盘划分

[root@localhost bin]# fdisk -l

Disk /dev/sdb: 10.5 GB, 10485760000 bytes, 20480000 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x8cf818d4

Device Boot Start End Blocks Id System

Disk /dev/sda: 10.7 GB, 10737418240 bytes, 20971520 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x0006f656

Device Boot Start End Blocks Id System

/dev/sda1 * 2048 1026047 512000 83 Linux

/dev/sda2 1026048 20971519 9972736 8e Linux LVM

Disk /dev/mapper/rhel-root: 9093 MB, 9093251072 bytes, 17760256 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/rhel-swap: 1073 MB, 1073741824 bytes, 2097152 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@localhost bin]# fdisk /dev/sdb

Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

Command (m for help): n

Partition type:

p primary (0 primary, 0 extended, 4 free)

e extended

Select (default p): p

Partition number (1-4, default 1): 1

First sector (2048-20479999, default 2048):

Using default value 2048

Last sector, +sectors or +size{K,M,G} (2048-20479999, default 20479999): +100M

Partition 1 of type Linux and of size 100 MiB is set

Command (m for help): n

Partition type:

p primary (1 primary, 0 extended, 3 free)

e extended

Select (default p): p

Partition number (2-4, default 2): 2

First sector (206848-20479999, default 206848):

Using default value 206848

Last sector, +sectors or +size{K,M,G} (206848-20479999, default 20479999): +100M

Partition 2 of type Linux and of size 100 MiB is set

Command (m for help): n

Partition type:

p primary (2 primary, 0 extended, 2 free)

e extended

Select (default p): p

Partition number (3,4, default 3): 3

First sector (411648-20479999, default 411648):

Using default value 411648

Last sector, +sectors or +size{K,M,G} (411648-20479999, default 20479999): +2048M

Partition 3 of type Linux and of size 2 GiB is set

Command (m for help): n

Partition type:

p primary (3 primary, 0 extended, 1 free)

e extended

Select (default e): p

Selected partition 4

First sector (4605952-20479999, default 4605952):

Using default value 4605952

Last sector, +sectors or +size{K,M,G} (4605952-20479999, default 20479999):

Using default value 20479999

Par达梦数据库DSC搭建 原创
2020-03-17

zcn126
码龄2年
关注
一、环境准备

硬件:两台相同配置机器、2G 内存、20G 本地磁盘、2 块网卡

操作系统:Red Hat Enterprise Linux Server release 7.2 (Maipo)

数据库版本:disql V8.1-1-66-20.03.10-118926-ENT
网络配置:
DSC01:网卡1 192.168.73.* 网卡2 10.0.0.101

DSC02:网卡1 192.168.73.* 网卡2 10.0.0.102

二、关闭防火墙

systemctl stop firewalld

systemctl disable firewalld.service

vim /etc/selinux/config 修改SELINUX=disable

三、在两个节点安装数据库

四、创建共享磁盘

先在cmd创建共享磁盘

语句如下:

vmware-vdiskmanager.exe -c -s 10000Mb -a lsilogic -t 2 “F:\XN\DMDSC1\sharedisk.vmdk”–找到你安装虚拟机的位置。

注意:必须到虚拟机的目录下创建。然后到两台虚拟机下的.vmx用文本编辑器加入

disk.locking=“false”

diskLib.dataCacheMaxSize=“0”

scsi1.present =“TRUE”

scsi1.virtualDev =“lsilogic”

scsi1:0.present=“TRUE”

scsi1:0.fileName=" E:\DSCXN\DSC01\sharedisk.vmdk"

然后手动在两台虚拟机下加入共享磁盘

五、创建DMDSC配置文件的目录

mkdir /home/dmdba/data

六、划分裸磁盘

  1. 在共享磁盘上裸设备划分
  1. 输入fdisk /dev/sdb

  2. 依次输入 n –>p-> 1 ->回车-> +100M-> 回车,完成第一块磁盘划分

  3. 依次输入 n –>p-> 1 ->回车-> +100M-> 回车,完成第二块磁盘划分

  4. 依次输入 n –>p-> 1 ->回车-> + 2048M -> 回车,完成第三块磁盘划分

  5. 依次输入n –>p->4 ->回车->回车->回车,完成第四块磁盘划分

[root@localhost bin]# fdisk -l

Disk /dev/sdb: 10.5 GB, 10485760000 bytes, 20480000 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x8cf818d4

Device Boot Start End Blocks Id System

Disk /dev/sda: 10.7 GB, 10737418240 bytes, 20971520 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x0006f656

Device Boot Start End Blocks Id System

/dev/sda1 * 2048 1026047 512000 83 Linux

/dev/sda2 1026048 20971519 9972736 8e Linux LVM

Disk /dev/mapper/rhel-root: 9093 MB, 9093251072 bytes, 17760256 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/rhel-swap: 1073 MB, 1073741824 bytes, 2097152 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@localhost bin]# fdisk /dev/sdb

Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

Command (m for help): n

Partition type:

p primary (0 primary, 0 extended, 4 free)

e extended

Select (default p): p

Partition number (1-4, default 1): 1

First sector (2048-20479999, default 2048):

Using default value 2048

Last sector, +sectors or +size{K,M,G} (2048-20479999, default 20479999): +100M

Partition 1 of type Linux and of size 100 MiB is set

Command (m for help): n

Partition type:

p primary (1 primary, 0 extended, 3 free)

e extended

Select (default p): p

Partition number (2-4, default 2): 2

First sector (206848-20479999, default 206848):

Using default value 206848

Last sector, +sectors or +size{K,M,G} (206848-20479999, default 20479999): +100M

Partition 2 of type Linux and of size 100 MiB is set

Command (m for help): n

Partition type:

p primary (2 primary, 0 extended, 2 free)

e extended

Select (default p): p

Partition number (3,4, default 3): 3

First sector (411648-20479999, default 411648):

Using default value 411648

Last sector, +sectors or +size{K,M,G} (411648-20479999, default 20479999): +2048M

Partition 3 of type Linux and of size 2 GiB is set

Command (m for help): n

Partition type:

p primary (3 primary, 0 extended, 1 free)

e extended

Select (default e): p

Selected partition 4

First sector (4605952-20479999, default 4605952):

Using default value 4605952

Last sector, +sectors or +size{K,M,G} (4605952-20479999, default 20479999):

Using default value 20479999

Par

达梦数据库DSC搭建 原创
2020-03-17

zcn126
码龄2年
关注
一、环境准备

硬件:两台相同配置机器、2G 内存、20G 本地磁盘、2 块网卡

操作系统:Red Hat Enterprise Linux Server release 7.2 (Maipo)

数据库版本:disql V8.1-1-66-20.03.10-118926-ENT
网络配置:
DSC01:网卡1 192.168.73.* 网卡2 10.0.0.101

DSC02:网卡1 192.168.73.* 网卡2 10.0.0.102

二、关闭防火墙

systemctl stop firewalld

systemctl disable firewalld.service

vim /etc/selinux/config 修改SELINUX=disable

三、在两个节点安装数据库

四、创建共享磁盘

先在cmd创建共享磁盘

语句如下:

vmware-vdiskmanager.exe -c -s 10000Mb -a lsilogic -t 2 “F:\XN\DMDSC1\sharedisk.vmdk”–找到你安装虚拟机的位置。

注意:必须到虚拟机的目录下创建。然后到两台虚拟机下的.vmx用文本编辑器加入

disk.locking=“false”

diskLib.dataCacheMaxSize=“0”

scsi1.present =“TRUE”

scsi1.virtualDev =“lsilogic”

scsi1:0.present=“TRUE”

scsi1:0.fileName=" E:\DSCXN\DSC01\sharedisk.vmdk"

然后手动在两台虚拟机下加入共享磁盘

五、创建DMDSC配置文件的目录

mkdir /home/dmdba/data

六、划分裸磁盘

  1. 在共享磁盘上裸设备划分
  1. 输入fdisk /dev/sdb

  2. 依次输入 n –>p-> 1 ->回车-> +100M-> 回车,完成第一块磁盘划分

  3. 依次输入 n –>p-> 1 ->回车-> +100M-> 回车,完成第二块磁盘划分

  4. 依次输入 n –>p-> 1 ->回车-> + 2048M -> 回车,完成第三块磁盘划分

  5. 依次输入n –>p->4 ->回车->回车->回车,完成第四块磁盘划分

[root@localhost bin]# fdisk -l

Disk /dev/sdb: 10.5 GB, 10485760000 bytes, 20480000 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x8cf818d4

Device Boot Start End Blocks Id System

Disk /dev/sda: 10.7 GB, 10737418240 bytes, 20971520 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x0006f656

Device Boot Start End Blocks Id System

/dev/sda1 * 2048 1026047 512000 83 Linux

/dev/sda2 1026048 20971519 9972736 8e Linux LVM

Disk /dev/mapper/rhel-root: 9093 MB, 9093251072 bytes, 17760256 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/rhel-swap: 1073 MB, 1073741824 bytes, 2097152 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@localhost bin]# fdisk /dev/sdb

Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

Command (m for help): n

Partition type:

p primary (0 primary, 0 extended, 4 free)

e extended

Select (default p): p

Partition number (1-4, default 1): 1

First sector (2048-20479999, default 2048):

Using default value 2048

Last sector, +sectors or +size{K,M,G} (2048-20479999, default 20479999): +100M

Partition 1 of type Linux and of size 100 MiB is set

Command (m for help): n

Partition type:

p primary (1 primary, 0 extended, 3 free)

e extended

Select (default p): p

Partition number (2-4, default 2): 2

First sector (206848-20479999, default 206848):

Using default value 206848

Last sector, +sectors or +size{K,M,G} (206848-20479999, default 20479999): +100M

Partition 2 of type Linux and of size 100 MiB is set

Command (m for help): n

Partition type:

p primary (2 primary, 0 extended, 2 free)

e extended

Select (default p): p

Partition number (3,4, default 3): 3

First sector (411648-20479999, default 411648):

Using default value 411648

Last sector, +sectors or +size{K,M,G} (411648-20479999, default 20479999): +2048M

Partition 3 of type Linux and of size 2 GiB is set

Command (m for help): n

Partition type:

p primary (3 primary, 0 extended, 1 free)

e extended

Select (default e): p

Selected partition 4

First sector (4605952-20479999, default 4605952):

Using default value 4605952

Last sector, +sectors or +size{K,M,G} (4605952-20479999, default 20479999):

Using default value 20479999

Par

set

Command (m for help): n

Partition type:

p primary (2 primary, 0 extended, 2 free)

e extended

Select (default p): p

Partition number (3,4, default 3): 3

First sector (411648-20479999, default 411648):

Using default value 411648

Last sector, +sectors or +size{K,M,G} (411648-20479999, default 20479999): +2048M

Partition 3 of type Linux and of size 2 GiB is set

Command (m for help): n

Partition type:

p primary (3 primary, 0 extended, 1 free)

e extended

Select (default e): p

Selected partition 4

First sector (4605952-20479999, default 4605952):

Using default value 4605952

Last sector, +sectors or +size{K,M,G} (4605952-20479999, default 20479999):

Using default value 20479999

Partition 4 of type Linux and of size 7.6 GiB is set

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

Syncing disks.

  1. 编辑/etc/udev/rules.d/70-persistent-ipoib.rules文件,增加以下语句:

ACTION==“add”, KERNEL==“sdb1”, RUN+="/bin/raw /dev/raw/raw1 %N"

ACTION==“add”, KERNEL==“sdb2”, RUN+="/bin/raw /dev/raw/raw2 %N"

ACTION==“add”, KERNEL==“sdb3”, RUN+="/bin/raw /dev/raw/raw3 %N"

ACTION==“add”, KERNEL==“sdb4”, RUN+="/bin/raw /dev/raw/raw4 %N"

ACTION==“add”, KERNEL==“raw[1-4]”, OWNER=“dmdba”, GROUP=“dinstall”, MODE=“660”

最后执行start_udev,完成裸设备绑定

/sbin/udevadm trigger --type=devices --action=change

或者/sbin/udevadm control --reload

如果没有生效,重启系统 reboot

ls /dev/raw

  1. 可以通过blockdev --getsize64 /dev/raw/raw1命令查看裸设备大小

七、配置

1.准备dmdcr_cfg.ini配置文件(两个节点)

文件保存到/home/dmdba/data,内容如下

    DCR_N_GRP             = 3 
    DCR_VTD_PATH          = /dev/raw/raw2 
    DCR_OGUID          = 63635 

[GRP]
DCR_GRP_TYPE = CSS
DCR_GRP_NAME = GRP_CSS
DCR_GRP_N_EP = 2
DCR_GRP_DSKCHK_CNT = 60
[GRP_CSS]
DCR_EP_NAME = CSS0
DCR_EP_HOST = 192.168.73.20
DCR_EP_PORT = 9341
[GRP_CSS]
DCR_EP_NAME = CSS1
DCR_EP_HOST = 192.168.73.21
DCR_EP_PORT = 9343
[GRP]
DCR_GRP_TYPE = ASM
DCR_GRP_NAME = GRP_ASM
DCR_GRP_N_EP = 2
DCR_GRP_DSKCHK_CNT = 60
[GRP_ASM]
DCR_EP_NAME = ASM0
DCR_EP_SHM_KEY = 93360
DCR_EP_SHM_SIZE = 10
DCR_EP_HOST = 192.168.73.20
DCR_EP_PORT = 9349
DCR_EP_ASM_LOAD_PATH = /dev/raw
[GRP_ASM]
DCR_EP_NAME = ASM1
DCR_EP_SHM_KEY = 93361
DCR_EP_SHM_SIZE = 10
DCR_EP_HOST = 192.168.73.21
DCR_EP_PORT = 9351
DCR_EP_ASM_LOAD_PATH = /dev/raw
[GRP]
DCR_GRP_TYPE = DB
DCR_GRP_NAME = GRP_DSC
DCR_GRP_N_EP = 2
DCR_GRP_DSKCHK_CNT = 60
[GRP_DSC]
DCR_EP_NAME = DSC0
DCR_EP_SEQNO = 0
DCR_EP_PORT=5236
DCR_CHECK_PORT = 9741
[GRP_DSC]
DCR_EP_NAME = DSC1
DCR_EP_SEQNO = 1
DCR_EP_PORT=5236
DCR_CHECK_PORT = 9742

2.使用dmasmcmd工具初始化

可以将初始化内容放于txt文件,脚本文件必须以“#asm script file”开头,然后执行,文件内容如下:

#asm script file

create dcrdisk ‘/dev/raw/raw1’ ‘dcr’

create votedisk ‘/dev/raw/raw2’ ‘vote’

create asmdisk ‘/dev/raw/raw3’ ‘LOG0’

create asmdisk ‘/dev/raw/raw4’ ‘DATA0’

init dcrdisk ‘/dev/raw/raw1’ from '/home/data/dmdcr_cfg.ini’identified by ‘abcd’

init votedisk ‘/dev/raw/raw2’ from ‘/home/data/dmdcr_cfg.ini’

执行语句

./ dmasmcmd script_file=asmcmd.txt

  1. 准备DMASM的MAL配置文件(命名为dmasvrmal.ini),保存到/home/dmdba/data,两个节点都一样的配置文件

    [MAL_INST1]
    MAL_INST_NAME=ASM0
    MAL_HOST=192.168.73.20
    MAL_PORT=7236
    [MAL_INST2]
    MAL_INST_NAME=ASM1
    MAL_HOST=192.168.73.21
    MAL_PORT=7237

4.准备dmdcr.ini配置文件,保存到/home/dmdba/data目录下面

  DMASM 的两个节点分别配置 dmdcr.ini,dmdcr_path 相同,dmasvrmal.ini 文 件内容也相同,dmdcr_seqo分别为0和1。

节点1:

DMDCR_PATH = /dev/raw/raw1
DMDCR_MAL_PATH= /home/dmdba/data/dmasvrmal.ini #dmasmsvr使用

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

2020-07-23 的相关文章

  • kafka常用命令汇总(亲测自用)

    文章目录 一 启动kafka 二 查看命令 三 创建topic 四 生产者 五 消费者 六 修改topic 七 删除topic 一 启动kafka kafka 2 13 3 3 1 zookeeper 3 4 14 2 13 3 3 1 前
  • 基础篇——Pycharm的安装与使用windows+ubuntu 初学者此篇够用

    简介 Pycharm是python编程过程中最为推荐的编辑调试软件之一 其使用简单 界面友好 也成了学习Python路上必须学会的软件之一 本篇教程简单介绍一下windows用户从安装到日常使用的基本功能 其他系统也可简单参考 软件安装 P
  • 嵌入式Linux学习笔记 1-14 异常与中断

    1 异常与中断的概念引入与处理流程 上图解释了何为中断何为异常 其中中断也是属于一种异常 引申拓展为ARM对异常 中断 的处理过程 1 初始化 1 设置中断源 让他可以产生中断 如某个按键可以产生中断的话 我们可以设置他的gpio引脚为中断
  • LeetCode刷题笔记--015. 三数之和

    题目描述 给定一个包含 n 个整数的数组 nums 判断 nums 中是否存在三个元素 a b c 使得 a b c 0 找出所有满足条件且不重复的三元组 注意 答案中不可以包含重复的三元组 例如 给定数组 nums 1 0 1 2 1 4
  • 【算法】蓝桥杯dfs深度优先搜索之凑算式总结

    本文 算法 蓝桥杯dfs深度优先搜索之凑算式总结 相关文章 算法 蓝桥杯dfs深度优先搜索之排列组合总结 算法 蓝桥杯dfs深度优先搜索之图连通总结 前言 曾几何时这个词现在用正适合不过了 曾几何时我还是对dfs算法一脸懵x的状态 虽说大二

随机推荐

  • Java中32位的最高位为1的二进制数如何转换成整数

    int类型的 3的32位表示为 11111111111111111111111111111101 将32位翻转的时候应该为 10111111111111111111111111111111 当时在LeetCode做这题的时候想的是用字符串翻
  • IDEA开发工具11---Python引入第三方包

    如要在工程文件中引入requests 但是本机上并没有安装这个包 在工程文件中输入import requests 然后Alt Enter 然后回车 IDEA会自动安装这个包
  • ESP8266 连接 MQTT

    ESP8266 连接 MQTT 主控芯片 MM32F2377 MB 039 WiFi 适配器 ESP8266 开发环境 IAR 7 80 4 MQTT 模拟服务器 MQTT fx MQTT MQTT is an OASIS standard
  • 解决windows 下使用 mingw编译器 调试时 无法跟进源码

    windows 下使用 mingw编译器 调试时 无法跟进源码 最近在公司使用QT 开发 官方在线下载的 安装的QT mingw 都是没有debug版本的 由于没有debug版本动态库 所以你调试的时候压根就无法跟进QT源代码里 那么找问题
  • 关于在windows下启动zkServer.cmd闪退的解决办法

    1 下载zookeeper注册中心 下载地址 http www apache org dyn closer cgi zookeeper 下载后解压即可 进入D apach zookeeper 3 4 5 bin 双击zkServer cmd
  • ES6 数组内对象去重

    在实际的项目当中不可避免的会遇到数组里面元素重复情况 下面将介绍几种ES6数组去重的方法 1 使用Set去重 const arr 张三 张三 三张三 let set new Set arr set 自带去重 Set 张三 三张三 conso
  • Ubuntu搭建Samba服务-学习记录

    文章目录 Ubuntu安装Samba流程 Samba配置文件 Samba添加账户 配置文件修改 Samba服务控制 设置开机自动启动 通过systemctl 启动服务 通过 rc local 启动 Windows访问 参考链接 当前文章仅用
  • 福禄克电缆检测仪MS2-100有哪些功能?

    现在的通信技术人员有很多问题需要处理 而不仅仅是电缆问题 在确定连接问题的原因之前 必须先排除可能存在的电缆和服务等问题 是否有电话电压 极性是什么 远端有以太网交换机吗 PoE 是否可用 福禄克电缆检测仪MS2 100可以确认这些问题 为
  • LaTeX:插入PDF出现版本警告

    LaTeX LaTeX LATE X 插入PDF出现版本警告 文章目录 LaTeX LaTeX LATE X 插入PDF出现版本警告 1 问题描述 2 解决
  • 微信封号被限制的几种原因及解决方法

    微信被限制了也不需要紧张 找到原因对应处理就行了 一 总结一下微信微信被限制登录的几种原因 1 频繁的违规操作 微信违规操作了 比方说频繁的添加微信好友 发布违规信息 使用第三方非法破解软件等 这些行为都属于微信明令禁止的行为 如果触犯了微
  • vim连接外接显示器后右侧无法选中的问题

    RT 解决办法 在 vimrc添加如下代码 if has mouse sgr set ttymouse sgr else set ttymouse xterm2 end 原文连接 https ifconfiger com articles
  • 4.jeston nano NX安装系统、pycharm

    笔者有幸通过项目一次入手一块jeston Xavier NX和jeston nano 随即开始研究安装系统和pycharm 其中系统换了4个镜像才安装成功 其实下载安装官方的就行 其他的包括店里的都不要用 1 安装系统 务必注意镜像要下对
  • 如何修改VsCode的背景图片

    步骤 第一步 准备一张图片 图片路径最好不要出现中文 第二步 在VsCode中安装插件 搜索 background 安装这个插件 第三步 这个插件安装成功之后 里面自带了一些背景 如果喜欢可以不用换 也可以根据需要自定义 找到 settin
  • SpringBoot-线程池ThreadPoolExecutor异步处理(包含拆分集合工具类)

    ThreadPoolExecutor VS ThreadPoolTaskExecutor ThreadPoolTaskExecutor是对ThreadPoolExecutor进行了封装处理 配置文件application yml 异步线程配
  • 顺序表的静态和动态实现

    静态顺序表 所谓静态顺序表就是把空间的大小给定 结构体的定义 typedef struct SeqList DataType array MaxSize int size SeqList 基本操作的实现 void InitSeqList S
  • STM32+MS5611测气压温度例程详解,测试无误

    硬件平台 STM32F10X MS5611 JLink 软件平台 Keil 4 一 基础知识 首先 MS5611是什么 MS5611气压传感器是集合SPI和I C 高达20 MHz 总线接口的高分辨率气压传感器 分辨率可达到10cm 内部有
  • 应用层——协议

    前言 本章将介绍关于应用层的协议 如下图所示 一 应用协议的概要 利用网络的应用程序有很多 包括Web浏览器 电子邮件 远程登陆 文件传输 网络管理等 能够让这些应用进行通信处理的正是应用协议 网络应用由不同的用户和软件供应商开发而成 为了
  • Kafka源码深度解析-序列15 -Log文件结构与flush刷盘机制

    Log文件结构 在前面我们反复讲topic partition的概念 本文来分析这些不同topic 不同partition的message 在文件中 是以何种结构存储的 有兴趣朋友可以关注公众号 架构之道与术 获取最新文章 或扫描如下二维码
  • QT屏幕自适应自动布局,拖动窗口自动变大变小(一)

    QT屏幕自适应自动布局 拖动变大变小 困扰了很久 布局好ui后 随着屏幕分辨率的变化 换成笔记本或4k显示屏时 或最大化 拖动窗口 ui就乱了 挤在一起 或不能跟随窗口拉大而变化 布局是一个很重要的步骤 下面这张图 拖动窗口到最大化 结果是
  • 2020-07-23

    达梦数据库DSC搭建 原创 2020 03 17 zcn126 码龄2年 关注 一 环境准备 硬件 两台相同配置机器 2G 内存 20G 本地磁盘 2 块网卡 操作系统 Red Hat Enterprise Linux Server rel