系统环境:rhel6在服务器端和客户端安装nfs服务,安装rpcbind支持nfs远程映射本地。同时设置开机自启动。[root@server~]#serviceiptablesstop[root@server~]#yum-yinstallnfs-utilsrpcbind[root@server~]#rpm-qanfs*nfs4-acl-tools-0.3.3-5.el6.i686nfs-utils-1.2.3-7.el6.i686..
分类:
其他好文 时间:
2014-05-12 03:20:21
阅读次数:
320
1.到项目文件的proj.android目录下,编辑build_native.sh文件,指定NDK和cocos2dx路径
export NDK_ROOT=/home/liyuchen/dev/android-ndk-r9d
export NDK_MODULE_PATH=/home/liyuchen/dev/cocos2d-x-2.2.1/cocos2dx
2.执行脚本
./b...
分类:
移动开发 时间:
2014-05-11 20:09:19
阅读次数:
399
1:LAMP源码搭建用户关系
a. apache服务以daemon用户的处理请求。以root身份作为主进程。
b. php源码安装,会在httpd.conf文件中自动加入调用模块,但是在该文件中还要修改Addtype和Dir_Moudel...
分类:
其他好文 时间:
2014-05-11 19:51:54
阅读次数:
396
Linux的shell命令难记且容易忘记,但使用以下方法,或许就比较容易记住了。1命令提示符$,#:$表示美元,代表发工资,因此普通用户工作的时候,前面需要放一叠美元工作才有动力。#表示很厉害的意思,发音sharp,虽然不知道root用户到底能做多少事情,但事实是不需要美元激励就有..
分类:
系统相关 时间:
2014-05-11 19:29:21
阅读次数:
354
由于工作的需要,要新建一个mysql的用户,在查阅了mysql的手册之后,做了如下的一些方法记录。#新增一个mysql用户custom,密码为obscure,只能从本机访问和操作数据库testGRANTSELECT,INSERT,UPDATE,DELETE,CREATE,DROPontest.*TO‘custom‘@‘localhost‘IDENTIFIEDby‘obscure‘;#执..
分类:
数据库 时间:
2014-05-11 19:18:11
阅读次数:
369
centos5.8文本安装过程 引导采用默认,引导不用设置密码 网络配置,根据实际情况配置,网关是网络出口的地址,一般为wlan出口的路由器的地址或者是代理服务器的内网IP DNS简单解说图: 主机名--时区--root密码 ..
分类:
其他好文 时间:
2014-05-11 19:03:34
阅读次数:
416
转载请注明出处:http://blog.csdn.net/u012860063
#include
#include
using namespace std;
#define lson l , m , rt << 1
#define rson m + 1 , r , rt << 1 | 1
//lson和rson分辨表示结点的左儿子和右儿子
//rt表示当前子树的根(root),也就是...
分类:
其他好文 时间:
2014-05-11 18:55:14
阅读次数:
277
1、
??
Surrounded Regions
Given a 2D board containing 'X' and 'O',
capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's
in that surrounded region.
For e...
分类:
其他好文 时间:
2014-05-11 18:52:32
阅读次数:
293
http://blog.163.com/drachen@126/blog/static/162607494201271435333906/查看os系统块的大小[root]#
/sbin/tune2fs -l /dev/sda1查看os系统页的大小[oracle@skate-test ~]$ getc...
分类:
系统相关 时间:
2014-05-11 18:21:18
阅读次数:
567
function getElementsByClassName(str,root,tag){
if(root){ root = typeof root == "string" ? document.getElementById(root) : root;
} els...
分类:
编程语言 时间:
2014-05-11 18:20:00
阅读次数:
316