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

Network Booting a Linux STB with PXE

Summary
PXE (Preboot eXecution Environment) is, in one persons words, Intel's attempt at making PCs work more like SUNs (
ref
). PXE
outlines a protocol for enabling the BIOS to retrieve the operating system over standard network protocols.
This document outlines the process of setting up an Allwell STB to use a PXE enabled BIOS to load and run a Linux kernel
and root file system
Contents
Introduction and Prerequisites
Conceptual Overview
Setting Up DHCP
Installing the TFTPD server
Moving Kernel and Root FS Images
Setting Up PXELINUX
Configuring the Client
Links
Introduction and Prerequisites
This
document steps through the process of setting up the appropriate
servers, creating the client code, and enabling the client to boot. It
is assumed that the reader has a fundamental grasp of networking
concepts. DHCP, Linux Kernel, TFTP, and BIOS concepts will be covered
here, as well, and some knowledge of those topics is required.
Also,
you'll need a kernel and root file system setup. I think the easiest
way to do all of that is to follow the instructions in the Bootdisk
HOWTO (part of the standard LDP HOWTO documents) as if you were making
a two-disk floppy bootdisk set. I have been told that some
distributions (Slackware?) come with boot/root images. I have also
heard that there is a set on the FTP site at kernel.org. That may be a
faster way to the goal then the Bootdisk HOWTO.
The
client used in this case was a GCT-Allwell 3036 with the PXE BIOS
extension. The servers were just clunky old PCs with Trustix or
Mandrake loaded on them.
Conceptual Overview
In the case presented in this document, PXE works like this:

The client is booted.
The BIOS portion of the client (or the Network Card
firmware) makes a DHCP request.
The DHCP server responds with the usual information (IP, netmask, gateway, etc.), but in addition
provides information about the location of a TFTP server.
When the client receives the informatio


相关文档:

Linux之Ubuntu篇(一)gcc和g++


这是本人的处男作品,看完的人要对本人负责啊!
gcc和g++都是GNU(组织)的一个编译器。 
gcc与g++的对比
误区一:gcc只能编译c代码,g++只能编译c++代码
两者都可以,但是请注意:
1.后缀为.c的,gcc把它当作是C程序,而g++当作是c++程序;后缀为.cpp的,两者都会认为是c++程序,注意,虽然c++是c的超集,但是两者 ......

mysql在linux下的my.cnf文件在哪里!

用rpm包安装的MySQL是不会安装/etc/my.cnf文件的,
至于为什么没有这个文件而MySQL却也能正常启动和作用,在点有两个说法,
第一种说法,my.cnf只是MySQL启动时的一个参数文件,可以没有它,这时MySQL会用内置的默认参数启动,
第二种说法,MySQL在启动时自动使用/usr/share/mysql目录下的my-medium.cnf文件,这种说法仅 ......

Linux程序设计 终端


对终端进行读写
在编写程序时,我们往往需要从终端读入数据。一种情况是需要连续地读入用户键入的选择项,这往往出现在数据库程序中。程序员往往会使用
getchar
函数来读取数据,继而判断输入的数据是否有效,从而做出反应。其实如此做带有很大的风险,一个实例程序如下
#include <stdio.h>
 
char *men ......

Linux下串口通信

1.         打开串口
       与其他的关于设备编程的方法一样,在Linux下,操作、控制串口也是通过操作起设备文件进行的。在Linux下,串口的设备文件是/dev/ttyS0或/dev/ttyS1等。因此要读写串口,我们首先要打开串口:
     ......

Linux下的UltraEdit安装及去掉30天限制

1.download UltraEdit
http://www.ultraedit.com/downloads/uex.html
2.install  rpm -ivh UltraEdit-1.0-0.13.i386.rpm
3.设置alias,解除30天限制
alias ue='rm -rf ~/.idm/uex/*.*|rm -rf ~/.idm/uex/.dat |/usr/local/bin/uex &' ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号