5 Mr.ChowSit

腾讯 - 软件工程师

我要认证

专注大数据数据仓库

等级
TA的排名 7w+

Docker安装Consul

拉取镜像docker pull consul:1.6启动容器docker run -d -p 8500:8500 --name consul 01ff071ff980

2020-09-03 22:01:20

HomeBrew换源

cd "$(brew --repo)"git remote set-url origin https://mirrors.ustc.edu.cn/brew.gitcd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.gitbrew update

2020-09-03 20:27:01

Docker安装Redis5.0

拉取镜像docker pull redis:5.0启动容器docker run -d -p 6379:6379 --name redis f60d84d4d72c --appendonly yes查看日志docker logs 67dade7133d01:C 03 Sep 2020 09:59:07.277 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo1:C 03 Sep 2020 09:59:07.277 # Red...

2020-09-03 18:02:26

IDEA优化配置

自动生成serialVersionUID关闭每次打开上次默认项目关闭自动更新编码显示行号maven配置自动构建(不推荐)自动引包和优化设置不检查重复代码设置不检查未使用变量设置不检查错误拼写显示内存代码自动完成忽略大小写显示悬浮提示鼠标滚轴修改字体大小显示多行Tab配置浏览器...

2020-09-03 16:48:54

SpringBoot整合MyBatis-Plus实战+自动填充+逻辑删除

实体类@Getter@Setter@TableName("user")public class User { @TableId(type = IdType.ASSIGN_UUID) private String id; private String name; private Integer age; private String email; @TableField(fill = FieldFill.INSERT) private S.

2020-08-26 22:51:55

SpringBoot通过idea远程debug

idea新建一个Remote远程服务器启动命令java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888 \-jar dm-admin-service.jar --spring.profiles.active=releaseListening for transport dt_socket at address: 8888本地idea启动debugConnected to t...

2020-08-25 11:58:17

SpringBoot整合FastDFS-6.0.4(内网/公网IP配置)

FastDFS安装GitHubhttps://github.com/happyfish100下载https://github.com/happyfish100/libfastcommon/archive/V1.0.42.tar.gzhttps://github.com/happyfish100/fastdfs/archive/V6.04.tar.gz安装FastDFStar -xzvf libfastcommon-1.0.42.tar.gzcd libfa..

2020-08-24 00:14:22

Docker安装Nacos1.3.1使用MySQL配置

镜像下载docker pull nacos/nacos-server:1.3.1docker run -d --name nacos --env MODE=standalone -p 8848:8848 nacos/nacos-server:1.3.1docker exec -it 83270df66a49 /bin/bashspring.datasource.platform=mysqldb.num=1db.url.0=jdbc:mysql://10.95.30.61:33.

2020-08-16 21:04:21

Docker安装ElasticSearch7.6.1

镜像拉取docker pull elasticsearch:7.6.1配置网络docker network create somenetwork运行容器docker run -d --name elasticsearch --net somenetwork -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.6.1可视化工具安装docker pull mobz/elast...

2020-08-11 11:09:20

RSAUtil非对称加密工具类

公要加密System.out.println(RSAUtil.publicKeyEncrypt(keyConstant.PUBLIC_KEY, "12345"));私钥解密System.out.println(RSAUtil.privateKeyDecrypt(keyConstant.PRIVATE_KEY, "上一步加密后的密钥串"));

2020-07-04 14:02:46

Spring事物的传播策略

/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:.

2020-07-03 10:25:24

如何优雅的处理SpringBoot中的多个实现类

接口public interface MyService { String get();}实现一@Servicepublic class MyServiceImpl1 implements MyService { @Override public String get() { return "Impl_1"; }}实现二@Servicepublic class MyServiceImpl2 implements MyServi

2020-06-10 20:48:51

Sonar8.3.1降级到7.8

启动[root@xavierzyxue /usr/local/sonar/bin/linux-x86-64]# ./sonar.sh consoleRunning SonarQube...wrapper | --> Wrapper Started as Consolewrapper | Launching a JVM...jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.orgjvm 1 ...

2020-05-21 09:52:58

Docker中运行多个Centos

搜索Centos镜像docker search centosNAME DESCRIPTION STARS OFFICIAL AUTOMATEDcentos ...

2020-05-04 11:04:21

Nexus迁移与密码重置

旧仓库停服务bin/nexus stop旧仓库备份tar -czvf sonatype-work.tgz sonatype-work新仓库上传备份文件并覆盖alias cp='cp'cp -rf temp/sonatype-work .重置密码java -jar ./lib/support/nexus-orient-console.jar...

2020-04-21 17:47:56

Hive优雅的处理Json数据

准备数据1SOH{"name":"aaa","cource":"english","score":"90"},{"name":"bbb","cource":"chinese","score":"80"},{"name":"ccc","cource":"math","score":"70"}2SOH{"name":"aaa","cource":"english","score":"90"}...

2020-03-20 18:36:37

Git常用基本操作整理

git clonegit@gitlab.xxx.com:xxx/xxx.gitgit branch -agit checkout devgit fetch origin dev

2020-03-02 11:04:06

Mysql常用操作

创建数据库--创建名称为“testdb”数据库,并设定编码集为utf8CREATE DATABASE IF NOT EXISTS testdb DEFAULT CHARSET utf8 COLLATE utf8_general_ci;新建用户--创建了一个名为:test 密码为:1234 的用户create user 'test'@'localhost' identifie...

2020-02-25 09:58:59

Presto-0.228

安装包下载新建etc目录mkdir -p /opt/presto-server/etc新建文件:etc/node.propertiesnode.environment=productionnode.id=hadoopnode.data-dir=/opt/presto-server/data新建文件:etc/jvm.config-server-X...

2020-02-18 18:07:01

SpringBoot整合RabbitMQ

配置依赖<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-bus-amqp</artifactId></dependency>配置参数spring.rabb...

2020-02-16 19:40:45

查看更多

勋章 我的勋章
  • GitHub
    GitHub
    绑定GitHub第三方账户获取
  • 脉脉勋章
    脉脉勋章
    绑定脉脉第三方账户获得
  • 签到新秀
    签到新秀
    累计签到获取,不积跬步,无以至千里,继续坚持!
  • 新人勋章
    新人勋章
    用户发布第一条blink获赞超过3个即可获得
  • 阅读者勋章Lv1
    阅读者勋章Lv1
    授予在CSDN APP累计阅读博文达到3天的你,是你的坚持与努力,使你超越了昨天的自己。
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 1024勋章
    1024勋章
    #1024程序员节#活动勋章,当日发布原创博客即可获得
  • 勤写标兵Lv2
    勤写标兵Lv2
    授予每个自然周发布4篇到6篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。