会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Legend_yan
博客园
首页
新随笔
联系
订阅
管理
2018年12月1日
jar 后台运行不关闭窗口
摘要: nohup java -jar shareniu.jar >temp.txt &
阅读全文
posted @ 2018-12-01 17:50 Legend_yan
阅读(999)
评论(0)
推荐(0)
编辑
spring boot 发布外部tomcat 亲测)
摘要: 1、 2、 3、 4、 5、访问路径可以在tomcat启动后查看 webapps 里面的包名,如果是ROOT 则可以直接访问
阅读全文
posted @ 2018-12-01 16:39 Legend_yan
阅读(112)
评论(0)
推荐(0)
编辑
2018年11月23日
rabbitmq
摘要: 启动: 后台启动: rabbitmq-server –detached 关闭:rabbitmqctl stop 添加用户:rabbitmqctl add_user 用户名 密码 rabbitmqctl add_user admin admin 设置用户权限:sudo rabbitmqctl set_
阅读全文
posted @ 2018-11-23 16:53 Legend_yan
阅读(85)
评论(0)
推荐(0)
编辑
2018年11月21日
git
摘要: git rm -r --cached .idea git init --bare springcloudparent.git
阅读全文
posted @ 2018-11-21 21:52 Legend_yan
阅读(76)
评论(0)
推荐(0)
编辑
2018年11月8日
不能下载源码idea maven
摘要: 这个是下载所有的源码(不推荐使用):mvn dependency:resolve -Dclassifier=sources 最终的解决方案是,重新下过一个maven 就可以 了
阅读全文
posted @ 2018-11-08 22:05 Legend_yan
阅读(1396)
评论(0)
推荐(0)
编辑
2018年11月2日
mysql 安装 在Centos 7以上踩的坑
摘要: 1、 安装 MySQL: 接下来我们在 Centos7 系统下使用 yum 命令安装 MySQL,需要注意的是 CentOS 7 版本中 MySQL数据库已从默认的程序列表中移除,所以在安装前我们需要先去官网下载 Yum 资源包,下载地址为:https://dev.mysql.com/downloa
阅读全文
posted @ 2018-11-02 15:06 Legend_yan
阅读(265)
评论(0)
推荐(0)
编辑
2018年10月30日
rabbitMq
摘要: 1、exchangeType分为4 种 1)fanout 会把所有发送到该Exchange的消息路由到所有与它绑定的Queue中 2)direct 它会把消息路由到那些binding key与routing key完全匹配的Queue中 3)topic 在(2)基础上做模糊匹配(binding ke
阅读全文
posted @ 2018-10-30 13:21 Legend_yan
阅读(149)
评论(0)
推荐(0)
编辑
2018年10月17日
ftp 安装连接
摘要: 1、查看所有的安装的软件包 并在结果中查找包含vsftp 的文件 如果没有装则使用yum命令安装 查看vsftpd 服务的运行状态systemctl status vsftpd如果最后一条状态是stoped则启动vsftpd systemctl start vsftpd 如果最后一条状态是start
阅读全文
posted @ 2018-10-17 18:08 Legend_yan
阅读(115)
评论(0)
推荐(0)
编辑
2018年10月10日
spring boot 学习篇(-)
摘要: 1、多环境配置 2、java -jar xx.jar --spring.profiles.active=test 3、加入 spring-boot-starter-actuator 1)启动时候会打印: 2)可以通过原来端点查看配置信息和运行的一些信息,如:/autoconfig 、/beans、/
阅读全文
posted @ 2018-10-10 09:51 Legend_yan
阅读(100)
评论(0)
推荐(0)
编辑
2018年9月25日
反射
摘要: public class Test001 { @Test public void test1() throws Exception { getObjectClass(); getObjectStaticClass(); getForNameClass(); getMethodFromClass();
阅读全文
posted @ 2018-09-25 15:42 Legend_yan
阅读(147)
评论(0)
推荐(0)
编辑
下一页