Ubuntu安装配置NFS文件系统
NFS文件系统使用起来比较的方便简单,现在在为MPC8313ERDB配置一个NFS。
一 主机准备:
1. 主机使用Ubuntu系统,首先安装软件包:
sudo apt-get install portmap nfs-kernel-server
2. 配置文件/etc/exports
sudo gedit /etc/exports...
分类:
其他好文 时间:
2014-05-10 10:49:06
阅读次数:
293
链表中结点的分配和回收是由系统提供的标准函数malloc和free动态实现的,称之为动态链表。
如果程序支持指针,则可按照我们的一般形式实现链表, 需要时分配,不需要时回收即可.
动态链表的空间是可以动态扩展的。
typedef struct node{
EleType data;
struct node * pNext;
}Node;
有些高级语言中没有“指...
分类:
其他好文 时间:
2014-05-10 10:38:07
阅读次数:
297
一、第三方库的编译与安装
1. libfaac
# tar -zxvf faac-1.28.tar.gz
# cd faac-1.28
# ./configure --prefix=/opt/YOUR_SDK_INSTALL_DIRECTORY --enable-static --disable-shared
# make; make install
2. libmp3lame...
分类:
其他好文 时间:
2014-05-10 10:23:00
阅读次数:
401
题目来源:HDU 1542 Atlantis
题意:给你一些矩形(左下角和右上角)求面积
思路:参考here这个超赞的 一看就懂了
#include
#include
#include
#include
using namespace std;
const int maxn = 210;
struct node
{
double l, r, h;
int s, val;
nod...
分类:
其他好文 时间:
2014-05-07 08:59:09
阅读次数:
395
public class LinkedList {
Node head = null;
Node tail = null;
int length = 0;
public void add(Object object) {
Node node = new Node(object, null);
if (head == null) {
head = tail = nod...
分类:
其他好文 时间:
2014-05-07 08:24:17
阅读次数:
306
当直接从Live CD镜像(例如从U盘)启动Ubuntu系统时,如果想要安装sshd服务,那么需要安装openssh-server软件包,如果用apt-get install的方式安装不了就换用aptitude安装,安装成功后却发现启动不了ssh服务,如下所示:...
分类:
其他好文 时间:
2014-05-07 07:02:43
阅读次数:
306
题意:所有n个人围成一个圈,
#include
#include
struct Node
{
int data;
Node *next;
Node *prior;
};
Node* CreateList(Node* &head, int n);
Node* searchk(Node *ptr, Node* &head, int k);
Node* rsearchm(Node...
分类:
其他好文 时间:
2014-05-07 06:26:28
阅读次数:
327
Cocos2d-x采用层级(树形)结构管理场景、层、精灵、菜单、文本、地图和粒子系统等节点(Node)对象。一个场景包含了多个层,一个层又包含多个精灵、菜单、文本、地图和粒子系统等对象。层级结构中的节点可以是场景、层、精灵、菜单、文本、地图和粒子系统等任何对象。节点的层级结构这些节点有一个共同的父类...
分类:
其他好文 时间:
2014-05-06 14:20:59
阅读次数:
272
1.ubuntu14.04安装依赖sudo apt-get install
build-essential gawk m4 libasound2-dev libcups2-dev libxrender-dev xorg-dev
xutils-dev x11proto-print-dev binuti...
分类:
其他好文 时间:
2014-05-06 14:19:33
阅读次数:
343
#include#define NULL 0struct Node{ char po[10];
struct Node *next;};int main(void){ struct Node a,*head,*p; a.po[10]="abc";
struct Node...
分类:
其他好文 时间:
2014-05-06 14:14:13
阅读次数:
288