惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
Cisco Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
IT之家
IT之家
博客园 - 【当耐特】
V
V2EX
博客园_首页
T
Tailwind CSS Blog
Last Week in AI
Last Week in AI
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 司徒正美
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
Know Your Adversary
Know Your Adversary
S
Schneier on Security
V
Vulnerabilities – Threatpost
T
The Exploit Database - CXSecurity.com
Vercel News
Vercel News
量子位
G
GRAHAM CLULEY
T
Threatpost
D
Darknet – Hacking Tools, Hacker News & Cyber Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cybersecurity and Infrastructure Security Agency CISA
S
Security @ Cisco Blogs
B
Blog
Stack Overflow Blog
Stack Overflow Blog
T
Tor Project blog
A
About on SuperTechFans
博客园 - 叶小钗
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
S
Securelist
博客园 - 聂微东
Cloudbric
Cloudbric
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
H
Help Net Security
N
News | PayPal Newsroom
P
Privacy & Cybersecurity Law Blog
Schneier on Security
Schneier on Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
W
WeLiveSecurity
Martin Fowler
Martin Fowler
K
Kaspersky official blog
S
Security Affairs
TaoSecurity Blog
TaoSecurity Blog

博客园 - xiaoyixy

WeakHashMap相关 Java常见问题[转] MONO,原来你是水中月 Lucene 搜索引擎倒排索引原理 让进程在后台运行方法汇总 用 Spreadsheet::ParseExcel处理中文excel文件 IBM terminology abstraction Perl Note(2) 亲爱的,我想念你 Perl命令行应用 深入PAM Perl Note(1) Shell技巧 GRUB awk学习 高手好习惯 Shell脚本 用户管理 re notes
PXE Network Boot and Install Linux over NFS server
xiaoyixy · 2008-12-22 · via 博客园 - xiaoyixy

PXE Network Boot is an Intel technology that can boot a system and install OS from remote image source. The prerequisites to achieve this include: a ROM embedded into a network card confroming Intel PXE specification, a DHCP server that can serve as a responser of the request sent by NIC card and assign an IP for it, a remote boottrap and kernel over TFTP protocol. In this demo, additionally we will use a NFS server that provides the actual image source.

Set up NFS Server

Served as a remote image source provider, we set up a NFS server that the images locates and will be remotely attached to a client. NFS is a cluster file system relatively simple and is readily provided in almost all the Linux distributions. So the first thing to do is to enable the NFS daemo. The NFS server processes are started from the /etc/init.d/nfs and /etc/init.d/nfslock files. Both of these files may be enabled with the customer chkconfig commands:

Code

The behavior of NFS on your server may be controlled by the /etc/sysconfig/nfs file. This file contains the options used by the /etc/init.d/nfs file, and usually does not exist by default. So, firstly, start NFS daemon and tell the NFS process where the image source locates and can be mounted remotely by a client server. The more detailed behavior information of NFS process can be seen below:

NFS detailed info

Set up TFTP Server

TFTP is a file transfer protocal silimar to FTP but a lot more simpler. Install TFTP packages on the NFS server (or any other server). Further configure the root of the TFTP service via config file /etc/xinetd.d/tftp, a typical specification will look like:

tftp service

 Configure PXELINUX on TFTP server

Now configure PXELINUX on TFTP server so that the PXE client can know where to load an OS bootstrap and start the installation process. The necessary files include:

Code

A sample configuration file looks like:

Sample cfg

 Configure DHCP server 

A typical DHCP configuration looks like the following. Note that in the configuration file, it specifies the NIC address of the client, designates an IP for the client, and specifies the location of the TFTP server and bootstrap location. 

Code

 A demo reference can de found on IBM developer network: 如何远程安装Linux