兢兢业业小码农的博客
兢兢业业小码农 · 共 7 篇文章
hadoop集群配置
创建目录 安装目录下创建数据存放的文件夹,/home/hadoop/hadoop-2.7.1/tmp、hdfs、hdfs/data、hdfs/name 修改/home/hadoop/hadoop-2.7.1/etc/hadoop下的配置文件 core-site.xml <property> <name>fs.defaultFS</name> <value>hdfs://centos01:9000</value> </property> <property> <name>hadoop.tmp.dir</name> <value>file:/home/hadoop/hadoop-2.7.1/tm…
2015-12-15 14:05 · hadoop · 评论(0)
centos7 修改hostname
hostnamectl [OPTIONS...] COMMAND ... Query or change system hostname. -h --help Show this help --version Show package version --transient Only set transient hostname --static Only set static hostname --pretty Only set pretty hostname -P --privileged Acquire privileges before execution --no-ask-pass…
2015-12-14 16:56 · centos · 评论(0)
centos7 最小化安装后安装hadoop问题
软件 centos7 jdk7 SecureCRTPortable Vmware 12 pro 第一步,解决上网问题 centos7安装完毕后,输入ifconfig,提示 -bash ifconfig:commond not fond 解决办法:vi /etc/sysconfg/network-scripts/ifcfg-enoxxxxxxxxxx 这个文件,修改最后一行ONBOOT=yes source ifcfg-enoxxxxxxxxxx service network restart yum install net-tools 如果不能安装,请重启虚机后再进行安装(init 6) n…
2015-12-14 11:12 · centos · 评论(0)
Excel根据模板导出+Spring读取配置文件+动态读取sql文件
用到技术 poi 3.11 Spring 4.1.4 代码如下 package com.fh.server.util; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.Input…
2015-12-02 18:27 · Spring poi · 评论(0)
sqlite web配置注意事项
1.环境 a.Spring 4.1.4.RELEASE b.sqlite3 c.maven3 d.sqlite-jdbc 3.8.11.2 2.遇到问题 1.方言找不到 2.org.sqlite.JDBC找不到 3.想把数据库文件放到相对路径下 3.解决方案 1.官方貌似没有方言文件,大都是DIY的,自己找到一篇,生成之后配到方言中 package com.fh.server.util; /* * The author disclaims copyright to this source code. In place of * a legal notice, here is a blessi…
2015-11-26 10:52 · sqlite · 评论(0)
vmware pro 12
下载地址 下载地址:链接: http://pan.baidu.com/s/1dD6m0Ml 密码: 3y9r 验证码 ware workstation 12 pro专业版永久许可证密钥:5A02H-AU243-TZJ49-GTC7K-3C61N 原文地址 http://www.52pojie.cn/thread-406737-2-1.html
2015-11-26 10:52 · wmware · 评论(0)
Spring boot使用
Spring boot官网 http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#getting-started-first-application-run maven eclipse简单demo java代码: @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello World!"; } public static v…
2015-11-13 11:18 · Spring boot · 评论(0)