DES encrypt
1 | CREATE OR REPLACE FUNCTION DES_ENCRYPT(P_TEXT VARCHAR2, -- 明文。长度要是 8 的倍数,若不足 8 的倍数,则用空白补足 |
1 | CREATE OR REPLACE FUNCTION DES_ENCRYPT(P_TEXT VARCHAR2, -- 明文。长度要是 8 的倍数,若不足 8 的倍数,则用空白补足 |
see:https://spring.io/projects/platform
The Platform will reach the end of its supported life on 9 April 2019. Maintenence releases of both the Brussels and Cairo lines will continue to be published up until that time. Users of the Platform are encourage to start using Spring Boot’s dependency management directory, either by using spring-boot-starter-parent
as their Maven project’s parent, or by importing the spring-boot-dependencies
bom.
本文主要阐述,Dubbo 多协议、单协议多端口实现
dubbo 2.6.5、2.7.0
dubbo-spring-boot-starter 0.2.0
首先要开启多协议的配置开关,再通过 protocols 指定多协议
1 | dubbo: |
拉取镜像
1 | # 默认拉取 redis:latest 版本 |
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 version: '3.8'
services:
elasticsearch:
image: elasticsearch:6.6.2
container_name: ts_elasticsearch
ports:
- "9200:9200"
restart: always
volumes:
- "/data/docker/elasticsearch/data:/usr/share/elasticsearch/data"
environment:
- "bootstrap.memory_lock=true"
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- "discovery.type=single-node"
ulimits:
memlock:
soft: -1
hard: -1
networks:
- elknet
networks:
elknet:
driver: bridge
https://www.elastic.co/guide/en/logstash/6.6/docker-config.html
docker-compose.yml
1 | version: '3.8' |
https://www.elastic.co/guide/en/kibana/6.6/docker.html
docker-compose.yml
1 | version: '3.8' |
安装
1 | # 注意 docker-compose 版本和 docker 版本有兼容要求 |
可执行权限
1 | $ sudo chmod +x /usr/local/bin/docker-compose |
验证安装
1 | $ docker-compose --version |
使用
1 | $ docker-compose -f grafana/docker-compose.yml up |
如果Dockerfile中使用ENTRYPOINT执行启动应用命令,则docker-compose可以使用command和environment指定环境变量
如果Dockerfile中使用CMD执行启动应用命令,则docker-compose不能使用command,需要使用environment指定环境变量
删除旧版本
1 | sudo yum remove docker \ |
1 | PUT _template/api-monitor |
order 默认 0
1 | ftpClient.controlEncoding=gb2312 |
file
1 | // tmp 是一个路径:./../tmp |