易截截图软件、单文件、免安装、纯绿色、仅160KB

linux下的nfs服务配置

1、NFS服务器端与客户端的安装:
sudo apt-get install nfs-kernel-server  nfs-common  portmap
2、配置portmap
两种方法任选一种就可以:
sudo emacs /etc/default/portmap
去掉 -i 127.0.0.1
3、配置挂载目录和权限
vim /etc/exports
在该配置文件下加入:
/home/nfsboot *(rw,sync)
解释一下:
4、更新exports文件
sudo exportfs -r
 
5、重启NFS服务
 sudo /etc/init.d/nfs-kernel-server restart 重启nfs服务
 
6、进行测试
尝试一下挂载本地磁盘(我的linux系统IP为202.198.137.18,将/home/nfsboot挂载到/mnt) 
$ sudo mount 202.198.137.18:/home/nfsboot /mnt 
运行 $ df 看看结果 
$ sudo umount /mnt
 
5、嵌入式系统中使用NFS服务挂载(来自网上)
 
嵌入式要mount 的时候 使用 
mount -o nolock 192.168.1.99:/armnfs/new8120 /mnt/net 
注:在内核的配置里面的 
Networking options --->选项中 
启用 TCP/IP networking 
启用IP: kernel level autoconfiguration 
General setup ---> 选项中 , 
Default kernel command string: (默认的内核命令行) 
加入绿色字中的字符 
root=/dev/nfs rw nfsroot=192.168.1.99:/armnfs/ ip=192.168.1.201 init=/linuxrc console=ttyS0 
File system ---> Network File System --->选项 
启用 NFS file system support 
启用 Provide NFSv3 client support 
启用 Root file system on NFS
原文:http://blog.csdn.net/SpringBuilder/archive/2008/11/18/3326684.aspx


相关文档:

实战Linux Bluetooth编程(三) HCI层编程

1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI)  就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......

linux 启动时“smartd”总是失败?

smartd是一个守护进程(一个帮助程序),它能监视拥有自我监视,分析和汇报技术(Self-Monitoring,
Analysis, and Reporting Technology - SMART)的硬盘。
SMART系统使得硬盘能监视并汇报自己的运行状况。它的一个重要特性是能够预测失败,使得系统管理员
能避免数据丢失。
smartd由kernel-utils包缺省安装。用命令 r ......

linux下的tftp服务配置

经过千辛万苦的配置,终于在ubuntu上将tftp服务配置好,现将配置过程记录如下:
1 安装
#大部分网上说明将此处略去
sudo apt-get install tftp tftpd openbsd-inetd 
#先安装这些,没有测试不安装的后果
#如果按照下面的安装方法未能实现tftp服务,那么请安装下面的软件
sudo apt-get install tftpd-hpa tftp-hpa ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号