会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
uptothesky
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2018年1月27日
Hadoop
摘要: Hadoop安装 http://hadoop.apache.org/releases.html CentOS 下载 http://mirror.bit.edu.cn/apache/hadoop/common/hadoop-3.0.0/hadoop-3.0.0.tar.gz 下载后解压 把解压后的文件
阅读全文
posted @ 2018-01-27 21:47 uptothesky
阅读(290)
评论(0)
推荐(0)
2018年1月25日
nginx
摘要: nginx for Windows unzip nginx-1.21.4.zip cd nginx-1.21.4 start nginx nginx -s stop fast shutdown nginx -s quit graceful shutdown nginx -s reload chang
阅读全文
posted @ 2018-01-25 10:32 uptothesky
阅读(151)
评论(0)
推荐(0)
2018年1月23日
java 内存分配
摘要: Java程序对内存分配方式 内存分区 又区分为线程共享和线程私有两大类。线程共享指的是可以允许被所有的线程共享访问的内存区,包括堆内存区、方法区、运行时常量池。 虚拟机栈 栈中的数据可以共享,虚拟机栈是线程私有的内存空间 测试栈的深度 public class TestJVMStack { priv
阅读全文
posted @ 2018-01-23 22:14 uptothesky
阅读(235)
评论(0)
推荐(0)
2018年1月20日
使用Docker发布应用
摘要: 新建spring boot应用demo-docker,添加web依赖 入口类 使用maven打包 打开demo-docker\target 目录,找到jar文件 接下来使用Xshell连接到CentOS,cd 到目标目录,这里假如为/opt/demo 可以直接吧jar文件拖放到Xshell中,需要在
阅读全文
posted @ 2018-01-20 11:50 uptothesky
阅读(351)
评论(0)
推荐(0)
2018年1月18日
spring cloud sleuth
摘要: 新建spring boot工程trace-1,添加pom依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eureka</artifactId> </depend
阅读全文
posted @ 2018-01-18 14:15 uptothesky
阅读(286)
评论(0)
推荐(0)
2018年1月15日
spring 资源访问
摘要: spring 资源访问 配置管理
阅读全文
posted @ 2018-01-15 22:00 uptothesky
阅读(141)
评论(0)
推荐(0)
spring cloud stream
摘要: 创建spring boot工程,添加pom依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-rabbit</artifactId> </depend
阅读全文
posted @ 2018-01-15 17:19 uptothesky
阅读(316)
评论(0)
推荐(0)
spring cloud bus
摘要: RabbitMQ 在docker中运行rabbitmq 浏览器打开:http://10.202.203.29:8080/ 默认用户名/密码都是guest 在Admin页面添加用户 新添加的用户是没有权限的 点击用户名进去,按提示添加权限 这样就可以在程序中访问了。 创建spring boot 项目,
阅读全文
posted @ 2018-01-15 12:10 uptothesky
阅读(404)
评论(0)
推荐(0)
spring cloud config
摘要: 服务端 创建spring boot 工程,命名为config-server,在pom中添加引用 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactI
阅读全文
posted @ 2018-01-15 10:01 uptothesky
阅读(204)
评论(0)
推荐(0)
2018年1月14日
VM虚拟机装centos无法自动获取IP的解决方法
摘要: 在虚拟机中使用ip addr 查看网卡 可以看到这个ens33,可能每台机器的名称不一样 然后找到/etc/sysconfig/network-scripts/ifcfg-eth33 编辑此文件 将 ONBOOT="no" 改为 ONBOOT="yes" 保存后: service network r
阅读全文
posted @ 2018-01-14 09:22 uptothesky
阅读(570)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告