自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

airings-LME-让学习成为呼吸,让方法成为习惯,让效率成为本能

It's not what you do once in a while, it's what you do day in and day out that makes the difference.

  • 博客(26)
  • 收藏
  • 关注

转载 进程与线程的一个简单解释

http://www.ruanyifeng.com/blog/2013/04/processes_and_threads.html

2015-10-18 20:31:01 347

转载 黑马程序员-张孝祥Java基础加强(PART1)

http://blog.csdn.net/niniliwei/article/details/20041419

2015-05-10 12:01:22 289

转载 iptables

http://hi.baidu.com/tag/linux%20netfilter%26%2347%3Biptables/feeds语法:   iptables    [-t   table]    command    [chain]    [rules]    [-j   target] 对于选择的table对chain执行command,如果满足rules(匹配match), 那

2013-06-27 22:41:29 719

转载 man bash- login shell / interactive shell

INVOCATION       A login shell is one whose first character of argument zero is a -, or one started with the --login option.       An  interactive  shell  is  one started without non-option ar

2013-06-25 13:36:08 815

转载 openmpi 找不到 libimf.so

http://scuchj.blog.sohu.com/186627000.html执行文件mpirun -np 4  /home/slx/Downloads/openmpi-1.4.3/examples/hello_f90时,出现错误  mpirun: error while loading shared libraries: libimf.so: cannot op

2013-06-17 11:24:21 6063

转载 hive 存储数据文件找不到怎么办

转载:http://www.hiregion.com/2010/01/hive-metastore-derby-db.htmlIf you are using Hive in default mode, you may see the following behavior - you get to hive client from different directories a

2013-06-15 19:39:39 1031

转载 ubuntu 12.04 LVM 安装

可参考 http://blog.sina.com.cn/s/blog_56a70c0401018dki.html选择手动安装,如果之前有安装过LVM,需要先在配置逻辑卷管理器中删除lvm,然后选择需要安装lvm的分区,再创建lvm group,然后在配置逻辑卷管理器中选择创建逻辑卷轴,最后将创建的逻辑卷轴挂载在不同的目录下,即可。

2013-06-14 12:55:59 1037

翻译 openmp 编译环境

http://openmp.org/wp/openmp-compilers编译器信息»GNUgcc  支持 - Linux, Solaris, AIX, MacOSX, WindowsOpenMP 3.1 is supported since GCC 4.7» GCC OpenMP Wiki

2013-05-23 14:48:04 949

原创 缺少动态链接库

可使用ldd命令来查询所需库的信息,将缺少的库文件,通常包括.so和.so.0或.so.5的所有文件,拷贝到LD_LIBRARY_PATH路径下即可。

2013-04-11 09:59:30 564

转载 交互式shell和非交互式shell、登录shell和非登录shell的区别

http://smilejay.com/2012/10/interactive-shell-login-shell/曾经写过“交互式shell和非交互式shell、登录shell和非登录shell的区别”,但那时理解相对更浅一些,现在多了一点认识,把这篇文章稍微完善一下吧。交互式shell和非交互式shell、登录shell和非登录shell的区别。首先,这是两个不

2013-04-03 17:22:38 971

转载 16进制查看方法

[转]http://blog.csdn.net/chenglian_999/article/details/4672177xxd - make a hexdump or do the reverse.  能够显示文件对应的十六机制格式,同时还能将修还后的十六进制格式反写回文件,一般与vim结合使用。(利用vim的:! 参数执行外部命令)使用过程如下:(1)用vim打开要查看文件

2013-03-29 10:47:10 1063

转载 Ubuntu APT常用命令参数

http://www.jz123.cn/text/1330298.html常用的Ubuntu APT命令参数  apt-cache search package 搜索包  apt-cache show package 获取包的相关信息,如说明、大小、版本等  sudo apt-get install package 安装包  sudo apt-get i

2013-03-22 13:49:31 405

原创 Linux 管理

RedHat 进程查询:netstat -tlnpps aux服务重启:/etc/init.d/*** restartor/etc/rc.d/init.d/*** restart

2013-03-22 13:44:03 383

原创 SSH

client与server建立连接的过程:建立client和server之间的安全连接。具体见Establishing the Secure Connection本机会主动利用接收到的服务器的Public Key去对比本机中~/.ssh/known_hosts有无相关的公匙。如果有,则对比记录是否相同,若相同则继续登录动作。若不相同,出现警告信息,退出登

2013-03-22 09:40:59 615

转载 linux time 含义

Real, User and Sys process time statisticsOne of these things is not like the other. Real refers to actual elapsed time; User and Sys refer to CPU time used only by the process.*Real is wall

2013-03-14 10:24:03 765 1

原创 安装valgrind

由于要调试mpi程序,所以需要编译/mpi/libmpiwrap.c需要在./configure的时候checkchecking for usable MPI2-compliant mpicc and mpi.h... yes, mpicc是否是yes,当使用mvapich+intel时是no, 选择openmpi+intel是yes./configure --prefix

2013-03-11 21:55:22 453

原创 Ubuntu 12.04 切换到 text-only mode

Installing the GUI will probably cause it to start automatically, but it’s very easy to boot to text mode in Ubuntu. Just open /etc/default/grub as root and add text to the line:GRUB_CMDLINE_LINUX

2013-03-06 20:46:54 1087

原创 中断屏幕恢复

tool: screenscreen 启动c-a-d 退出屏幕screen -r 恢复屏幕c-a 多屏幕之间切换c-a-c 生成新的屏幕

2013-03-06 09:21:10 587

原创 连接文件LINK

Linux下有两种连接文件:1. hard link    每个文件拥有一个唯一的inode,文件内容由inode的纪录来指向。要想读取内容,必须要经过目录纪录的文件名来指向到正确的inode号码才能读取。文件名只与目录有关,文件内容与inode有关。hard link允许多个文件名对应到同一个inode号码。hard link只是在某个目录下新建一条文件名连接到某个inode号码的关联纪

2013-02-19 17:03:34 302

原创 Linux环境下编译运行程序

file [文件]可以查看文件的基本类型(ASCII/Data/Binary),并且它有没有使用动态链接库(share library)。函数库分为动态和静态函数库使用make的相关功能来简化编译命令。make是一个程序,执行时会去找makefile文件。一般makefile可由检测程序configure生成。通常会写一个检测程序来检测用户的操作环境,以及该操作环境是否有所需要

2013-01-30 19:40:19 250

原创 文件目录权限与配置

chgrp    改变文件所属文件组chown   改变文件所有者chmod  改变文件权限             chown -R 帐号名称:组名 文件或目录任何设备在linux下都是文件:- 表示文件d 表示目录l 表示linkfile设备与设备文件:b block设备文件

2013-01-30 18:56:37 266

原创 Parallel Tools Platform 安装

下载Eclipse for Parallel Application Developers最新版本 PTP 是 6.0.3,但是Eclipse for Parallel Application Developers,所包含的PTP是6.0.2,建议先安装Eclipse for Parallel Application Developers再升级到6.0.3。升级方法可参考relea

2013-01-29 20:44:59 912

原创 Hadoop Streaming Input and Output

StreamJob.java run() method:init();  生成 Environment env_ 对象prePorcessArgs(); parseArgv(); 解析Hadoop Streaming 命令参数,并赋值给StreamJob成员变量postProcessArgs(); 检查输入参数的完整性,有效性,充分性setJob

2013-01-29 15:52:17 528

原创 Running Spark on Mesos[ 安装及运行 ]

<!--@page {margin:0.79in}p {margin-bottom:0.08in}-->安装scala解压文档:tar -zxvf scala-2.9.2.tgz将下面语句加入到~/.bashrc 或 .profileexport SCALA_HOME="/opt/scala"export PATH="${SCALA_HO

2013-01-23 20:17:25 1852

原创 Mesos 安装与运行

<!--@page {margin:0.79in}p {margin-bottom:0.08in}-->Download Mesos 0.9.0-incubating<!--@page {margin:0.79in}p {margin-bottom:0.08in}a:link {color:#0000ff}-->Sys

2013-01-23 19:26:07 1180

原创 Java IO

Java 使用 System.out 作为标准输出,他是 PrintStream 类(字节流)的对象。PrintStream的输出功能非常强大,一般要输出文本内容,都应该将输出流包装成PrintStream后输出。PrintStream ps = new PrintStream(new FileOutputStream("/home/hadoop/out.txt"));Java

2013-01-13 14:48:01 252

空空如也

空空如也

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

TA关注的人

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