05 2020 档案

SSH免密登录
摘要:1. ssh-keygen -t dsa -f ~/.ssh/id_dsa -P "" 2. ssh-copy-id -i ~/.ssh/id_dsa.pub root@master2 3. scp ~/.ssh/id_dsa root@master2:/root/.ssh 重复2,3步骤到其他机器 阅读全文

posted @ 2020-05-26 15:55 jmbkeyes 阅读(140) 评论(0) 推荐(0)

Spring boot 配置文件位置
摘要:Spring boot 的Application.properties 配置文件可以是以下几个地方:classpath:/,classpath:/config/,file:./,file:./config/. 但要注意的是加载的顺序是倒过来的:file:./config/file:./classpa 阅读全文

posted @ 2020-05-20 18:13 jmbkeyes 阅读(499) 评论(0) 推荐(0)

导航