上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 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 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Java程序对内存分配方式 内存分区 又区分为线程共享和线程私有两大类。线程共享指的是可以允许被所有的线程共享访问的内存区,包括堆内存区、方法区、运行时常量池。 虚拟机栈 栈中的数据可以共享,虚拟机栈是线程私有的内存空间 测试栈的深度 public class TestJVMStack { priv 阅读全文
posted @ 2018-01-23 22:14 uptothesky 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 新建spring boot应用demo-docker,添加web依赖 入口类 使用maven打包 打开demo-docker\target 目录,找到jar文件 接下来使用Xshell连接到CentOS,cd 到目标目录,这里假如为/opt/demo 可以直接吧jar文件拖放到Xshell中,需要在 阅读全文
posted @ 2018-01-20 11:50 uptothesky 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 新建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 阅读(270) 评论(0) 推荐(0) 编辑
摘要: spring 资源访问 配置管理 阅读全文
posted @ 2018-01-15 22:00 uptothesky 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 创建spring boot工程,添加pom依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-rabbit</artifactId> </depend 阅读全文
posted @ 2018-01-15 17:19 uptothesky 阅读(309) 评论(0) 推荐(0) 编辑
摘要: RabbitMQ 在docker中运行rabbitmq 浏览器打开:http://10.202.203.29:8080/ 默认用户名/密码都是guest 在Admin页面添加用户 新添加的用户是没有权限的 点击用户名进去,按提示添加权限 这样就可以在程序中访问了。 创建spring boot 项目, 阅读全文
posted @ 2018-01-15 12:10 uptothesky 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 服务端 创建spring boot 工程,命名为config-server,在pom中添加引用 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactI 阅读全文
posted @ 2018-01-15 10:01 uptothesky 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 在虚拟机中使用ip addr 查看网卡 可以看到这个ens33,可能每台机器的名称不一样 然后找到/etc/sysconfig/network-scripts/ifcfg-eth33 编辑此文件 将 ONBOOT="no" 改为 ONBOOT="yes" 保存后: service network r 阅读全文
posted @ 2018-01-14 09:22 uptothesky 阅读(550) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页