环境说明

openEuler-22.0.3-LTS + opengauss5.0.1

安装数据库

安装系统依赖包

yum -y install lksctp*
yum -y install psmisc
yum -y install bzip2
yum -y install unzip
yum -y install gcc
yum -y install gcc-c++
yum -y install perl
yum -y install libxml2-devel
yum -y install libaio-devel
yum -y install flex
yum -y install bison
yum -y install ncurses-devel
yum -y install glibc-devel
yum -y install patch
yum -y install readline-devel
yum -y install redhat-lsb-core
yum -y install openssh
yum -y install expect
yum -y install tcl

安装python依赖包

[root@openeuler161 script]# pip3 install paramiko==3.4.0
[root@openeuler161 script]# pip3 install paramiko==3.4.0
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Requirement already satisfied: paramiko==3.4.0 in /usr/local/lib/python3.9/site-packages (3.4.0)
Requirement already satisfied: cryptography>=3.3 in /usr/local/lib64/python3.9/site-packages (from paramiko==3.4.0) (42.0.7)
Requirement already satisfied: bcrypt>=3.2 in /usr/local/lib64/python3.9/site-packages (from paramiko==3.4.0) (4.1.3)
Requirement already satisfied: pynacl>=1.5 in /usr/local/lib64/python3.9/site-packages (from paramiko==3.4.0) (1.5.0)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.9/site-packages (from cryptography>=3.3->paramiko==3.4.0) (1.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=3.3->paramiko==3.4.0) (2.22pip3 install paramiko==3.4.0[root@openeuler161 script]# pip3 list 
Package             Version
------------------- -------
bcrypt              4.1.3
cffi                1.16.0
configobj           5.0.6
cryptography        42.0.7
decorator           5.0.9
distro              1.6.0
gpg                 1.16.0
libcomps            0.1.18
nftables            0.1
paramiko            3.4.0
perf                0.1
pip                 21.3.1
pycairo             1.20.0
pycparser           2.22
PyGObject           3.42.0
PyNaCl              1.5.0
pyparsing           3.0.6
python-dateutil     2.8.2
python-linux-procfs 0.6.3
pyudev              0.22.0
rpm                 4.17.0
schedutils          0.6
setuptools          59.4.0
six                 1.16.0
SSSDConfig          2.6.1

出现死循环问题可参考:添加链接描述

下载并解压依赖包

-rwxr-xr-x  1 omm dbgrp  108 May 12 05:47 openGauss-5.0.1-openEuler-64bit-cm.sha256
-rwxr-xr-x  1 omm dbgrp  22M May 12 05:47 openGauss-5.0.1-openEuler-64bit-cm.tar.gz
-rwxrwxr-x  1 omm dbgrp   65 May 12 05:47 openGauss-5.0.1-openEuler-64bit-om.sha256
-rwxrwxr-x  1 omm dbgrp  11M May 12 05:47 openGauss-5.0.1-openEuler-64bit-om.tar.gz
-rwxrwxr-x  1 omm dbgrp   65 May 12 05:47 openGauss-5.0.1-openEuler-64bit.sha256
-rwxrwxr-x  1 omm dbgrp  97M May 12 05:47 openGauss-5.0.1-openEuler-64bit.tar.bz2
-rw-------  1 omm dbgrp 135M May 12 07:37 openGauss-Package-bak_33b035fd.tar.gz
tar -xvf  openGauss-5.0.1-openEuler-64bit-cm.tar.gz
tar -xvf  openGauss-5.0.1-openEuler-64bit-om.tar.gz

配置xml文件

root@openeuler161 openGauss]# cat cluster_cm.xml 
<?xml version="1.0" encoding="UTF-8"?>
<ROOT><!-- openGauss整体信息 --><CLUSTER><PARAM name="clusterName" value="Cluster_template" /><PARAM name="nodeNames" value="openeuler161,openeuler162" /><PARAM name="gaussdbAppPath" value="/data/app" /><PARAM name="gaussdbLogPath" value="/data/omm" /><PARAM name="tmpMppdbPath" value="/data/tmp"/><PARAM name="gaussdbToolPath" value="/data/om" /><PARAM name="corePath" value="/data/corefile"/><PARAM name="backIp1s" value="192.168.99.161,192.168.99.162"/></CLUSTER><!-- 每台服务器上的节点部署信息 --><DEVICELIST><!-- node1上的节点部署信息 --><DEVICE sn="openeuler161"><PARAM name="name" value="openeuler161"/><PARAM name="azName" value="AZ1"/><PARAM name="azPriority" value="1"/><!-- 如果服务器只有一个网卡可用,将backIP1和sshIP1配置成同一个IP --><PARAM name="backIp1" value="192.168.99.161"/><PARAM name="sshIp1" value="192.168.99.161"/><!-- cm主 --> <PARAM name="cmsNum" value="1"/> <PARAM name="cmDir" value="/data/cm"/> <PARAM name="cmServerPortBase" value="15300"/> <PARAM name="cmServerListenIp1" value="192.168.99.161,192.168.99.162"/> <PARAM name="cmServerHaIp1" value="192.168.99.161,192.168.99.162"/> <!-- cmServerlevel目前只支持1 --> <PARAM name="cmServerlevel" value="1"/> <!-- cms主及所有备的hostname --> <PARAM name="cmServerRelation" value="openeuler161,openeuler162"/>       <!--dn--><PARAM name="dataNum" value="1"/><PARAM name="dataPortBase" value="26000"/><PARAM name="dataNode1" value="/data/data,openeuler162,/data/data"/><PARAM name="dataNode1_syncNum" value="0"/></DEVICE><!-- node2上的节点部署信息,其中“name”的值配置为主机名称 --><DEVICE sn="openeuler162"><PARAM name="name" value="openeuler162"/><PARAM name="azName" value="AZ1"/><PARAM name="azPriority" value="1"/><!-- 如果服务器只有一个网卡可用,将backIP1和sshIP1配置成同一个IP --><PARAM name="backIp1" value="192.168.99.162"/><PARAM name="sshIp1" value="192.168.99.162"/><!-- cm --> <PARAM name="cmDir" value="/data/cm"/> <PARAM name="cmServerPortStandby" value="15300"/> </DEVICE></DEVICELIST>
</ROOT>

配置文件说明解释参考:cluster xml 参数解释说明

执行gs_preinstall

cd  /opt/software/openGauss/script[root@openeuler161 script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/cluster_cm.xml
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
Successfully installed the tools on the local node.
Are you sure you want to create trust for root (yes/no)?no
Setting host ip env
Successfully set host ip env.
Distributing package.
Begin to distribute package to tool path.
Successfully distribute package to tool path.
Begin to distribute package to package path.
Successfully distribute package to package path.
Successfully distributed package.
Are you sure you want to create the user[omm] and create trust for it (yes/no)? yes
Please enter password for cluster user.
Password: 
Please enter password for cluster user again.
Password: 
Sorry. passwords do not match.
Please enter password for cluster user.
Password: 
Please enter password for cluster user again.
Password: 
Generate cluster user password files successfully.Successfully created [omm] user on all nodes.
Preparing SSH service.
Successfully prepared SSH service.
Installing the tools in the cluster.
Successfully installed the tools in the cluster.
Checking hostname mapping.
Successfully checked hostname mapping.
Creating SSH trust for [omm] user.
Please enter password for current user[omm].
Password: 
Checking network information.
All nodes in the network are Normal.
Successfully checked network information.
Creating SSH trust.
Creating the local key file.
Successfully created the local key files.
Appending local ID to authorized_keys.
Successfully appended local ID to authorized_keys.
Updating the known_hosts file.
Successfully updated the known_hosts file.
Appending authorized_key on the remote node.
Successfully appended authorized_key on all remote node.
Checking common authentication file content.
Successfully checked common authentication content.
Distributing SSH trust file to all node.
Distributing trust keys file to all node successfully.
Successfully distributed SSH trust file to all node.
Verifying SSH trust on all hosts.
Successfully verified SSH trust on all hosts.
Successfully created SSH trust.
Successfully created SSH trust for [omm] user.
Checking OS software.
Successfully check os software.
Checking OS version.
Successfully checked OS version.
Creating cluster's path.
Successfully created cluster's path.
Set and check OS parameter.
Setting OS parameters.
Successfully set OS parameters.
Warning: Installation environment contains some warning messages.
Please get more details by "/opt/software/openGauss/script/gs_checkos -i A -h openeuler161,openeuler162 --detail".
Set and check OS parameter completed.
Preparing CRON service.
Successfully prepared CRON service.
Setting user environmental variables.
Successfully set user environmental variables.
Setting the dynamic link library.
Successfully set the dynamic link library.
Setting Core file
Successfully set core path.
Setting pssh path
Successfully set pssh path.
Setting Cgroup.
Successfully set Cgroup.
Set ARM Optimization.
No need to set ARM Optimization.
Fixing server package owner.
Setting finish flag.
Successfully set finish flag.
Preinstallation succeeded.
[root@openeuler161 script]# 

系统详细检查

[root@openeuler161 script]# /opt/software/openGauss/script/gs_checkos -i A -h openeuler161,openeuler162 --detail
Checking items:A1. [ OS version status ]                                   : Normal     [openeuler161]openEuler_22.03_64bit[openeuler162]openEuler_22.03_64bitA2. [ Kernel version status ]                               : Normal     The names about all kernel versions are same. The value is "5.10.0-60.18.0.50.oe2203.x86_64".A3. [ Unicode status ]                                      : Normal     The values of all unicode are same. The value is "LANG=en_US.UTF-8".A4. [ Time zone status ]                                    : Normal     The informations about all timezones are same. The value is "+0800".A5. [ Swap memory status ]                                  : Warning    [openeuler162]
SwapMemory 4152356864 TotalMemory 3478061056[openeuler161]
SwapMemory 4152356864 TotalMemory 3478061056A6. [ System control parameters status ]                    : Warning    [openeuler161]Warning reason: variable 'net.ipv4.tcp_retries1' RealValue '3' ExpectedValue '5'.Warning reason: variable 'net.ipv4.tcp_syn_retries' RealValue '6' ExpectedValue '5'.Check_SysCtl_Parameter warning.[openeuler162]Warning reason: variable 'net.ipv4.tcp_retries1' RealValue '3' ExpectedValue '5'.Warning reason: variable 'net.ipv4.tcp_syn_retries' RealValue '6' ExpectedValue '5'.Check_SysCtl_Parameter warning.A7. [ File system configuration status ]                    : Normal     Both soft nofile and hard nofile are correct.      A8. [ Disk configuration status ]                           : Normal     The value about XFS mount parameters is correct.   A9. [ Pre-read block size status ]                          : Normal     The value about Logical block size is correct.     A10.[ IO scheduler status ]                                 : Normal     The value of IO scheduler is correct.              A11.[ Network card configuration status ]                   : Warning    [openeuler162]
BondMode NullWarning reason: network 'enp0s8' 'mtu' RealValue '1500' ExpectedValue '8192'[openeuler161]
BondMode NullWarning reason: network 'enp0s8' 'mtu' RealValue '1500' ExpectedValue '8192'A12.[ Time consistency status ]                             : Warning    [openeuler162]The NTPD not detected on machine and local time is "2024-05-12 13:20:48".[openeuler161]The NTPD not detected on machine and local time is "2024-05-12 13:20:49".A13.[ Firewall service status ]                             : Normal     The firewall service is stopped.                   A14.[ THP service status ]                                  : Normal     The THP service is stopped.                        
Total numbers:14. Abnormal numbers:0. Warning numbers:4.

参数都正常

执行安装

安装需要用omm用户
chmod 775 -R /opt/software/openGauss
su - omm
cd /opt/software/openGauss/scripts

[omm@openeuler161 script]$ ./gs_install -X /opt/software/openGauss/cluster_cm.xml 
Parsing the configuration file.
Check preinstall on every node.
Successfully checked preinstall on every node.
Creating the backup directory.
Successfully created the backup directory.
begin deploy..
Installing the cluster.
begin prepare Install Cluster..
Checking the installation environment on all nodes.
begin install Cluster..
Installing applications on all nodes.
Successfully installed APP.
begin init Instance..
encrypt cipher and rand files for database.
Please enter password for database:
Please repeat for database:
[GAUSS-50306] : The password of database is incorrect.The two passwords are different, please enter password again.
Please enter password for database:
Please repeat for database:
begin to create CA cert files
The sslcert will be generated in /data/app/share/sslcert/om
Create CA files for cm beginning.
Create CA files on directory [/data/app_33b035fd/share/sslcert/cm]. file list: ['client.key.cipher', 'client.key.rand', 'server.key.cipher', 'client.key', 'client.crt', 'server.key.rand', 'cacert.pem', 'server.key', 'server.crt']
Non-dss_ssl_enable, no need to create CA for DSS
Cluster installation is completed.
Configuring.
Deleting instances from all nodes.
Successfully deleted instances from all nodes.
Checking node configuration on all nodes.
Initializing instances on all nodes.
Updating instance configuration on all nodes.
Check consistence of memCheck and coresCheck on database nodes.
Successful check consistence of memCheck and coresCheck on all nodes.
Configuring pg_hba on all nodes.
Configuration is completed.
Starting cluster.
======================================================================
Successfully started primary instance. Wait for standby instance.
======================================================================
.
Successfully started cluster.
======================================================================
cluster_state      : Normal
redistributing     : No
node_count         : 2
Datanode Stateprimary           : 1standby           : 1secondary         : 0cascade_standby   : 0building          : 0abnormal          : 0down              : 0Successfully installed application.
end deploy..

数据库安装检验

[omm@openeuler161 script]$ gs_om -t status
-----------------------------------------------------------------------cluster_state             : Normal
redistributing            : No
balanced                  : Yes-----------------------------------------------------------------------[omm@openeuler161 script]$ gs_om -t query
[   Cluster State   ]cluster_state   : Normal
redistributing  : No
current_az      : AZ_ALL[  Datanode State   ]node        node_ip         port      instance     state
----------------------------------------------------------------------------
1  openeuler161 192.168.99.161  26000      6001       P Primary Normal
2  openeuler162 192.168.99.162  26000      6002       S Standby Normal
[omm@openeuler161 script]$ gs_om -t views
[GAUSS-50004] : The parameter '-t' value is incorrect.
[omm@openeuler161 script]$ gs_om -t view
NodeHeader:
version:301
time:1715491567
nodeCount:2
node:1
============================================================
azName:AZ1
azPriority:1
node :1
nodeName:openeuler161
ssh channel :
sshChannel 1:192.168.99.161
datanodeCount :1
datanodeInstanceType :primary
datanode 1:
datanodeLocalDataPath :/data/data
datanodeXlogPath :
datanodeListenIP 1:192.168.99.161
datanodePort :26000
datanodeLocalHAIP 1:192.168.99.161
datanodeLocalHAPort :26001
dn_replication_num: 2
datanodePeer0DataPath :/data/data
datanodePeer0HAIP 1:192.168.99.162
datanodePeer0HAPort :26001
============================================================
azName:AZ1
azPriority:1
node :2
nodeName:openeuler162
ssh channel :
sshChannel 1:192.168.99.162
datanodeCount :1
datanodeInstanceType :standby
datanode 1:
datanodeLocalDataPath :/data/data
datanodeXlogPath :
datanodeListenIP 1:192.168.99.162
datanodePort :26000
datanodeLocalHAIP 1:192.168.99.162
datanodeLocalHAPort :26001
dn_replication_num: 2
datanodePeer0DataPath :/data/data
datanodePeer0HAIP 1:192.168.99.161
datanodePeer0HAPort :26001
============================================================
[omm@openeuler161 script]$ netstat -nlpt
(Not all processes could be identified, non-owned process infowill not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -                   
tcp        0      0 192.168.99.161:26000    0.0.0.0:*               LISTEN      66901/gaussdb       
tcp        0      0 127.0.0.1:26000         0.0.0.0:*               LISTEN      66901/gaussdb       
tcp        0      0 192.168.99.161:26001    0.0.0.0:*               LISTEN      66901/gaussdb       
tcp        0      0 127.0.0.1:26001         0.0.0.0:*               LISTEN      66901/gaussdb       
tcp        0      0 192.168.99.161:26005    0.0.0.0:*               LISTEN      66901/gaussdb       
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -                   
tcp        0      0 192.168.99.161:15300    0.0.0.0:*               LISTEN      66889/cm_server     
tcp        0      0 192.168.99.161:15301    0.0.0.0:*               LISTEN      66889/cm_server     
tcp        0      0 192.168.99.161:15302    0.0.0.0:*               LISTEN      66870/cm_agent      
tcp6       0      0 :::111                  :::*                    LISTEN      -                   
tcp6       0      0 ::1:26000               :::*                    LISTEN      66901/gaussdb       
tcp6       0      0 ::1:26001               :::*                    LISTEN      66901/gaussdb       
tcp6       0      0 :::22                   :::*                    LISTEN      -                   
[omm@openeuler161 script]$ 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.pswp.cn/web/13208.shtml
繁体地址,请注明出处:http://hk.pswp.cn/web/13208.shtml
英文地址,请注明出处:http://en.pswp.cn/web/13208.shtml

如若内容造成侵权/违法违规/事实不符,请联系英文站点网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

前端(包含cocosCreator)开发环节调取后端接口时跨域,解决办法之反向代理

/** eslint-disable */ var http require(http),httpProxy require(http-proxy),HttpProxyRules require(http-proxy-rules);// Set up proxy rules instance var port 9090 var proxyRules new HttpProxyRules({rules: {/api/(.*): https://baidu.com/$1, // 测试环境游戏…

自学VBA 设置单元格文字格式 笔记

一.设定对应单元格对应需要显示的格式 Cells(1, 1).Font.Size 18 字体大小 Cells(1, 2).Font.Color RGB(255, 0, 0) 字体颜色 Cells(1, 3).Font.Name "黑体" 字体类型 Cells(1, 4).Font.Italic True 字体斜体 Cells(1, 5).Font.FontStyle "BOLD"…

ubuntu下gcc编译器的安装

.gcc编译器的安装 一般linux下是覆盖含有的&#xff0c;如果没有执行更新命令 sudo apt update gcc安装成功&#xff0c;可以检查一下版本 可以看出我的gcc是9.4.0版本的

验证torch.nn.Conv2d

import os import cv2 import torch import numpy as np import random import cv2 as cv from matplotlib import pyplot as pltdef f_VerifyConv2D():"""验证torch.nn.Conv2d&#xff0c; 并将输入数据及权重保存到txt文件中"""x torch.randn…

SpringBoot环境隔离Profiles

前言 通常我们开发不可能只有一个生产环境&#xff0c;还会有其它的开发&#xff0c;测试&#xff0c;预发布环境等等。为了更好的管理每个环境的配置项&#xff0c;springboot也提供了对应的环境隔离的方法。 直接上干货 知识点 激活环境方法 1&#xff0c;在application…

专用设备制造业供应商收发文件,有什么专业而轻便的方式吗?

专用设备制造业的特点包括&#xff1a;门类广、跨度大、科技含量高。它主要生产的是国民经济各部门&#xff08;包括采掘、化工、冶炼、能源、医疗卫生、环保等&#xff09;所急需的重大成套设备&#xff0c;例如矿产资源井采及露天开采设备、大型火电、水电、核电成套设备、石…

教育行业文本短信VS视频短信VS语音短信哪个好?

在教育行业中&#xff0c;文本短信、视频短信和语音短信各有其优势&#xff0c;选择哪种方式更好取决于具体的应用场景和目标。 文本短信的优势在于&#xff1a; 1.简洁明了&#xff1a;能够快速、直接地传递信息&#xff0c;对于需要快速通知或提醒的场景非常适用。 …

通过内网穿透免费部署我们的springboot+vue项目 实现跟服务器一样的效果

前文讲到通过内网穿透能够实现远程访问个人电脑的静态资源。本文将讲解通过内网穿透实现远程访问本地的项目&#xff0c;实现跟部署到服务器一样的效果&#xff1a;前文链接&#xff1a;通过内网穿透实现远程访问个人电脑资源详细过程&#xff08;免费&#xff09;&#xff08;…

深度学习之卷积神经网络理论基础

深度学习之卷积神经网络理论基础 卷积层的操作&#xff08;Convolutional layer&#xff09; 在提出卷积层的概念之前首先引入图像识别的特点 图像识别的特点 特征具有局部性&#xff1a;老虎重要特征“王字”仅出现在头部区域特征可能出现在任何位置下采样图像&#xff0c…

Python 小抄

Python 备忘单 目录 1.语法和空格 2.注释 3.数字和运算 4.字符串处理 5.列表、元组和字典 6.JSON 7.循环 8.文件处理 9.函数 10.处理日期时间 11.NumPy 12.Pandas 要运行单元格&#xff0c;请按 ShiftEnter 或单击页面顶部的 Run&#xff08;运行&#xff09;。 1.语法和空格…

三种方法进行跨服务器文件传输

今天需要在一个centOS服务器上编译一个工具, 我的本地主机是ubuntu, 但是由于服务器是合规环境, 没有文件传输的接口, 也不能访问github等外网, 所以很多依赖只能下载到ubuntu然后在想办法搞到服务器上. 这种场景有三种简单有用的办法, 整理一下. 方法一: 把主机配置成http ser…

6---Linux下版本控制器Git的知识点

一、Linux之父与Git的故事&#xff1a; Linux之父叫做“Linus Torvalds”&#xff0c;我们简称为雷纳斯。Linux是开源项目&#xff0c;所以在Linux的早期开发中&#xff0c;许多世界各地的能力各异的程序员都参与到Linux的项目开发中。那时&#xff0c;雷纳斯每天都会收到许许…

用ntpdate同步时间出现问题

1. 使用ntpdate同步 [rootnode ~]# ntpdate ntp.aliyun.com4 Aug 00:07:17 ntpdate[20924]: adjust time server 203.107.6.88 offset -0.001543 sec2. 查看时间 [rootnode ~]# date Thu Aug 4 00:07:46 CST 20223. 如果时间对不上 报错信息 cna02:~ # ntpdate ntp1.aliyu…

mysql社区版最多支持多个连接并发

MySQL社区版对于并发连接数的支持并没有一个固定的上限&#xff0c;它实际上取决于多个因素&#xff0c;包括服务器的硬件配置、MySQL的配置参数以及应用程序的设计等。 硬件配置&#xff1a;服务器的CPU、内存和磁盘I/O等硬件资源会直接影响MySQL可以处理的并发连接数。例如&a…

VMware Fusion 13.5.2 for Mac 发布,产品订阅模式首个重大变更

VMware Fusion 13.5.2 for Mac 发布&#xff0c;产品订阅模式首个重大变更 适用于基于 Intel 处理器和搭载 Apple 芯片的 Mac 的桌面虚拟化软件 请访问原文链接&#xff1a;https://sysin.org/blog/vmware-fusion-13/&#xff0c;查看最新版。原创作品&#xff0c;转载请保留…

vue props接收组件数据(类型配置)

"props"接收的常见传参类型有以下几种&#xff1a;String&#xff1a;字符串类型&#xff0c;Number&#xff1a;数字类型&#xff0c;Boolean&#xff1a;布尔类型&#xff0c;Array&#xff1a;数组类型&#xff0c;Object&#xff1a;对象类型&#xff0c;Date&am…

文章解读与仿真程序复现思路——中国电机工程学报EI\CSCD\北大核心《集装箱海港级联物流-能源耦合系统协同优化方法 》

本专栏栏目提供文章与程序复现思路&#xff0c;具体已有的论文与论文源程序可翻阅本博主免费的专栏栏目《论文与完整程序》 论文与完整源程序_电网论文源程序的博客-CSDN博客https://blog.csdn.net/liang674027206/category_12531414.html 电网论文源程序-CSDN博客电网论文源…

FPGA - GTX收发器-K码 以及 IBERT IP核使用

一&#xff0c;前言 在FPGA - Xilinx系列高速收发器---GTX中详细介绍了GTX的基础知识&#xff0c;以及IP核的调用&#xff0c;下面将补充一下GTX在使用中的高速串行数据流在接收和发送时的控制与对齐&#xff08;K码&#xff09;&#xff0c;以及高速接口GTX&#xff0c;如果G…

Springboot开发 -- Postman 调试 session 验证 接口

当我们在开发Spring Boot应用时&#xff0c;经常会遇到带有Session验证的接口&#xff0c;这些接口需要用户先登录并获取到Session ID&#xff08;或称为cookie中的JSESSIONID&#xff09;&#xff0c;然后在后续的请求中携带这个Session ID来保持会话状态。下面我将以一个实际…

力扣72-编辑距离

题目链接 记忆化搜索&#xff1a; 解题关键&#xff1a;每次仅考虑两字符串word1、word2分别从0 - i修改成0-j下标的完全匹配(下标表示&#xff09; 临界条件&#xff1a;当 i 或 j 小于0时&#xff0c;表示该字符串为空&#xff0c;编辑距离确定为 y1 或 x1 int dp[501][501…