摘要: https://blog.csdn.net/qq_40990836/article/details/118753755 Nginx添加SSL证书实现https访问 https://www.jianshu.com/p/69e41f4ab321 阅读全文
posted @ 2022-02-09 15:37 jentary 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1.什么是SPI SPI全称Service Provider Interface,是Java提供的一套用来被第三方实现或者扩展的接口,它可以用来启用框架扩展和替换组件。 SPI的作用就是为这些被扩展的API寻找服务实现。 2.SPI和API的使用场景 API (Application Program 阅读全文
posted @ 2022-02-09 09:51 jentary 阅读(74) 评论(0) 推荐(0) 编辑
摘要: JsonPath JsonPath:从多层嵌套Json中解析所需要的值 <!-- https://mvnrepository.com/artifact/com.jayway.jsonpath/json-path --> <dependency> <groupId>com.jayway.jsonpat 阅读全文
posted @ 2022-02-09 09:48 jentary 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 在做微信公众号页面开发里,触发微信返回事件的时候有2个需求。 我现在大概的页面流程是页面a->页面b,在页面b操作数据,在页面b点击返回,会回到a页面并刷新。在页面a点击返回,直接退回到公众号页面。 所以我需要监听2个事件。1是监听a页面的返回事件,2是判断页面a是不是从上个页面返回来的。 监听返回 阅读全文
posted @ 2022-01-20 15:04 jentary 阅读(542) 评论(0) 推荐(0) 编辑
摘要: centos7 将home目录空间扩容到根目录 [root@localhost ~]# umount /home/ [root@localhost ~]# lvremove /dev/mapper/centos-home Do you really want to remove active log 阅读全文
posted @ 2022-01-14 15:07 jentary 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: kityformula http://fex-team.github.io/kityformula/latex.html 手写公式 Myscript 阅读全文
posted @ 2021-09-07 13:40 jentary 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 基本语句 锚点:^ 和 $ ^The 匹配任何以“The”开头的字符串 -> Try it! (https://regex101.com/r/cO8lqs/2) end$ 匹配以“end”为结尾的字符串 ^The end$ 抽取匹配从“The”开始到“end”结束的字符串 roar 匹配任何带有文本 阅读全文
posted @ 2021-09-07 08:30 jentary 阅读(108) 评论(0) 推荐(0) 编辑
摘要: growpart /dev/vdb 1 resize2fs /dev/vdb1 https://www.jianshu.com/p/767ba652b6e2 阅读全文
posted @ 2021-08-25 14:54 jentary 阅读(62) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/tugenhua0707/p/10927722.html x509证书一般会用到三类文,key,csr,crt Key 是私用密钥openssl格,通常是rsa算法。 Csr 是证书请求文件,用于申请证书。在制作csr文件的时,必须使用自己的私钥来签署 阅读全文
posted @ 2021-08-17 16:33 jentary 阅读(457) 评论(0) 推荐(0) 编辑
摘要: mysql -uroot -p123456 edutest -f < /home/xxx.sql 阅读全文
posted @ 2021-07-12 14:26 jentary 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 循环授权 chmod 755 -R /mnt/wwwimages/ 阅读全文
posted @ 2021-07-12 14:10 jentary 阅读(13) 评论(0) 推荐(0) 编辑
摘要: unzip:unzip解压文件到指定目录 1、把文件解压到当前目录下 unzip test.zip 2、如果要把文件解压到指定的目录下,需要用到-d参数。 unzip -d /temp test.zip 3、解压的时候,有时候不想覆盖已经存在的文件,那么可以加上-n参数 unzip -n test. 阅读全文
posted @ 2021-07-06 14:16 jentary 阅读(162) 评论(0) 推荐(0) 编辑
摘要: <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> 阅读全文
posted @ 2021-05-31 11:01 jentary 阅读(40) 评论(0) 推荐(0) 编辑
摘要: session永不过期的方法 打开php.ini设置文件,修改三行如下: 1、session.use_cookies 把这个的值设置为1,利用cookie来传递sessionid 2、session.cookie_lifetime 这个代表SessionID在客户端Cookie储存的时间,默认是0, 阅读全文
posted @ 2021-05-18 15:27 jentary 阅读(187) 评论(0) 推荐(0) 编辑
摘要: [client]#password = your_passwordport = 3306socket = /tmp/mysql.sock[mysqld]port = 3306socket = /tmp/mysql.sockdatadir = /home/mysqldatadefault_storag 阅读全文
posted @ 2021-05-17 11:16 jentary 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 因为JMeter是使用JAVA写的,所以使用JMeter之前,先安装JAVA环境,本文就不讲不如安装JAVA环境了。. JAVA环境变量配置:https://jingyan.baidu.com/article/fd8044fa2c22f15031137a2a.html 解压下载的二进制包,进入bin 阅读全文
posted @ 2021-04-27 16:45 jentary 阅读(136) 评论(0) 推荐(0) 编辑
摘要: C:平均并发用户数 n:平均每天访问的用户数 L:从登录到推出的平均时间 T:考察的时间长度 C=NL/T 1.吞吐量:单位时间内系统处理用户的请求数 2.吞吐率:每秒处理的用户请求(TPS) 运维监控平台 Grafana https://blog.csdn.net/weixin_42230348/ 阅读全文
posted @ 2021-04-13 17:02 jentary 阅读(41) 评论(0) 推荐(0) 编辑
摘要: “10M的宽带的带宽是1280KB/s。 换算公式:1Mb/s=1024x1024b/s=1024Kb/s=1024/8KB/s=128KB/s。 吞吐率(Requests per second) 概念:服务器并发处理能力的量化描述,单位是reqs/s,指的是某个并发用户数下单位时间内处理的请求数。 阅读全文
posted @ 2021-04-13 15:30 jentary 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1.wamp环境idea 添加xdebug 调试php 修改 phpForApache.ini [xdebug] zend_extension ="D:/soft/php/wamp64/bin/php/php5.6.25/zend_ext/php_xdebug-2.4.1-5.6-vc11-x86_ 阅读全文
posted @ 2021-04-06 10:46 jentary 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 解压 unzip logstash-6.6.0.zip 前台启动 /mnt/escache/elasticsearch-6.6.0/logstash-6.6.0/bin/logstash -f /mnt/escache/elasticsearch-6.6.0/logstash-6.6.0/jdbc_ 阅读全文
posted @ 2021-03-11 16:37 jentary 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 安装宝塔 yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 安装软件版本 宝塔迁移修改mysql数据文件目录 重启mysql /etc/rc. 阅读全文
posted @ 2021-03-10 16:53 jentary 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 在安装CENTOS7的时候出现这个问题[sdb] No Caching mode page found [sdb] Assuming drive cache:write through然后卡在这个地方了 进过多方位排查再启动选择install test 这个地方的时候按键盘E进入编辑将命令vmlin 阅读全文
posted @ 2021-03-10 13:54 jentary 阅读(1501) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_44567104/article/details/90170646 阅读全文
posted @ 2021-03-09 13:44 jentary 阅读(45) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/26551408 service nginx status 阅读全文
posted @ 2021-03-08 10:51 jentary 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 阿里云挂载云盘第一步 在阿里云管理员后台,云盘管理中心挂载好云盘在哪个服务器上面。 登录 ECS管理控制台 在左侧导航栏中,选择 存储 > 云盘 选择地域。 找到 待挂载 云盘,在 操作 列中,选择 更多 > 挂载。 弹出框中完成设置 目标实例:只能选择同一可用区的ECS实例。 磁盘随实例释放:如果 阅读全文
posted @ 2021-03-06 11:33 jentary 阅读(573) 评论(0) 推荐(0) 编辑
摘要: centos7 kibana 安装 tar -zxvf kibana-6.6.0-linux-x86_64.tar.gz 修改配置文件config下kibana.yml文件 server.port: 5601 server.host: "http://192.168.233.100:5601" el 阅读全文
posted @ 2021-03-05 16:03 jentary 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 1、由于CentOS 的yum源中没有mysql,需要到mysql的官网下载yum repo配置文件。下载命令:wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm2、然后进行repo的安装:rpm -iv 阅读全文
posted @ 2021-03-05 11:36 jentary 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1、安装PHP5yum install php #根据提示输入Y直到安装完成2、安装PHP组件,使 PHP5 支持 MySQLyum install php-mysql php-gd libjpeg* php-imap php-ldap php-odbc php-pear php-xml php-x 阅读全文
posted @ 2021-03-04 14:41 jentary 阅读(66) 评论(0) 推荐(0) 编辑
摘要: Centos7默认已经安装httpd服务,只是没有启动。 如果你需要全新安装apache,可以yum install -y httpd 启动服务:systemctl start httpd.service 重启Apache服务了 查看状态 httpd [root@iZj6c6r59dfzz11wms 阅读全文
posted @ 2021-03-04 14:08 jentary 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://www.elastic.co/downloads/elasticsearch 中文社区 https://elasticsearch.cn/download/ es是不允许使用root用户启动的所以这里我新建用户:elk,执行命令 useradd elk passwd elk 阅读全文
posted @ 2021-03-03 16:46 jentary 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 一、安装gcc依赖 由于 redis 是用 C 语言开发,安装之前必先确认是否安装 gcc 环境(gcc -v),如果没有安装,执行以下命令进行安装 [root@localhost local]# yum install -y gcc 二、下载并解压安装包 [root@localhost local 阅读全文
posted @ 2021-02-22 08:45 jentary 阅读(94) 评论(0) 推荐(0) 编辑
摘要: nexus3安装和使用 一、nexus3的安装和启动 1.在官网下载nexus3 2.安装nexus 解压到指定文件夹D:\nexus3\,得到 nexus-3.16.2-01 文件夹和 sonatype-work 文件夹,nexus-3.16.2-01文件夹放的是nexus服务器相关的文件,son 阅读全文
posted @ 2021-01-26 14:43 jentary 阅读(460) 评论(0) 推荐(0) 编辑
摘要: maven运行update命令时报org/apache/maven/shared/filtering/MavenFilteringException错误 在eclipse中对准项目运行maven->update project命令时报错:org/apache/maven/shared/filteri 阅读全文
posted @ 2021-01-26 14:05 jentary 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 下载 https://help.sonatype.com/repomanager3/download/download-archives repository-manager-3 #修改环境变量 vim /etc/profile export NEXUS_HOME=/usr/local/nexus/ 阅读全文
posted @ 2021-01-22 14:15 jentary 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1、安装依赖包 yum -y install policycoreutils openssh-server openssh-clients postfix 3、开启postfix postfix支持gitlab发信功能,设置postfix开机自起 systemctl enable postfix & 阅读全文
posted @ 2021-01-22 10:36 jentary 阅读(69) 评论(0) 推荐(0) 编辑
摘要: systemctl list-units --type=service Jenkins安装过程 ①、准备安装环境 centos7, jdk8 ②、使用命令安装 sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redh 阅读全文
posted @ 2020-11-27 14:32 jentary 阅读(93) 评论(0) 推荐(0) 编辑
摘要: CSRF(Cross Site Request Forgery) 一般被翻译为 跨站请求伪造,属于网络攻击领域范围。相比于 SQL 脚本注入、XSS等等安全攻击方式,CSRF 的知名度并没有它们高。但是,它的确是每个系统都要考虑的安全隐患,就连技术帝国 Google 的 Gmail 在早些年也被曝出 阅读全文
posted @ 2020-11-26 15:27 jentary 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 网关、开放平台如何设计appKey,appSecret,accessToken的生成和校验机制 https://blog.csdn.net/ywg_1994/article/details/103518806?utm_medium=distribute.pc_relevant.none-task-b 阅读全文
posted @ 2020-11-20 17:15 jentary 阅读(92) 评论(0) 推荐(0) 编辑
摘要: public class EnvironmentTest { @Test public void propertyTest() { // Java 系统属性 String key = "java.home"; StandardEnvironment environment = new Standar 阅读全文
posted @ 2020-11-20 15:02 jentary 阅读(1399) 评论(0) 推荐(0) 编辑
摘要: //实例化BpmnModel对象 BpmnModel bpmnModel=new BpmnModel(); //开始节点的属性 StartEvent startEvent=new StartEvent(); startEvent.setId("start1shareniu"); startEvent 阅读全文
posted @ 2020-11-19 14:54 jentary 阅读(541) 评论(0) 推荐(0) 编辑