自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(127)
  • 收藏
  • 关注

原创 springboot创建一个响应式请求的方式

【代码】springboot创建一个响应式请求的方式。

2024-02-20 10:52:21 520

原创 OpenAiSubscriber

【代码】OpenAiSubscriber。

2023-11-20 16:13:34 148

原创 连接到EC2,开启root登录

1.启动完新实例,下载密钥对密钥对登录。4.修改ssh配置文件,允许密码登陆。6.为ec2-user设置密码。2.为root设置密码。3.切换到root权限。

2023-10-21 14:15:55 510

原创 Java远程debug

【代码】Java远程debug。

2023-06-19 15:04:03 223

原创 SpringBoot Webflux 跨域问题

【代码】SpringBoot Webflux 跨域问题。

2023-06-07 15:19:01 302

原创 使用Kubeadm安装简单集群实战

使用Kubeadm安装简单集群实战

2022-08-30 16:06:43 187 1

原创 Github进行fork后如何与原仓库同步

Github进行fork后如何与原仓库同步

2022-07-27 19:24:13 325

原创 RequestAspect

RequestAspect

2022-07-08 08:48:01 164

原创 java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop

Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

2022-06-22 19:58:01 388

原创 spark 相关

spark

2022-06-02 16:28:48 235

原创 Spring验证用户输入参数List

1. 简介验证用户输入是任何应用程序中的常见要求。我们将介绍验证对象列表作为 Spring 控制器参数的方法。我们将在控制器层添加验证,以确保用户指定的数据满足指定的条件。2. 给 Bean 添加约束对于我们的示例,我们将使用一个简单的 Spring 控制器来管理电影数据库。我们将专注于接受电影列表并在对列表执行验证后将它们添加到数据库中的方法。因此,让我们首先使用javax 验证在Movie bean上添加约束:public class Movie { private String

2022-05-10 13:26:46 898

原创 Azure Linux如何启用root用户登录

Azure 里的 linux 模板应该是通过了 sshd_config 文件禁用了 Root 登陆,我们只需重新开启即可。sudo suvi /etc/ssh/sshd_config# 在 sshd_config 文件里的 “Authentication” 部分加上以下内容PermitRootLogin yes# 完成以后退出 vi 并保存service sshd restart # 重启 ssh 服务以应用更改passwd root # 直接修改 Root 用户的密码这样重新登陆 s

2022-02-18 14:45:48 3278 1

原创 【Kubernetes一】核心概念架构

2022-02-15 17:52:58 186

原创 【Kubernetes二】Centos7.9 Kubespray 2.18 安装 Kubernetes 1.22

Kubespray is a composition of Ansible playbooks, inventory, provisioning tools, and domain knowledge for generic OS/Kubernetes clusters configuration management tasks. Kubespray provides:a highly available clustercomposable attributessupport for most .

2022-02-15 17:43:15 2551

原创 VMware 桥接设置网卡

问题:刚装好的虚拟机,启动ssh连不上查看真实网卡选择真实网卡

2022-02-14 15:22:03 605

原创 Centos7.9部署CDH6.3.2集群(离线版本)

https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/installation.html一.CDH介绍二.安装环境1.系统说明2.版本说明CM 6.3.1,CDH 6.3.2 (6.3.3版本及以上的要收费了)3.组件版本4.安装包准备(1)Cloudera Manger下载cloudera-manager-server-6.3.1-1466458.el7.x86_64cloudera-manager-agent-

2022-01-10 10:47:31 1672 1

原创 centos7.9配置本地yum源

1.创建文件夹mkdir /mnt/cdrommkdir /mnt/iso2.上传ISO文件到 /mnt/iso3.挂载镜像mount -t iso9660 -o loop /mnt/iso /mnt/cdrom/4.修改yum源配置cd /etc/yum.repos.d/#重命名所有.repo文件rename .repo .repo.bak *#创建CentOS-Media.repo.bak的拷贝cp CentOS-Media.repo.bak CentOS-Media.repo

2022-01-10 09:43:03 4613

原创 HBASE 2.0.6 源码编译

忘记安装gcc./setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel

2021-12-03 10:47:55 1762

原创 dedecms优化问题

1.子栏目currentstyle无效问题2.dedecms提交表单返回当前页并刷新plus/diy.php if($dsql->ExecuteNoneQuery($query)) { $id = $dsql->GetLastID(); if($diy->public == 2) { //diy.php?action=view&diyid={

2021-08-08 16:47:45 91

原创 windows常用cmd命令

删除文件夹rmdir node_modules /s/q拷贝文件夹xcopy a b /s/y/d

2021-07-21 09:23:24 68

原创 Impala 常用

impala与LDAP集成后的登录impala-shell -i 127.0.0.1:21000 -u root -l --auth_creds_ok_in_clear[root@AAA ~]$ impala-shell -i 127.0.0.1:21000 -u root -l --auth_creds_ok_in_clearStarting Impala Shell using LDAP-based authenticationLDAP password for root : Connect

2021-05-26 17:49:47 362

原创 Failed to connect to github.com port 443: Timed out /ssh: connect to host github.com port 22: Connec

git config --global http.proxy 127.0.0.1:1080 为全局的 git 项目都设置代理git config --local http.proxy 127.0.0.1:1080 为某个 git 项目单独设置代理

2021-04-09 18:56:32 845

原创 hbase SingleColumnValueFilter 列不存在 无法过滤

当某一行没有要过滤的字段时,SingleColumnValueFilter是默认这一行符合过滤条件的。接下来就要让SingleColumnValueFilter在判断的时候把这个策略改改。查看源码发现是有方法可以更改这个策略的/** * This filter is used to filter cells based on value. It takes a {@link CompareFilter.CompareOp} * operator (equal, greater, not equal

2021-03-05 17:28:48 655

原创 MybatisPlusException: error: entityList must not be empty

com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: error: entityList must not be empty at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:51) at com.baomidou.mybatisplus.core.toolkit.Assert.isTrue(As

2021-03-03 17:31:20 3919 2

原创 druid sql 示例

1.生成mysql 建表语句import com.alibaba.druid.sql.ast.SQLDataTypeImpl;import com.alibaba.druid.sql.ast.SQLIndexDefinition;import com.alibaba.druid.sql.ast.expr.SQLIdentifierExpr;import com.alibaba.druid.sql.ast.statement.SQLAssignItem;import com.alibaba.drui

2021-02-25 16:13:11 515 1

原创 antd pro 使用 wowjs 动画

官方文档animate.cssWOW安装 npm i wowjs --save # 笔者当前版本 1.1.3 # 依 animate.css版本 4.1.1引入animate.cssglobal.less引入:@import '~animate.css/animate.min.css';组件加入动画index.jsx// 依赖import { WOW } from 'wowjs'; // 初始化 componentDidMount() { new WOW({

2021-02-05 17:36:53 301

原创 IDEA 2020.3.1 springboot 配置文件 yml 不提示

IntelliJ IDEA 2020.3.1 (Ultimate Edition)Build #IU-203.6682.168, built on December 29, 2020提示出现!!

2021-02-04 16:05:01 1067 13

原创 CSS

最佳 CSS 写法body { /* 字体 */ font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif; /* 字号 */ font-size: 16px; /* 字体颜色 */ color: #333; /* 行距 */ line-height: 1.75;}-apple-system 和 BlinkMacSystemFont 就是让

2021-02-02 13:44:50 300

原创 IDEA 搜索正则表达式替换

src=“images/(.*).png”src=“images/$1.png” th:src=“images/$1.png”$1 取第一个括号内

2021-01-27 15:24:29 1004

原创 error cb() never called!

D:\WebstormProjects\cms-web>npm -v6.14.10D:\WebstormProjects\cms-web>node -vv14.15.4查看 npm配置,如果存在registry为https://registry.npm.taobao.org,编辑文件C:\Users\用户名.npmrc,删掉对应配置npm config listornpm config ls -l清理缓存npm cache clean -fnpm cache verif

2021-01-26 14:41:42 7723

原创 windows 10 快速删除文件夹

rmdir/s/q D:\WebstormProjects\cms-web\node_modules/s 删除指定目录中的子目录和文件/q 不询问是否删除目录和子目录

2021-01-26 11:21:00 875 2

原创 webstorm2020.3 Eslint 配置

prettier 格式化代码

2021-01-20 14:34:51 1183

原创 ANT DESIGN PRO V4 编译设置路由前缀

package.json "build": "cross-env PUBLIC_PATH=/cms/ umi build", "start": "cross-env PORT=8002 PUBLIC_PATH=/cms/ umi dev",config.jsconst { PUBLIC_PATH } = process.env;export default defineConfig({ hash: true, history: { type: 'hash' }, bas

2021-01-14 11:13:30 846

原创 Python in RHEL 8

To install Python2 or 3yum install python3 oryum install python2Why not just “Python”[root@ip-172-31-41-9 init.d]# python-bash: python: command not found[root@ip-172-31-41-9 init.d]# That’s why you can use the alternatives mechanism to enable

2021-01-05 14:58:26 144

原创 Install EPEL repository failed, please check it. RHEL 8

How To enable the EPEL Repository on RHEL 8 / CentOS 8 Linux[Info] Checking the EPEL repository...[Error] Install EPEL repository failed, please check it.[root@ip-172-31-41-9 opt]# rpm -ql epel-releasepackage epel-release is not installed[root@ip-172

2021-01-05 14:12:58 3562

原创 CentOS 8 RHEL8 开启 TCP BBR

TCP 拥塞控制算法传统 TCP 拥塞控制算法,基于丢包反馈的协议。基于「丢包反馈」的协议是一种 被动式 的拥塞控制机制,其依据网络中的丢包事件来做网络拥塞判断。即便网络中的负载很高时,只要没有产生拥塞丢包,协议就不会主动降低自己的发送速度。这种协议可以最大程度的利用网络剩余带宽,提高吞吐量。然而,由于基于丢包反馈协议在网络近饱和状态下所表现出来的侵略性,一方面大大提高了网络的带宽利用率;但另一方面,对于基于丢包反馈的拥塞控制协议来说,大大提高网络利用率同时意味着下一次拥塞丢包事件为期不远了,所以这.

2021-01-05 10:46:47 532

原创 Yarn 常用

https://classic.yarnpkg.com/en/docs/cli/install/#代理yarn config set registry https://registry.npm.taobao.org#安装依赖yarn install --no-lockfile --update-checksums#启动yarn start#打包yarn run build

2021-01-04 17:49:53 551

原创 yarn Integrity check failed ... computed integrity doesn‘t match our records

建议清理缓存$ yarn cache clean安装依赖命令参考 https://classic.yarnpkg.com/en/docs/cli/install/$ yarn install --no-lockfile --update-checksums

2021-01-04 17:47:42 5421 1

原创 SecureCRT 连接AWS ES2

C:\Users\Administrator\.ssh>ssh-keygen -e -f aws.pem > aws.pem.pub

2021-01-04 16:09:18 547

原创 webStorm 自定义模板

dispatch dva dispatch dispatch({ type: '/', payload: { }, });dispatchc dva dispatch callback dispatch({ type: '/', payload: { }, callback: response => { if (respon

2020-12-30 10:47:32 129

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除