为了配置集群环境,把过程记录一下,方便后续使用NFS 文件系统 是 network file system配置好ssh无密码访问 ,各节点为centos6.5主节点在文件/etc/exports 中增加以下几行:/home/cluster10.12.190.183(rw,sync,no_root_s...
分类:
其他好文 时间:
2015-01-03 19:45:30
阅读次数:
272
1.安装nfs
$sudo apt-get install nfs-kernel-server
2.增加目录到nfs列表
$vi /etc/exports
在末尾加入:
/home/nfs *(rw,sync,no_root_squash)
3.重启服务器:
$sudo /etc/init.d/nfs-kernel-server restart...
分类:
系统相关 时间:
2015-01-02 22:30:21
阅读次数:
248
1. 进入VS开发环境,然后Tools -> Visual studio 2010 Command Prompt2. cd到d:\下3. 输入命令d:\dumpbin /exports a.dll回车即可看到a.dll的所有导出函数如果要重定向输出至b.txt文本文件,则命令格式如下:d:\dump...
分类:
其他好文 时间:
2015-01-02 15:47:42
阅读次数:
146
Visual Studio里面自带了一个工具dumpbin。打开VS的command line,输入dumpbin可以查看帮助。我们查看导出函数的话,使用选项/EXPORTS。如果函数太多,可以用findstr(相当于linux下面的grep)来过滤结果。
分类:
编程语言 时间:
2014-12-31 12:59:22
阅读次数:
297
npm文档:www.npmjs.com[GruntFile.js]module.exports = function(grunt) { grunt.initConfig({ timestamp:'', jspath:'app/js/', csspath...
分类:
Web程序 时间:
2014-12-30 20:35:29
阅读次数:
230
1模块定义definedefine(function(require,exports,module){//require引入需要的模块如jquery等//var$=require(‘./jquery‘);//exports可以把方法或属性暴露给外部exports.name=‘hi‘;exports.hi=function(){alert(‘hello‘);}//module提供了模块信息});2使用定义好的模块seajs.use..
分类:
Web程序 时间:
2014-12-29 15:39:44
阅读次数:
227
自己使用angular实现html中类似title的功能.1)首先写指令 exports.define=function(md){//这个是写的通用的安全使用apply的服务md.factory(‘safeApply‘,function($rootScope){ returnfunction(scope,fn){ varphase=scope.$root.$$phase; if(phase==‘$apply‘||phase==‘$..
分类:
Web程序 时间:
2014-12-29 12:20:16
阅读次数:
237
define(function(require,exports,module){ var $music = document.getElementById('music'); var $music_mm = $('#music'); var $music_voice = $('.m...
分类:
Web程序 时间:
2014-12-28 14:13:32
阅读次数:
189
需求:在SUSE11.1建NFSAIX6.1上挂载NFSSUSE11.1上建NFS(1)首先使用安装光盘安装nfs-kernel-server(2)配置共享目录,编辑/etc/exports,加入/nfs_dir*(rw,sync,no_root_squash,no_all_squash)/nfs_dir是共享目录*表示可以访问的IP范围,这里指所有IP都能访问no_all_squash保..
分类:
其他好文 时间:
2014-12-26 14:48:58
阅读次数:
195
NDK里有个例子: android-ndk-r10/samples/module-exports/jni一看就懂了———————————————————————————–从r5版本开始,就支持预编译的库(共享和静态). 也就是说在你的应用中,可包含和使用 预先编译的库。这个功能的用处1. 你想分发你...
分类:
移动开发 时间:
2014-12-26 14:29:55
阅读次数:
211