自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(49)
  • 资源 (4)
  • 收藏
  • 关注

原创 linux安装redis

安装Redis下载地址:https://redis.io/解压安装包tar -xvf redis-6.0.5.tar.gz 进入解压目录,执行make命令,编译redis源码,如报错需要安装gccyum install gcc -y编译成功后执行如下命令进行指定目录安装make PREFIX=/home/redis/app/redis install修改redis.conf文件bind 0.0.0.0pidfile redis.pidprotected-mode

2020-06-30 17:58:10 89

原创 idea拆分编辑窗口

idea菜单 window—Editor Tabs—Split Vertically

2020-06-06 11:10:36 4180

原创 Junit执行报错java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing

解决方法:分析原因:1、首先检查是否缺少hamcrest包,如果不存在添加hamcrest包(hamcrest-core-1.3.jar)jar下载2、右键点击项目-属性-Java Build Path-Source-Output Folder-设置成:项目名称/target/test-classes...

2020-06-04 08:26:11 155

原创 activiti.cfg.xml

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean.

2020-06-02 22:14:20 279

原创 Log4j.properties

### 配置根 ###log4j.rootLogger = debug,console ,fileAppender,dailyRollingFile,ROLLING_FILE,MAIL,DATABASE ### 设置输出sql的级别,其中logger后面的内容全部为jar包中所包含的包名 ###log4j.logger.org.apache=dubuglog4j.logger.java.sql.Connection=dubuglog4j.logger.java.sql.Statement=dub

2020-06-02 22:12:00 78

原创 Nginx.sh脚本内容

#!/bin/sh#chkconfig: - 85 15# description: nginx# processname: nginx# config: /home/nginx/app/nginx/conf/nginx.conf# Source function library.. /etc/init.d/functions# Source networking configuration.. /etc/sysconfig/network# Check that networking i

2020-06-02 22:10:20 414

原创 Application.yml

server: port: 8088spring: datasource: name: test url: jdbc:mysql://localhost:3306/test username: root password: xxx # 使用druid数据源 type: com.alibaba.druid.pool.DruidDataSource driver-class-name:

2020-06-02 22:09:22 91

原创 Nginx.conf

#user nobody;worker_processes 1; #工作进程:数目。根据硬件调整,通常等于cpu数量或者2倍cpu数量。 #错误日志存放路径#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; # nginx进程pid存放路径 events { worker_con

2020-06-02 22:08:41 88

转载 Mybatis-generator.xml

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"><generatorConfigura

2020-06-02 22:07:47 529

原创 Vue

数据渲染 v-text v-html {{}}控制块隐藏 v-if:不渲染dom v-show:display:none控制隐藏 渲染dom渲染循环列表 v-for事件绑定 v-on:click @click属性绑定 v-bind:src v-bind:class :src :classnew一个vue对象 需要设置它的属性,data vue对象的数据methods vue对象的方法Watch 设置对象的监听方法搭建vue项目Vu-cli2 npm instal

2020-06-02 22:06:21 84

原创 XXL-JOB分布式任务调度平台

Xxl-job文档:http://www.xuxueli.com/xxl-job/https://www.oschina.net/project/top_cn_2019

2020-06-02 22:00:12 78

原创 Win10查看端口占用情况

步骤一:cmd下面输入下面命令netstat -ano|findstr "8082"此时显示占用8082端口的进程详细信息,最后一列是PID,等会输入PID。步骤二:然后输入tasklist|findstr "PID号"最后kill进程此时出现进程名然后输入,#记得有.exe后缀的要加上taskkill /f /im 进程名...

2020-06-02 21:58:36 348

原创 win系统Node.js安装

C:\Users\Administrator>node -vv12.16.3C:\Users\Administrator>npm -v6.14.4C:\Users\Administrator>npm config ls -luserconfig = “C:\\Users\\Administrator\\.npmrc”npm config set registry=http://192.168.1.10/nexus/repository/npm/ npm adduser

2020-06-02 21:53:56 101

原创 Linux代理npm仓库

https://npm.taobao.org/mirrorsWget https://npm.taobao.org/mirrors/node/v10.16.3/node-v10.16.3-linux-x64.tar.gznexus代理npm仓库添加淘宝镜像 https://registry.npm.taobao.org/

2020-06-02 21:46:31 356

原创 linux安装elastic-head-master

https://github.com/mobz/elasticsearch-head/archive/master.zipLinux命令-安装zip和unzip命令1 [root@iz2zeea05by6vofxzsoxdbz elasticsearch]#unzip elasticsearch-6.2.4.zip 2 -bash: unzip: command not found如果你如法使用unzip命令解压.zip文件,可能是你没有安装unzip软件,下面是安装方法命令: #获取安装列

2020-06-02 21:38:13 367

原创 linux常用mysql命令

查看状态Service mysql statussystemctl status mysql启动mysqlService mysql startsystemctl start mysql关闭Service mysql stopsystemctl stop mysql登录Mysql -u root -p 输入密码: root查看所有数据库Show databases;创建数据库: create database 库名;创建用

2020-06-02 21:34:57 368

原创 linux查看所有用户

cat /etc/passwd1、Linux里查看所有用户(1)在终端里.其实只需要查看 /etc/passwd文件就行了.(2)看第三个参数:500以上的,就是后面建的用户了.其它则为系统的用户.或者用cat /etc/passwd |cut -f 1 -d :2、用户管理命令useradd 注:添加用户adduser 注:添加用户passwd 注:为用户设置密码usermod 注:修改用户命令,可以通过usermod 来修改登录名、用户的家目录等等;pwcov 注:同步用.

2020-06-02 21:28:11 25511

原创 linux安装MySQL8.0

下载地址:https://dev.mysql.com/downloads/mysql/选择1.解压mysql-8.0.12-linux-glibc2.12-x86_64.tar.xzxz -d mysql-8.0.12-linux-glibc2.12-x86_64.tar.xz 生成mysql-8.0.12-linux-glibc2.12-x86_64.tartar -xvf mysql-8.0.12-linux-glibc2.12-x86_64.tar2.重命名解压后生成的mysql

2020-06-02 21:22:08 3278 1

原创 linux安装ActiveMQ

下载ActiveMQhttp://activemq.apache.org/components/classic/download/解压:tar apache-activemq-5.15.8-bin.tar.gz进入目录:cd apache-activemq-5.15.8/bin启动activeMQ:./activemq start查看activeMQ的运行状态:./activemq status关闭activeMQ : ./activemq stop修改配置文件:cd a

2020-06-02 21:09:29 147

原创 linux安装zookeeper

安装1.下载zookeeperhttp://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.13/2.解压完成后 到conf目录下拷贝一份配置文件, 这是解压后conf目录下的内容使用 cp zoo_sample.cfg zoo.cfg 命令拷贝一份配置文件(zookeeper会默认读取zoo.cfg配置文件)到这为止单台zookeeper就安装完成了.cp zoo_sample.cfg zoo.cfg3.创建data文件夹/home/zo

2020-06-02 21:05:06 194 1

原创 linux安装Nginx

创建nginx用户1、 useradd nginx2、passwd nginx 设置密码 nginx3、root用户 执行 visudo 添加nginx用户nginx用户登录1、安装gcc插件nginx是C语言开发,建议在linux上运行。安装nginx需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc安装命令:sudo yum -y install gcc查看gcc版本 :gcc -v2、pcre、pcre-devel安装pcre是一个pe

2020-06-02 21:01:27 3123 1

原创 linux安装Nexus

安装一般远程调用下载软件,一般文件路径类型是http,下载https文件需要一个认证指令,即wget 后面加上--no-check-certificatewget --no-check-certificate https://download.sonatype.com/nexus/3/latest-unix.tar.gz#解压文件tar -zxvf nexus-3.19.1-01-unix.tar.gz -C ../software/[maven@bogon software]$ lsnex

2020-06-02 20:46:48 1115

原创 linux安装maven

maven官网https://maven.apache.org/download.cgi下载mavenwget https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz或者打开网址下载后,通过ftp上传到服务器https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.

2020-06-02 20:27:22 87

原创 linux修改yum镜像源

1.下载wget工具yum install -y wget进入yum源配置文件所在文件夹cd /etc/yum.repos.d/3.备份本地yum源mv CentOS-Base.repo CentOS-Base.repo_bak4.获取国内yum源(阿里、163二选一)wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repohttp://mirrors.aliyun.com/repo/Centos-8

2020-06-02 20:25:18 236

原创 linux环境安装mysql所遇bug

cd software/tar -zxvf mysql-5.6.33-linux-glibc2.5-x86_64.tar.gz./bin/mysql_install_db --user=mysql如出现以下错误:-bash: ./scripts/mysql_install_db: /usr/bin/perl: bad interpreter: No such file or directory原因:缺 perl perl-devel包。解决办法:安装上即可: yum install -y

2020-06-02 20:23:23 143

原创 linux防火墙添加开放端口

1、firewalld的基本使用启动: systemctl start firewalld查看状态:systemctl status firewalld 停止: systemctl disable firewalld禁用:systemctl stop firewalld2.systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体。启动一个服务:systemctl start firewalld.service关闭

2020-06-02 20:20:22 10541 4

原创 linux常用操作

重命名命令:mv解压tar.gz :tar -zxvf *.tar.gz跳转到文档末尾:G跳转到文档顶部:g查找某个字符:/xx N是向上查找 n是向下查找执行shell脚本三种方式:1、 bash *.sh2、 sh .sh3、 ./.sh.tar.xz的解压方法xz -d mpfr-3.1.2.tar.xz 会产生一个mpfr-3.1.2.tar 文件,再执行 tar -xvf mpfr-3.1.2.tar打包多个文件到一个tar包 tar -cvf a.tar file*

2020-06-02 20:14:42 135

原创 linux安装jdk

1.去官网下载linux版本jdk2.解压到自己设置的路径解压到安装目录tar -zxvf jdk-8u101-linux-x64.tar.gz -C /usr/local/java/3. 解压后的jdk的文件夹名字为jdk1.8.0_45,我们把它改为jdk1.8:mv jdk1.8.0_45/ jdk1.8/4.jdk的配置环境变量使用vim命令打开系统的环境变量配置文件:vi /etc/profile在profile文件最后加入:## JAVAexport JAVA_HOME=

2020-06-02 20:10:17 123

原创 idea连接ssh服务器

Tools–>Deployment->configuration–>SFTP–>配置相关的地址Tools–>Start ssh session

2020-06-02 20:02:42 805

原创 idea添加lombok插件

1、Settings-plugins-下载lombok插件2、点击Build,Execution,Deployment–>选择Compiler–>选中Annotation Processors,然后在右侧勾选Enable annotation processing3、添加lombok依赖<!--https://mvnrepository.com/artifact/org.projectlombok/lombok--><dependency><group

2020-06-02 19:43:19 3795

原创 idea将本地项目连接到git

1、选中VCS ->Import into Version Control ->Create Git Repository2、选择你要提交的项目文件夹3、在Git上新建模板,复制连接4、VCS->Git->Add5、VCS->Git->Commit Files–>填写备注提交,提交完成后只是提交到本地仓库,还没同步到git服务器上,需要push操作6、VCS ->Git->push...

2020-06-02 19:40:01 932

原创 idea设置全局护眼

1.在导航栏选择Help->FindAction ctl+shift+A2.输入set background Image3.选择背景图片,然后把opactiy设置成100 就这样就设置成功了。背景图片地址:C:\Users\Administrator.WIN-8J12U4IJU2F\Pictures\Saved Pictures\保护色.PNG护眼色RGB数值分别是(199,237,204)...

2020-06-02 19:39:25 230

原创 Navicat快捷键和常用功能

功能快捷键打开查询窗口Ctrl + Q注释SQL语句Ctrl + /取消注释SQL语句Ctrl + Shift + /运行查询窗口的SQL语句Ctrl + R只运行选中的SQL语句Ctrl + Shift + R打开一个mysql命令行窗口F6删除一行Ctrl + L在查询窗口,打开一个新的查询窗口Ctrl + N关闭当前窗口Ctrl + W(很多地方通用)关闭所有窗口Ctrl + Shift + W在表内容...

2020-06-02 19:37:55 260

原创 idea设置author注解

1、右击File -> Settings2、选中Editor -> File and Code Templates -> Includes -> File Header3、在File Header的右边输入框输入自己想要的模板-Apply-OK

2020-06-02 19:34:11 5945 4

原创 react错误总结

问题:使用Element React报错:Compiling…Failed to compile../node_modules/element-react/dist/npm/es5/libs/animate/index.jsModule not found: Can’t resolve ‘react-hot-loader’ in 'F:\my-app\node_modules\element-react\dist\npm\es5\libs\animate’解决方法:在终端执行npm inst

2020-06-02 13:35:52 394

原创 redis连接错误

问题:Unable to connect to Redis; nested exception is io.lettuce.core.RedisCommandTimeoutException: Command timed out after no timeout**错误原因:**连接超时时间设置的过于短暂(我这边设置成了0),修改为5000左右即可解决方法:#连接超时时间(毫秒)spring.redis.timeout=5000问题:org.springframework.data.redi

2020-06-02 13:29:11 359

原创 ajax全局处理异常获取返回结果失败

问题:org.thymeleaf.exceptions.TemplateInputException: Error resolving template “err/getAjaxerror”, template might not exist or might not be accessible by any of the configured Template Resolvers解决方法:在全局捕获异常类中使用@RestControllerAdvice,并且使用ajax发送交易处理时 返回json数

2020-06-02 13:24:06 459

原创 SpringBoot启动项目时红色警告

问题:WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn’t set. For compliance with exi

2020-06-02 13:22:36 981

原创 MySQL数据库使用代码生成器报“Table name pattern can not be NULL or empty.”错误的解决

在JDBC的链接地址上加上nullNamePatternMatchesAll=true找不到MapperPlugin引入<dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper</artifactId> <version>4.1.5</version></dependency即可成功生成mapper和mapper.

2020-06-02 13:20:04 1262 2

原创 Activiti启动项目遇到问题

问题:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.解决方法:在pom.xml文件中添加如下代码:<dependency&gt

2020-06-02 13:18:34 1830

node-v14.3.0-x64.msi

nodejs最新安装包免费下载,配合博客106505901,安全无毒,nodejs最新安装包免费下载,配合博客106505901,安全无毒。。。。。。

2020-06-02

zxing-master

zxing生成二维码,master源代码工具类的git资源压缩包

2018-11-19

餐厅管理系统

餐厅管理系统,可以作为各位同学毕业设计的参考哦

2015-12-29

2015年普通高中招生化学试题

可以打印的word版,适合下载给备考中招的同学,很有帮助的哦

2015-12-29

空空如也

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

TA关注的人

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