
Linux/Unix
yunccll
这个作者很懒,什么都没留下…
展开
-
高性能计算机,今天开了下眼界:-)
今天去参加一个高性能计算机的发布会,真是大开眼界啊。平时我比较多的关注于PC,最多也就小型机,今天发布会上的公司都是做超级计算机。最后出场的一个厂商真牛——SGI,居然在一台机器上(不是cluster)做到1024个core,几十T的共享内存,企业的数据库都可以直接放到内存里来计算,还知道有专门的数据库是在内存里面跑的。 今天的这些厂商都是使用安腾芯片的,虽然也都是给intel和自己打打广告原创 2006-11-21 19:05:00 · 1987 阅读 · 1 评论 -
can not connect to X Server 0.0 Error
碰到 can not connect to X Server 1001.0 之类的错误运行 xhost +local:username然后再 运行就好了原创 2012-04-09 13:37:15 · 4019 阅读 · 0 评论 -
Shell Parsing Process
1. Redirection Parse>, >>, 2>, | , 2. Command and variable substitution$var, $(cmd), ${var}3. Wildcard expansion (file name wildcard) *, ?, [] 4. Command Executione原创 2012-09-26 16:03:22 · 614 阅读 · 0 评论 -
CoreDump Linux Setting
ulimit -S -c unlimited > /dev/null 2>&1原创 2012-11-19 10:44:36 · 463 阅读 · 0 评论 -
Makefile --- updated the Static & Dynamic Lib
APP_PATH= .INC_PATH= $(APP_PATH) \ $(HOME)/cl_tmp/tools/cmockery-0.1.2/src/google/ \ #$(HOME)/dfs/ThirdLibs/thrift-0.8.0/include LIB_PATH原创 2012-11-20 15:21:59 · 726 阅读 · 0 评论 -
need to expert in flieds
Nginx reading & rewrite~~~~~~~~原创 2012-09-19 13:01:44 · 554 阅读 · 0 评论 -
git using
http://www.linuxidc.com/linux/2011-04/35036.htm原创 2012-11-20 23:17:49 · 673 阅读 · 0 评论 -
linux 下的socket 调试工具 netcat 使用
download link: http://netcat.sourceforge.net/该工具有三种模式:1. client 模式 netcat [options] remote port 2. server模式 netcat -l -p port [options] 3. tunel 模式 ....... not us原创 2012-11-22 10:21:46 · 13339 阅读 · 0 评论 -
link 一下 修改mysql 的六种方法
http://database.chinaunix.net/a2011/1120/1276/000001276351.shtml原创 2011-11-21 13:56:26 · 320 阅读 · 0 评论 -
mysql tips
另一篇文章:Mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost'问题的解决这种问题需要强行重新修改密码,方法如下:/etc/init.d/mysql stop (service mysqld stop )/usr/bin/mysqld_safe --skip-grant-tables原创 2014-07-07 14:39:01 · 570 阅读 · 0 评论 -
查看线程 cpu 占用 linux
ps H -eo user,pid,ppid,tid,time,%cpu,cmd --sort=%cpu | grep test_front原创 2014-11-21 11:08:36 · 563 阅读 · 0 评论 -
Makefile 相关
$@: 规则中的目标名$!$^: 规则中所有的依赖项目。$?: 规则中时间新于目标的依赖项目常用参数:-f : 指定makefile的名称,这样,就可以不用makefile做为规则文件的名字了。-i : 使make程序忽略运行时的错误,继续运行。-C: 指定目录运行make ; make -C dir-j:原创 2014-03-11 09:10:10 · 1000 阅读 · 0 评论 -
vim tips
1. 已经打开的vim 中,diff 新的文件:diffsplit file 简写(diffs) 默认为 hor 模式 : vert diffs file --》 垂直模式 2. dp 和 do 后,重新diff一下diffupdate (diffu) 3.原创 2016-03-28 10:54:42 · 455 阅读 · 0 评论 -
CouchDB Ubuntu Linux Server 安装
0. 环境:Ubuntu apt-get install Erlang 安装1. 安装 unixODBC 和 unixODBC-dev 包sudo apt-get install unixODBC unixODBC-dev 注意:2012-3-13止, 名字就叫做 unixODBC-dev,我是试了网上列出的很多名字都不行原创 2012-03-13 10:33:28 · 1413 阅读 · 0 评论 -
Regex
摘抄,以后整理ref link : http://deerchao.net/tutorials/regex/regex.htm1 \b是正则表达式规定的一个特殊代码(元字符,metacharacter),代表着单词的开头或结尾,也就是单词的分界处.2 .是元字符,匹配除了换行符以外的任意字符。3 *是元字符,不过它代表的不是字符,也不是位置,而是数量——它指定*前边的原创 2011-11-10 11:03:02 · 4217 阅读 · 0 评论 -
vsftpd dead , but subsys locked --解除方法汇总(Red Hat Enterprise Linux 4)
系统: RHEL4ftp软件:vsftpd 2.**** , 与 xinetd 分离运行.状态: 执行用service vsftpd status ->vsftpd dead, but subsys locked ,重新安装vsftp,结果依旧. 1. 先删除 /var/lock/subsys/vsftpd -> rm -frv /var/lock/subsys/vsftpd2.原创 2006-12-11 18:05:00 · 7059 阅读 · 0 评论 -
eclipse 插件安装 之 Refresh
今天第一次使用eclipse, 给eclipse的插件时碰到了一个问题. 按照以下的步骤安装插件,但是在 插件总是装不上: 1. 解压下载后的插件,然后copy到plugin文件夹,或者features文件夹(如果有的话).重启eclipse.后来试了半天才发现原来可以需要refresh一下配置文件, 方法是: 2. delete掉eclipse/configuratio原创 2007-07-30 02:46:00 · 1216 阅读 · 0 评论 -
使用apache portable runtime 编译程序 apr
基本按照如下的步骤就可以编译和运行成功了(redhat AS 4 编译通过):1. Install the apr in the system . system: redhat AS 4 after building, the include files and libs will be installed in the /usr/local/apr/* 2.Compiling: 0).原创 2007-05-09 08:27:00 · 1613 阅读 · 0 评论 -
automake detail step by step
1. automake Detail step by step -) autoscan infile: NULL outfile: -> configure.scan -) cp configure.scan configure.in && vi configure.in configure.in: AC_INIT(pkg_name, version, email) A原创 2007-09-03 17:16:00 · 890 阅读 · 0 评论 -
shell 函数返回值的方法
shell 函数返回值的方法从shell函数中返回的数值的方法不多,有本书书里说只有写入文件或者全局变量。(The only way to return a value to the calling program is to write it to a file (or standardoutput) and have the calling program read (or assig原创 2008-01-10 23:28:00 · 22921 阅读 · 1 评论 -
Bash shell 中的位置参数 $1....$#等的详细解析
1.概念 位置参数(position parameter) 运行脚本前(调用函数前),shell 传递给脚本的参数。 2. 原理 bash 脚本的位置参数的传递可以做如下理解: 1. shell将用户输入的命令行 分别赋值给 1, 2, 3, 4, 5....N 2. 然后将最后一个参数的名称 N 赋值给 # 例如: ./script.sh pa1 pa2原创 2008-07-15 03:23:00 · 8513 阅读 · 0 评论 -
linux 允许生成 core dump文件开关
使用 ulimit命令ulimit -S -c unlimited > /dev/null 2>&1setting position:~/.bash_profile;; or ~/bashrc or /etc/profile ----原创 2011-09-27 16:22:06 · 1300 阅读 · 0 评论 -
tips of building & debug execute files
1. 在linux下查看某个二进制可执行程序依赖的库文件(so文件),用ldd命令即可。2. nm 可以查看 execute file 的 symbal3. objdump 也可以查看execute的symbal 引用:http://www.51testing.c原创 2011-10-12 13:42:44 · 648 阅读 · 0 评论 -
hadoop use at first
1. compile the WordCount.javajavac -classpath ./hadoop-core-0.20.203.0.jar -d ../hdp_test -s ../hdp_test ../hdp_test/WordCount.java -Xlint:deprecation2. jar it jar -cvf ~/hdp_test/WordC原创 2011-11-23 16:25:40 · 424 阅读 · 0 评论 -
shell 基本语法
记录一下: http://www.cnblogs.com/chengmo/archive/2010/10/14/1851434.html原创 2011-11-04 17:08:44 · 370 阅读 · 0 评论 -
protobuf 编译问题
copy from http://blog.chinaunix.net/uid-20682147-id-4957588.html.ibtoolize: AC_CONFIG_MACRO_DIR([./aclocal]) conflicts with ACLOCAL_AMFLAGS=-I ./aclocal执行libtoolize遇到上面提示的错误时,可能是因为configur原创 2017-01-16 11:06:44 · 1335 阅读 · 0 评论