自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 docker mysql lost connection to mysql server at waiting for

安装在docker上的mysql连接报2013错误

2022-08-25 17:02:34 478 1

原创 mongodb 安装部署

1、下载下载地址:http://dl.mongodb.org/dl/win32/x86_64我下载的版本是:(复制下面版本名在上面下载地址(ctrl+f)搜索)mongodb-win32-x86_64-2008plus-ssl-v3.4-latest.zip2、解压安装解压文件,得到下面文件在这个/bin下打开cmdE:\sw\mongodb\mongodb-win32-x86_64-2008plus-ssl-3.4.24-3-g78e64a697a\bin>mongod.exe -

2021-12-17 16:11:48 607

原创 git入门

前言以前都是使用SVN的今天就入手一下Git吧。下载地址:https://git-scm.com/downloads安装完成后,在开始菜单里找到“Git”->“Git Bash”,蹦出一个类似命令行窗口的东西,就说明Git安装成功!安装完成后,还需要最后一步设置,在命令行输入:$ git config --global user.name “Your Name”$ git config --global user.email “[email protected]”注意git .

2021-04-13 13:15:30 76

原创 Docker学习

1.Docker centos7_64环境配置curl -O http://pigx.vip/os7init.shsh os7init.sh root1root1 为centos用户名2.Linux 免登陆设置ssh 192.168.xxx.xxxssh-keygenssh-copy-id [email protected]安装yum-config-manager --add-repo http://download.docker.com/linux/centos/do

2021-04-11 19:43:56 101

原创 springboot+swagger3.0访问后台地址

swagger下面版本无论访问:http://localhost:8080/swagger-ui.html还是http://localhost:8080/swagger-ui/index.html都报404 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId>

2021-04-06 18:41:52 2318

原创 centos ftp图片服务器搭建

centos7下载地址:http://mirrors.aliyun.com/centos/7/isos/x86_64/第一使用centos7 基础设施服务器 以前都是用基本网页服务器因为是基础设施服务器所以就不用安装ssh连接的包了,可以直接用ssh连接上去1、nginx安装1:安装工具包 wget、vim和gccyum install -y wget yum install -y vim-enhanced yum install -y make cmake gcc gcc-c++

2021-03-26 17:03:38 282

原创 vue element tree lazy

<template> <div class="vcid"> <el-button @click="handleStart">选择类目</el-button> <el-dialog title="提示" :visible.sync="dialogVisible" width="30%" :before-close="handleClose"> <meltree @check-change="ch

2021-03-24 16:40:10 487

原创 axios跨域问题

现在遗留问题:vue端解决跨域问题的方案暂时没有实现。springmvc4.1解决方案<!-- 配置拦截器解决跨域问题 --><mvc:interceptors> <mvc:interceptor> <mvc:mapping path="/**" /> <mvc:exclude-mapping path="/rest/item/*" /> <bean class="com

2021-03-21 19:45:19 60

原创 SpringBoot Communications link failure

使用SpringBoot报错:Communications link failure吐槽一下springBoot集成太厉害了,我代码里面没一个HikariPool-3 就直接报错。代码都看不见全靠蒙。还有热部署很爽。找了很久才看见这个问题点。java.net.UnknownHostException: mysql大意了把mysql 改成localhostjdbc:mysql://localhost:3306/vueblog?useUnicode=true&useSSL=fals

2021-03-18 07:49:22 401

原创 Ubuntu Redis3.0.7安装测试

Redis官网下载地址: http://www.redis.cn/download.htmlRedis 命令https://www.w3cschool.cn/redis/redis-commands.html一、安装说明:Redis是c语言编写要gc++wget http://download.redis.io/releases/redis-6.0.6.tar.gztar xzf redis-6.0.6.tar.gzcd redis-6.0.6makemkdir ../redis-path

2021-03-16 21:21:19 167

原创 Ubuntu安装activeMQ+spring整合

一、安装1、 直接官网下载activeMQ官网:http://activemq.apache.org/2、上传服务器rz3、解压tar -zxf apache-activemq-5.15.14-bin.tar.gzmv apache-activemq-5.15.14 activemq4、开启activeMQ服务cd /data/activeMQ/activemq/bin/linux-x86-64/./activemq start根据自己的服务器选择linux-x86-64

2021-03-16 19:40:37 89

原创 服务器上 Tomcat+solr

9个基于Java的搜索引擎框架SpringBoot整合ElasticSearch搜索引擎solr官方网站:http://lucene.apache.org/solr/solr下载网站:http://www.eu.apache.org/dist/lucene/solrTomcat官网地址:https://archive.apache.org/dist/tomcat/1.安装环境solr是java开发的,安装solr需要有jdk使用Tomcat部署,需要安装Tomcat1.1.安装jdkjdk

2021-03-12 17:00:25 81

原创 zookeeper org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-481a15ff

问题描述:我在Ubuntu服务器上开启Tomact用浏览器去访问的时候报这个错:而且关闭Tomcat去访问8080端口一样报这个错org.eclipse.jetty.servlet.ServletHandler$Default404Servlet-481a15ff逐步排查最终确定是在Ubuntu上开启了一个./zkServer.sh zookeeper服务的影响当关闭zookeeper服务开启Tomcat的时候正常访问挖个坑啊,zookeeper可能内置了jetty。...

2021-03-12 16:08:22 4226 6

原创 Ubuntu20.0安装FastDFS

环境基础:https://blog.csdn.net/qq_37596010/article/details/114408135安装FastDFS是根据:FastDFS入门一篇就够本文根据这篇文章写的1、安装GCC编译器:sudo apt install build-essential参考文章:如何在Ubuntu 18.04上安装GCC编译器#apt install lrzsz 这个是基于finalShell 上传文件要的2、下载的包都存放在~/caibh/fdfs-package目录下

2021-03-08 21:39:58 953 8

原创 通用Mapper BaseServiceImpl批量删除

//绝对不能加@Service注解,因为构造方法需要获取父public class BaseServiceImpl implements BaseService {//spring4的新特性,泛型注入@Autowiredprivate Mapper mapper;private Class clazz;//声明泛型的classpublic BaseServiceImpl(){ //获取父的Type的数据 Type type = this.getClass().getGenericSuper

2021-03-06 15:48:47 1102 1

原创 Windows版 Nginx使用

1、先解压Nginx2、修改/conf/nginx.confserver {listen 80;server_name xxxx.taotao.com; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; proxy_pass http://127.0

2021-03-06 14:25:36 95

原创 maven报错:Failed to execute goal on project的一种可能

maven报错:Failed to execute goal on projec的一种可能是在maven本地仓库有.lastUpdated文件存在,导致无法正常下载包。方法删除.lastUpdated文件(不一定是.lastUpdate后缀的文件 lastUpdated也可能在中间,我这次遇到的是m2e-lastUpdated.properties文件删除)参考:maven报错:Failed to execute goal on project...

2021-03-06 07:42:09 1072

原创 环境Win10装VM运行Ubuntu20.04安装zookeeper (Ubuntu为新机)

--------------------zookeeper环境配置和安装-----------------------环境Win10装VM运行Ubuntu20.04 (Ubuntu为新机)(吐槽一下第N次安装了)1、刚刚进去要 sudo apt-get update (不然无法使用sudo apt install net-tools命令无法查询IP,可能还有其他命令用不了)2、安装 sudo apt install net-tools3、安装java环境 sudo apt install ope

2021-03-05 18:51:42 385

转载 springBoot配置文件

## ★☆★☆★☆★☆★☆ spring boot 配置中心 ★☆★☆★☆★☆★☆#springBoot application.properties 基础配置复制代码文件编码banner.charset= UTF-8文件位置banner.location= classpath:banner.txt日志配置日志配置文件的位置。 例如对于Logback的classpath:logback.xmllogging.config=%wEx#记录异常

2021-03-05 08:10:28 310 1

原创 springMVC直接传回jsp源码

controller设置web.xmls设置运行结果:删除*.jsp运行结果bug找了一天,Tomcat、浏览器都换了,也看了很多博客,最后解决是跑一个类似不出问题的项目,做小量修改才找到问题,记录一下。另看到一篇类似问题的文章,感觉很牛逼,记录一下:https://blog.csdn.net/l1509214729/article/details/81110394...

2021-03-03 16:59:26 85 1

转载 spring web.xmlcvc-complex-type.2.4.a: Invalid content was found starting with element ‘port‘. One of

cvc-complex-type.2.4.a: Invalid content was found starting with element ‘port’. One ofcvc-complex-type.2.4.a: Invalid content was found starting with element ‘port’. One ofhttps://blog.csdn.net/qq_36411874/article/details/60572240有效新的改变我们对Markdown编辑器进

2021-03-02 20:37:29 42

空空如也

空空如也

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

TA关注的人

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