本文考虑:在不使用安全传输协议的前提下,Open API调用的安全问题。
包括:角色定义、处理流程和代码设计。...
介绍之前我有篇博文是介绍如何用ansible的playbook来自动化HadoopDecommission的,本文介绍用shell脚本来实现。脚本都放在跳板机上,远端服务器调用本地脚本完成所有操作,不需要拷贝文件到远端服务器。正文主脚本:decom.sh#!/bin/bash
iplist=/home/hadoop/shell_scripts/ipl..
分类:
系统相关 时间:
2015-02-13 01:47:56
阅读次数:
266
介绍如何用ansible的playbook实现自动decommissionhadoop的node?正文对于如何部署安装ansible,请看http://haohaozhang.blog.51cto.com/9176600/1610499hadoop部署,请看http://haohaozhang.blog.51cto.com/9176600/1607089使用hadoop用户创建目录ansible_decom,里面的目录结构..
分类:
其他好文 时间:
2015-02-10 02:03:57
阅读次数:
480
为了练手,在CentOS7上安装Nginx 实现HTTP代理功能 再加上认证功能 随手找了几篇教程,都是教你怎么自己编译的,其实直接去nginx.org看document,centos官方源有nginx的 于是, yum install nginx 安装完成。不知道路径?whereis ng...
分类:
Web程序 时间:
2015-02-10 01:49:16
阅读次数:
392
nginx安装./configure--user=nginx--group=nginx--prefix=/application/nginx1.6.2--with-http_stub_status_module......Linux环境要求:MostLinuxdistributionswillshippackagesforAPRandOpenSSL.TheJNIwrapper(libtcnative)willthenhavetobecompiled.ItdependsonAPR,OpenSSL,..
分类:
其他好文 时间:
2015-02-06 07:06:31
阅读次数:
205
后台开发者必须用这样一个系统:能够一键部署、灰度、升级、回滚。之前在YY和QQ都有专门的运维团队做的又鲁棒又fancy的运维系统,现在没有这样的系统了怎么办...
分类:
其他好文 时间:
2015-02-04 00:38:40
阅读次数:
471
问题:./nginx: undefined symbol: EVP_rc4_hmac_md5解决:1.openssl安装:./config --prefix=/user/local/ shared zlib-dynamicmakemake install2.nginx安装:./configure -...
分类:
其他好文 时间:
2015-02-03 17:04:00
阅读次数:
331
----------------------安装memcacghed location / { #设置key set $memecached_key "$url"; #根据key查找对应的服务器 memcached_pass 127.0.0.1:11211; #出错的时候回调p...
分类:
其他好文 时间:
2015-02-03 00:32:00
阅读次数:
202
运行ansible前,会出现一下Warning。[WARNING]:Theversionofgmpyouhaveinstalledhasaknownissueregardingtimingvulnerabilitieswhenusedwithpycrypto.Ifpossible,youshouldupdateit(i.e.yumupdategmp).解决方法:忽略下输出cp/usr/lib64/python2.6/site-packages/pycrypto-2.6...
分类:
其他好文 时间:
2015-02-02 20:07:53
阅读次数:
971