代码改变世界

2017年7月28日

nginx 真实ip

摘要: server { listen 80; server_name localhost; location /{ root html; index index.html index.htm; proxy_pass http://backend; proxy_redirect off; proxy_set 阅读全文

posted @ 2017-07-28 10:36 Captain林 阅读(145) 评论(0) 推荐(0) 编辑

2017年7月27日

springboot 跳过单元测试

摘要: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> 阅读全文

posted @ 2017-07-27 10:57 Captain林 阅读(2803) 评论(0) 推荐(0) 编辑

2017年7月21日

nginx 配置

摘要: user mindx;worker_processes 2; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; events 阅读全文

posted @ 2017-07-21 10:05 Captain林 阅读(187) 评论(0) 推荐(0) 编辑

2017年7月10日

spring-boot 外部jar 打包 配置

摘要: <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <compilerArguments> < 阅读全文

posted @ 2017-07-10 10:39 Captain林 阅读(462) 评论(0) 推荐(0) 编辑

2017年6月28日

cdn path b 问题

摘要: 严格的 Hive Metastore 架构验证 hive.metastore.schema.verification hive 和oozie 数据库驱动一定要复制进去 2、oozie 运行出错 Table 'oozie.VALIDATE_CONN' doesn't exist 使用cm 点击oozi 阅读全文

posted @ 2017-06-28 16:52 Captain林 阅读(420) 评论(0) 推荐(0) 编辑

cdh 安装步骤

摘要: http://www.cnblogs.com/jasondan/p/4011153.html 关于CDH和Cloudera Manager CDH (Cloudera's Distribution, including Apache Hadoop),是Hadoop众多分支中的一种,由Cloudera 阅读全文

posted @ 2017-06-28 15:02 Captain林 阅读(28197) 评论(2) 推荐(2) 编辑

centos7 修改静态ip 和dns

摘要: 1、修改对应网卡的IP地址的配置文件# vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 #描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0BOOTPROTO=static #设置网卡获得ip地址的方式,可能的选项为 阅读全文

posted @ 2017-06-28 14:29 Captain林 阅读(393) 评论(0) 推荐(0) 编辑

2017年6月23日

centos7 端口开放

摘要: CentOS升级到7之后,发现无法使用iptables控制Linuxs的端口,google之后发现Centos 7使用firewalld代替了原来的iptables。下面记录如何使用firewalld开放Linux端口: 开启端口 firewall-cmd --zone=public --add-p 阅读全文

posted @ 2017-06-23 14:18 Captain林 阅读(222) 评论(0) 推荐(0) 编辑

2017年6月22日

centos7 yum 安装jq

摘要: 一、简介 EPEL是企业版 Linux 附加软件包的简称,EPEL是一个由Fedora特别兴趣小组创建、维护并管理的,针对 红帽企业版 linux(RHEL)及其衍生发行版(比如 CentOS、Scientific Linux、Oracle Enterprise Linux)的一个高质量附加软件包项 阅读全文

posted @ 2017-06-22 13:45 Captain林 阅读(14780) 评论(0) 推荐(1) 编辑

2017年6月13日

windows查看端口占用以及关闭相应的进程

摘要: 开始--运行--cmd 进入命令提示符 输入netstat -ano 即可看到所有连接的PID 之后在任务管理器中找到这个PID所对应的程序如果任务管理器中没有PID这一项,可以在任务管理器中选"查看"-"选择列" 经常,我们在启动应用的时候发现系统需要的端口被别的程序占用,如何知道谁占有了我们需要 阅读全文

posted @ 2017-06-13 10:52 Captain林 阅读(180) 评论(0) 推荐(0) 编辑

导航