- 博客(37)
- 资源 (11)
- 收藏
- 关注
原创 drools通用工具类
package com.itheima.drools.config;import org.drools.decisiontable.InputType;import org.drools.decisiontable.SpreadsheetCompiler;import org.kie.api.KieBase;import org.kie.api.KieServices;import org.kie.api.builder.*;import org.kie.api.event.rule.Debu
2022-04-10 20:23:13
601
原创 CDH6.3.2安装部署
1.修改主机名称vi /etc/hostnamecdh-100cat /proc/sys/kernel/random/uuid2.固定ip 每台机需调整ipaddrvi /etc/sysconfig/network-scripts/ifcfg-ens33/#添加如下配置信息DNS1=192.168.20.2 #NDSIPADDR=192.168.20.100 #IP地址GATEWAY=192.168.20.2 #网关PREFIX=24 #centos子网掩码长度:24–> 255.
2022-03-31 21:40:28
3221
1
原创 docker部署elasticsearch8.1.0
vi /etc/security/limits.conf* soft nofile 65536* hard nofile 65536vi /etc/sysctl.confvm.max_map_count = 262144sysctl -p下载镜像docker pull elasticsearch:8.1.0docker network create --subnet=172.18.1.
2022-03-20 21:00:39
2718
原创 docker部署elk+kafka
安装所需包docker pull elasticsearch:7.17.0docker pull kibana:7.17.0docker pull logstash:7.17.0docker pull elastic/filebeat:7.17.0docker pull wurstmeister/kafka:2.13-2.8.1docker pull wurstmeister/zookeeper:3.4.13步骤一、优化系统参数vi /etc/security/limits.conf
2022-02-08 16:57:07
1453
原创 cdh6.3.2集成apacheatlas2.2.0
将apache-atlas-2.2.0-bin.tar.gz解压至安装目录tar -zxvf /kdata/apache-atlas-2.2.0-bin.tar.gz -C /opt进入cd /opt/apache-atlas-2.2.0/conf修改atlas-env.sh集成hbaseln -s /etc/hbase/conf/ /opt/apache-atlas-2.2.0/conf/hbase/将apache-atlas-2.2.0/conf/solr文件拷贝到solr所有节点的安装
2022-02-02 21:42:56
2169
2
原创 树莓派docker部署es+kibana
安装esdocker pull comworkio/elasticsearch:7.13.2-arm安装kibanadocker pull comworkio/kibana:7.13.2-arm# 1.首先切换至root用户su - root# 2.编辑sysctl.conf文件sudo nano /etc/sysctl.conf# 3.添加配置vm.max_map_count=262144# 4.加载配置sysctl -p# 或者可以临时修改参数sysctl -w vm.ma
2021-07-11 15:01:17
495
3
原创 nacos配置信息
server:port: 8014spring:application:name: gateway01main:allow-bean-definition-overriding: truecloud:nacos:discovery:enabled: trueserver-addr: 192.168.31.129:8088namespace: de735de9-6f00-46e8-af35-c527d188e954username: nacospassword: nacoscon
2021-06-16 22:33:16
246
原创 gatway拦截器swagger
import lombok.AllArgsConstructor;import org.springframework.cloud.gateway.config.GatewayProperties;import org.springframework.cloud.gateway.route.RouteLocator;import org.springframework.cloud.gateway.support.NameUtils;import org.springframework.contex.
2021-04-13 22:28:32
833
原创 Flume和kafka完成实时日志数据采集
agent 选型 A机器 exec source +memory channel +avro sink B_1机器 avro source +memory channel +logger sink B_2机器 avro source +memory channel +kafka sink A服务器配置exec-memory-avro.conf# exec-memory-avro.conf: A single-node Flume configuration...
2021-02-27 23:28:50
309
原创 keepalived+nginx高可用部署实例
安装keepalived安装命令yum install keepalived -y查看是否安装成功,使用如下命令能看到版本号,表示成功rpm -q -a keepalived使用yum命令安装keepalived成功后,在/etc/keepalived目录下有keepalived.conf配置文件,高可用配置就是主要配置该文件cd /etc/keepalivedvi keepalived.conf主机的keepalived.conf的配置内容如下主监控MASTER配置#---------
2021-02-24 19:01:00
192
原创 nacos部署及服务开发运行
--安装mysql--注:完成安装需要建立数据库nacos_config,安装mysql8报密码校验错误,执行/*************************************/1、修改用户密码加密规则ALTER USER 'root'@'%' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;2、更新用户密码ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_passwor
2021-02-22 23:40:11
333
原创 docker部署安装nacos集群说明
docker部署安装nacos集群说明--安装mysql--注:完成安装需要建立数据库nacos_config,执行官方脚本docker run --name mysql01 --restart=always \-p 3306:3306 \--net mynetwork --ip 172.18.0.10 --privileged=true \-e TZ=Asia/Shanghai \-v /kdata/mysql/conf:/etc/mysql/conf.d \-v /kdata/mys
2021-01-25 19:16:29
502
原创 python爬取当前文章记录修正版
#encoding:UTF-8#测试爬虫例子#爬取网页内容,保存数据库,#下载图片,上传七牛云#!/usr/bin/python3# encoding:utf-8'''Created on 2020-04-21 08:20@author: kingres = requests.get(url,params=data,headers = headers)res = requests.post(url, data=json_data, headers = headers)'''impor
2020-12-19 21:44:01
138
2
原创 配置springboot日志logback信息备忘
<?xml version="1.0" encoding="UTF-8"?><!--scan:当此属性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true。scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没有给出时间单位,默认单位是毫秒当scan为true时,此属性生效。默认的时间间隔为1分钟。debug:当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。--><co
2020-12-06 22:15:09
87
原创 nginx配置与说明备忘
拉取镜像docker pull nginx运行nginx镜像并进入容器docker run -ti nginx /bin/bash把文件挂载开放docker run -p 80:80 -p 443:443 \-v /kdatas/docker/nginx/conf:/etc/nginx/conf.d \-v /kdatas/docker/nginx/cert:/etc/nginx/cert \-v /kdatas/docker/nginx/www:/usr/share/nginx/html
2020-12-04 22:03:33
99
原创 python爬取当前(CSDN)文章更新
#encoding:UTF-8#测试爬虫例子#爬取网页内容,保存数据库,#下载图片,上传七牛云#!/usr/bin/python3# encoding:utf-8'''Created on 2020-11-11 08:20@author: kingres = requests.get(url,params=data,headers = headers)res = requests.post(url, data=json_data, headers = headers)'''impo.
2020-11-13 22:31:32
101
原创 elasticsearch:7.10.0安装部署记录信息
--------------------------elasticsearch:7.9.3安装记录-------------------------subnet网段地址。docker network ls查看docker网卡docker network inspect 网卡id删除docker网卡docker network rm 网卡iddocker network inspect mynetwork查看docker网卡的相关详细信息创建网络ipdocker network cre
2020-11-08 12:52:54
446
1
原创 根据传过来的word转换为pdf
package com.fssi.pdfconvert.service.pdfpreview.impl;import com.fssi.framework.common.utils.CommonUtil;import com.fssi.pdfconvert.config.ConfigConstants;import com.fssi.pdfconvert.model.ReturnResponse;import com.fssi.pdfconvert.model.pdfpreview.FileAtt
2020-10-29 23:17:44
137
原创 SpringBoot+elastisearch7.9高亮搜索信息
SpringBoot+elastisearch7.9高亮搜索信息//分页参数Pageable pageable = PageRequest.of(pageNum, pageSize);NativeSearchQueryBuilder nativeSearchQueryBuilder = new NativeSearchQueryBuilder();//限制返回数据信息nativeSearchQueryBuilder.withSourceFilter(new FetchSourceFilter(ne
2020-09-16 18:43:10
268
原创 docker部署elasticsearch+kibana
linux部署复制文件到kdatacd kdata解压:tar -zxvf elasticsearch-7.9.0-linux-x86_64.tar.gz目录重命名:mv elasticsearch-7.9.0 elasticsearch修改配置:cd elasticsearch/configvi jvm.options修改默认配置:-Xms1g -Xmx1g 为 -Xms512m -Xmx512m编辑elasticsearch.yml修改数据和日志目录vi elastic
2020-08-23 16:47:09
354
原创 python爬取当前文章记录升级
#encoding:UTF-8#测试爬虫例子#爬取网页内容,保存数据库,#下载图片,上传七牛云#!/usr/bin/python3# encoding:utf-8'''Created on 2020-08-13 23:20@author: kingres = requests.get(url,params=data,headers = headers)res = requests.post(url, data=json_data, headers = headers)'''impor
2020-08-13 23:53:25
181
原创 docker使用实例
删除 Docker CE$ sudo yum remove docker-ce$ sudo rm -rf /var/lib/docker安装redisdocker run -d --name redis -p6379:6379 -v redis:/data -e requirepass="123456" redis --appendonly yes -name redis-server : 指定容器名称 -p 6379:6379 : 端口映射--requitepass "redis123"
2020-08-10 23:31:09
356
原创 python生成二维码并存储数据库
import pymysqlfrom PIL import Imageimport qrcode#生成二维码工具类型#根据数据库数据class kqrcode(object): """docstring for ClassName""" def __init__(self, arg): super(kqrcode, self).__init__() #根据数据库数据 self.arg = arg def get_data():
2020-08-09 21:47:04
1298
原创 python爬取当前文章记录
#encoding:UTF-8#测试爬虫例子#!/usr/bin/python3# encoding:utf-8'''Created on 2020-04-21 08:20@author: kingres = requests.get(url,params=data,headers = headers)res = requests.post(url, data=json_data, headers = headers)'''import requestsfrom bs4 import
2020-08-09 21:41:23
2128
原创 go爬虫生成文件夹并爬取图片
package mainimport (“fmt”“github.com/PuerkitoBio/goquery”“io/ioutil”“net/http”“os”“strconv”“time”)//创建文件夹func CreateDateDir(basePath string) {_, err := os.Stat("./images/"+basePath)if err != nil {fmt.Println(“不存在文件”)if os.IsNotExist(err) {.
2020-07-30 00:02:42
565
原创 统一监听jwttoken的校验
package com.k5003.gatewayzuul.config;import com.k5003.gatewayzuul.service.GatewayService;import org.apache.commons.lang.StringUtils;import org.springframework.beans.factory.annotation.Autowired;im...
2020-05-04 00:45:39
417
原创 封装easyui模块化
K.define(‘kuser.kuserment’,{kpartname:‘测试用户管理’,//模块名称gridid:“kuser_gridlist”,//表格列表idaddwin:“kuser_addwin”,//添加弹出win idupdwim:“kuser_updatewin”,//修改弹出win ideditFlag:undefined,/* 初始化* @param me...
2020-04-20 23:10:42
430
原创 python爬取图片并创建文件夹保存
#coding=utf-8import urllibimport urllib.requestfrom urllib.error import URLError, HTTPErrorimport stringimport timeimport reimport sys,osfrom bs4 import BeautifulSoup#获取连接内容def get_imghtml(u...
2020-04-20 22:58:49
1959
原创 nodejs+express统一代理配置
var createError = require(‘http-errors’);var express = require(‘express’);var path = require(‘path’);var cookieParser = require(‘cookie-parser’);var logger = require(‘morgan’);var history = requi...
2020-04-20 22:49:12
1231
原创 权限管理系统表设计
----------------------------权限信息管理用到-------------------------------------------–用户信息表CREATE TABLE k_user (id bigint(11) NOT NULL AUTO_INCREMENT COMMENT ‘编号’,account varchar(50) NOT NULL COMMENT ‘用...
2020-04-19 22:25:17
444
原创 extjs网站后台
extjs网站后台代码地址:https://download.csdn.net/download/qqjjj/12308544
2020-04-07 23:10:44
192
基于cdh6.3.2 apache-atlas-2.2.0,完整编译打包
2022-02-02
extjs3.3+php+mysql
2013-08-21
EXTjs 简单布局实例
2011-11-13
新的伸缩extjs样式
2011-01-11
在线考试系统(testonline)
2009-12-30
在线考试系统需求文档
2009-11-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人