自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(76)
  • 资源 (3)
  • 收藏
  • 关注

转载 OAuth2.0认证和授权原理

什么是OAuth授权? 一、什么是OAuth协议 OAuth(开放授权)是一个开放标准。允许第三方网站在用户授权的前提下访问在用户在服务商那里存储的各种信息。而这种授权无需将用户提供用户名和密码提供给该第三方网站。OAuth允许用户提供一个令牌给第三方网站,一个令牌对应一个特定的第三方网站,同时该令牌只能在特定的时间内访问特定的资源。 二、OAuth的原

2014-11-08 09:15:12 853

原创 HHKB开箱记录

2000RMB买的HHKB Type-s

2014-09-26 21:12:16 1303

原创 无法访问 您可能没有权限使用网络资源

1.因为网卡绑定引起的

2014-09-25 23:17:33 619

原创 build nfs4

1. COMPILINGUnpack the sources and run these commands:    # ./configure    # makeTo install binaries and documenation, run this command:    # make install2. COMPILING FROM GIT

2014-08-24 18:39:33 741

原创 linux 启动项设置

vi /boot/grub2/grubenv

2014-08-24 17:58:04 627

转载 升级Linux内核导致vmware无法使用(vmnet模块无法编译)解决方案

升级Linux内核导致vmware无法使用(vmnet模块无法编译)解决方案时间:2014-05-15 20:29来源:未知作者:电脑技术吧 整理:www.dnjsb.com 点击:202次论坛最近将ubuntu升级到了14.04,出现了vmware无法启动的情况。具体表现为:每次启动的时候都会弹出一个VMWare Kernel Module U

2014-08-16 12:22:17 755

原创 start namenode

copy   /home/hadoop/apache/hadoop/build/hadoop-2.4.1-src/hadoop-hdfs-project/hadoop-hdfs/target/classes

2014-07-24 21:47:45 562

转载 linux下搭建SVN服务器完全手册

系统环境        RHEL5.4最小化安装(关iptables,关selinux) + ssh + yum一,安装必须的软件包.        yum install subversion (SVN服务器)                    mysql-server (用于codestriker)                    httpd mod_dav_

2014-07-22 21:51:11 442

原创 hadoop-2.4.1 生成eclipse 工程后的错误解决

1.找不到TestProtos.java,TestRpcServiceProtos.java,AvroRecord.java 三个类

2014-07-22 21:45:52 798

转载 Eclipse 导入 Hadoop 源码

Eclipse 导入 Hadoop 源码1.准备工作jdk:eclipse:Maven:libprotoc :https://developers.google.com/protocol-buffers/hadoop:http://www.apache.org/dyn/closer.cgi/hadoop/common/ 添加开源中国maven库:http://maven.o

2014-07-20 21:29:59 572

原创 CentOS mount NTFS

NTFS-3G + NtfsprogsNTFS-3G is a stable, full-featured, read-write NTFS driver for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems. It provides safe

2014-07-20 14:13:07 719

原创 HDFS之Storage continue......

/** * Storage information file. *  * Local storage information is stored in a separate file VERSION. * It contains type of the node,  * the storage layout version, the namespace id, and  *

2014-07-18 15:58:22 860

原创 HDFS之StorageInfo

public class StorageInfo {  public int   layoutVersion;   // layout version of the storage data  public int   namespaceID;     // id of the file system  public String clusterID;      // id of th

2014-07-18 15:24:45 1264

原创 Terminator

Terminator最大的特点就是可以在一个屏幕下同时显示多个终端

2014-07-18 12:53:12 447

转载 CentOS 7.0.1406

http://mirror.centos.org/centos/7/isos/

2014-07-18 12:52:21 1652

转载 如何在Linux中架设一台域名服务器

http://wenku.baidu.com/link?url=95rW6MDe3OT52S7TwVuQRCsXD3Q_XIXTagfZcbgsnjKx_wz05mepgqwNNSvod4sY-WIuBMZa30l2i0oFyM3so08HHTW8gy7cxdhtUEI1Epe

2014-06-22 11:40:11 531

原创 openvz 创建

vzctl create 56 --ostemplate centos-6-x86_64 --config basicvzctl set 56 --onboot yes --savevzctl set 56 --hostname A --savevzctl set 56 --ipadd 192.168.1.56 --savevzctl start 56vzctl set 56

2014-06-22 10:57:20 617

转载 OpenVZ 简单应用

http://01jay.blog.163.com/blog/static/29085094201103112328347/准备使用KVM+OpenVZ混合来满足部分的虚拟化需求系统是CentOS 5.5 x64, 虚拟一样的系统1. 安装cd /etc/yum.repos.dwget http://download.openvz.org/openvz.reporp

2014-06-20 19:52:49 1164

转载 openvz

创建一个VE(VPS):vzctl create 104 --ostemplate fedora-core-5-i386-minimal(添加模版)vzctl set 101 --ipadd 192.168.0.101 –save(添加ip)  vzctl set 101 --hostname vps101 –save(添加主机名)  vzctl set 101 --nameser

2014-06-20 12:24:02 558

转载 虚拟机

虚拟机(Virtual Machine),在计算机科学中的体系结构里,是指一种特殊的软件,可以在计算机平台和终端用户之间创建一种环境,而终端用户则是基于这个软件所创建的环境来操作软件。目录  [隐藏] 1 定义1.1 系统虚拟机1.2 程序虚拟机2 技术2.1 硬件的仿真2.2 非原生系统的模拟3 虚拟机列表3.1 虚拟软件的更多

2014-06-19 19:59:34 606

转载 如何在CentOS 6.4上安装并使用OpenVZ

如何在CentOS 6.4上安装并使用OpenVZ?2013-04-07 15:14 核子可乐译 51CTO.com 字号:T |TOpenVZ是Virtuozzo的开源分支,在OpenVZ的帮助下,大家可以在同一套硬件上获得多套虚拟私有服务器(简称VPS),本文中,将向大家介绍如何为OpenVZ创建一套CentOS 6.4服务器。AD:WOT2014:用户标签系统

2014-06-18 22:40:59 681

转载 tc 限制网速

tc qdisc add dev eth0 root handle 2: htb default 30tc class add dev eth0 parent 2: classid 2:30 htb rate 80kbit80kbit是限制的最高速度

2014-06-18 18:15:04 1791

转载 Linux中创建虚拟网卡方法

方法1:在/etc/network/interfaces进行配置,然后重新启用网卡 ( /etc/init.d/networking restart )配置示例:auto eth0:0iface eth0:0 inet staticaddress 10.0.0.2netmask 255.255.255.0network 10.0.0.0broadcast 10.0.

2014-06-08 13:55:00 794

原创 ssh-copy-id

安装:CentOSyum install   openssh-clients

2014-06-03 12:42:23 571

原创 DFSConfigKeys

public class DFSConfigKeys extends CommonConfigurationKeys {  public static final String  DFS_BLOCK_SIZE_KEY = "dfs.blocksize";  public static final long    DFS_BLOCK_SIZE_DEFAULT = 128*1024*102

2014-05-31 21:44:55 1835

转载 * is not in the sudoers file. This incident will be reported.

sudo命令有一个配置文件 /etc/sudoers 该文件决定了哪些用户可以执行哪些命令具体的配置比较复杂,你可以man sudo 或者 man /etc/sudoers 一下查看,网络上也有不少资源。 解决方案:修改/etc/sudoers 文件 为hbh 用户添加权限 使用命令 visudo (新手推荐方法,不要直接去改,该命令在推出去会检查语法,在做出修改前做备份是个好习惯)一

2014-05-31 13:02:03 540

转载 mvn常用命令

Maven常用命令: 1. 创建Maven的普通java项目:    mvn archetype:create    -DgroupId=packageName    -DartifactId=projectName  2. 创建Maven的Web项目:       mvn archetype:create     -DgroupId=packageName    

2014-05-31 12:55:07 406

转载 Multiple DataNodes on a single machine

http://mail-archives.apache.org/mod_mbox/hadoop-common-user/201009.mbox/%3CA3EF3F6AF24E204B812D1D24CCC8D71A03688F76@mse16be2.mse16.exchange.ms%3E

2014-05-30 22:32:41 577

原创 .m2/repository

http://search.maven.org/#browse|47The Central Repository BrowserIndex of central/NameLast ModifiedSizeHTTPClient/01-Nov-2005717.8 Kabbot/11-Fe

2014-05-28 23:26:36 2642

转载 Eclipse maven of the project reported in Unbound classpath variable: 'M2_REPO /**/***/***. jar

Eclipse maven of the project reported in Unbound classpath variable: 'M2_REPO /**/***/***. jar'But in fact the jar is present in my local machine's directory, oh MAVEN: C: \ Documents and Se

2014-05-28 22:37:30 897

转载 Eclipse 远程调试 Java 程序

原文地址:http://www.oschina.net/question/54100_10243

2014-05-28 22:18:45 539

转载 Linux开机启动和用户登录启动配置

1. 开机启动配置文件       一般来说Linux会用不同的level开机,可以用 [plain] view plaincopyprint?#runlevel  #runlevel来查看运行的level。而关于level的配置,可以在 /etc/inittab中找到,如下:  [plain]

2014-05-27 21:45:43 649

原创 Virtualbox命令行启动和操作虚拟机

VBoxManage startvm Slave12.Hadoop --type headless====================================================================Oracle VM VirtualBox Command Line Management Interface Version 4.3.12(C)

2014-05-27 21:10:45 3125

转载 linux下创建用户

linux下创建用户linux下创建用户(一)Linux 系统是一个多用户多任务的分时操作系统,任何一个要使用系统资源的用户,都必须首先向系统管理员申请一个账号,然后以这个账号的身份进入系统。用户的账号一方面可以帮助系统管理员对使用系统的用户进行跟踪,并控制他们对系统资源的访问;另一方面也可以帮助用户组织文件,并为用户提供安全性保护。每个用户账号都拥有一个惟一的用户名和各自的口令。

2014-05-26 23:13:42 434

转载 linux挂载新硬盘,开机自动挂载

linux是一个优秀的开放源码的操作系统,可以运行在大到巨型小到掌上型各类计算机系统上,随着 linux系统的日渐成熟和稳定以及它开放源代码特有的优越性,linux在全世界得到了越来越广泛的应用。现在许多企业的计算机系统都是由UNIX系 统、Linux系统和Windows系统组成的混合系统,不同系统之间经常需要进行数据交换。下面我根据自己的实际工作经验介绍一下如何在linux系统 下挂接(moun

2014-05-26 22:06:20 607

转载 linux下禁用或者启用独显(Nvidia)-使用BBSwitch

0-介绍一下我的笔记本:------------------------------型号:ASUS  N53sv 安装了Debian Wheezy显卡型号:intel i5 HD3000核心显卡 + Nvidia GT540M (Optimus)觉得核芯显卡已经足矣,不需要独显了,所以禁用它ps:以前用黑苹果没有禁用独显的情况下,温度很高,后来用了一个kext禁用后温度降了近8

2014-05-21 23:17:25 11374

转载 LINUX查看CPU温度

在Linux下可以通过lm_sensors来查看CPU的温度(当然你的硬件首先要支持),要使用这个功能要有内核相关模块(比如I2C)的支持,下面说一下操作方法:先看一下你的机器上是否安装了lm_sensors,$ rpm -q lm_sensors 如果没有安装就先安装一下$ sudo yum install -y lm_sensors 检测传感器:$ sudo s

2014-05-21 22:26:14 791 1

原创 Windows远程登陆Linux(CentsOS)桌面

1.在Windows下下载Xmanager,并安装2.配置Linux端,

2014-05-18 18:23:42 764

转载 虚拟化系列-Windows server 2012 存储管理

http://mabofeng.blog.51cto.com/2661587/999270/

2014-05-15 22:26:27 955

转载 HDFS简介

http://www.cnblogs.com/forfuture1978/archive/2010/03/14/1685351.html

2014-05-07 21:41:06 431

AvroRecord.

AvroRecord.

2014-05-31

Hadoop Hbase

The HBase story begins in 2006, when the San Francisco-based startup Powerset was trying to build a natural language search engine for the Web. Their indexing pipeline was an involved multistep process that produced an index about two orders of magnitude larger, on average, than your standard term-based index. The datastore that they’d built on top of the then nascent Amazon Web Services to hold the index intermediaries and the webcrawl was buckling under the load (Ring. Ring. “Hello! This is AWS. Whatever you are running, please turn it off!”). They were looking for an alternative. The Google BigTable paper* had just been published.

2014-04-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除