摘要: 来源网站 https://blog.csdn.net/a13568hki/article/details/103677458 一、条件防火墙是开启的 systemctl start firewalld1、查看防火墙的配置 firewall-cmd --statefirewall-cmd --list 阅读全文
posted @ 2023-09-04 14:47 chendeming 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 1、安装过程 #!/bin/bash # 下载安装包 wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz # 解压安装 tar zxvf openssl-1.1.1g.tar.gz cd openssl-1.1.1g ./config 阅读全文
posted @ 2022-12-14 23:51 chendeming 阅读(1565) 评论(0) 推荐(0) 编辑
摘要: 1、生成私有证书 # 生成需要密码的密钥文件server.key openssl genrsa -des3 -out server.key 2048 # 转成不用密码的rsa密钥文件 openssl rsa -in server.key -out server.key # 生成CA认证的crt文件 阅读全文
posted @ 2022-12-14 23:39 chendeming 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: 1、修改tomcat配置server.xml,让它从请求头中的X-Forwarded-Proto读取 <!-- xpath://Server/Service/Engine/Value --><Valve className="org.apache.catalina.valves.RemoteIpVa 阅读全文
posted @ 2022-12-14 22:59 chendeming 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 列举jar包内容 # 列举jar包所有文件 jar tvf test.jar 从jar包中提取文件 # 从test.jar中提取test.jar/test.txt到test.txt jar xvf test.jar test.txt 将文件覆盖入jar包 # 将test.txt覆盖写入test.ja 阅读全文
posted @ 2022-11-18 23:48 chendeming 阅读(194) 评论(0) 推荐(0) 编辑
摘要: linux服务器环境检查 CPU、内存使用情况 查看系统整体执行情况 命令执行 # 查看当前系统正在执行的进程的相关信息,包括进程ID、内存占用率、CPU占用率等 top # 返回结果 # 14:06:23 — 当前系统时间 # up 70 days, 16:44 — 系统已经运行了70天16小时4 阅读全文
posted @ 2022-07-24 21:52 chendeming 阅读(1736) 评论(0) 推荐(0) 编辑
摘要: 登录后执行语句 ALTER USER 'test'@'localhost' IDENTIFIED WITH MYSQL_NATIVE_PASSWORD BY '新密码'; 修改Host范围 update user set host = "%" where user = "root"; mysql跳过 阅读全文
posted @ 2022-07-14 10:02 chendeming 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 磁盘读写速度标准 1、机械硬盘读写速度平均60---80M每秒。 2、固态硬盘不同品牌型号之间,平均大约在150---300M每秒。 3、5400转的笔记本硬盘:50-90MB每秒。 4、7200转的台式机硬盘:90-190MB每秒。 5、固态硬盘的读写速度可以达到500MB/s。 磁盘读写能力(d 阅读全文
posted @ 2022-06-29 14:21 chendeming 阅读(14900) 评论(0) 推荐(0) 编辑
摘要: swagger2 简介 ​ API Developmentfor Everyone。 ​ Simplify API development for users, teams, and enterprises with the Swagger open source and professional 阅读全文
posted @ 2021-08-29 22:10 chendeming 阅读(915) 评论(0) 推荐(0) 编辑
摘要: 一、常用命令 1、测试端口是否能通(已有服务) 命令:nc -vz -w 2 10.0.1.161 9999 说明:-v可视化,-z扫描时不发送数据,-w超时几秒,后面跟数字 2、测试端口是否能通(没有服务) 服务机上:nc -ul 9998(开放一个端口在9998的udp服务。) 客户端上:nc 阅读全文
posted @ 2021-06-20 11:37 chendeming 阅读(1055) 评论(0) 推荐(0) 编辑