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

推荐订阅源

N
News and Events Feed by Topic
F
Fortinet All Blogs
J
Java Code Geeks
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
P
Privacy International News Feed
V
Visual Studio Blog
Martin Fowler
Martin Fowler
博客园 - 司徒正美
A
Arctic Wolf
M
MIT News - Artificial intelligence
Blog — PlanetScale
Blog — PlanetScale
U
Unit 42
Scott Helme
Scott Helme
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Proofpoint News Feed
P
Palo Alto Networks Blog
S
Securelist
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Threatpost
S
SegmentFault 最新的问题
AWS News Blog
AWS News Blog
MongoDB | Blog
MongoDB | Blog
Apple Machine Learning Research
Apple Machine Learning Research
K
Kaspersky official blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
The Exploit Database - CXSecurity.com
Google DeepMind News
Google DeepMind News
A
About on SuperTechFans
月光博客
月光博客
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CXSECURITY Database RSS Feed - CXSecurity.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
NISL@THU
NISL@THU
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Latest news
Latest news
Y
Y Combinator Blog
PCI Perspectives
PCI Perspectives
S
Security Affairs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog RSS Feed
O
OpenAI News
Google Online Security Blog
Google Online Security Blog
The Hacker News
The Hacker News
博客园 - Franky
Attack and Defense Labs
Attack and Defense Labs
Hugging Face - Blog
Hugging Face - Blog
N
Netflix TechBlog - Medium
The GitHub Blog
The GitHub Blog
T
Troy Hunt's Blog

博客园 - Huntercat

手机流媒体技术介绍--转载 两个标签:EpiData和Nginx solaris10 网络配置 Ubuntu 8.10 Server Apache + SVN + SSL配置 Ubuntu install process show "dpkg was interrupted,you must manually run dpkg --configure -a to correct the problem" Ubuntu 8.10 Server Edition桌面系统的安装 通过PXE安装LINUX操作系统 NX远程连接认证失败的原因及解决方法 Ubuntu使用技巧 Ubuntu下文件移动|复制|打包|解包|挂载iso小结 Ubuntu下Reciteword的安装 SUN SL48磁带库总是离线的解决方案 Ubuntu下配置Telnet服务 Ubuntu下配置SSH服务 Ubuntu启动后死机 Xmanager远程连接Linux的配置 NX访问Ubuntu远程桌面配置 周末终于可以正常休息了 评估倒计时
ubuntu8.04做PXE安装服务器
Huntercat · 2008-11-07 · via 博客园 - Huntercat

首先安装需要的几个软件包
sudo apt-get install tftpd-hpa dhcp3-server portmap nfs-kernel-server
还有apache
安装完后tftpd服务自动启动,这个不用管,但是dhcpd出现错误,不知道怎么回事。不用管安,配置一下dhcp
vi /etc/dhcp3/dhcp.conf
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option domain-name-servers 202.102.128.68, 202.102.134.68;
option domain-name "tm.net.my";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
filename "pxelinux.0";
}
现在启动dhcpd
sudo /etc/init.d/dhcp3-server restart

然后再配置nfs(这是其它linux用到的,ubuntu只有netboot方式)
vi /etc/exports
/mnt/iso 192.168.1.0/24(ro,sync)
其中/mnt/iso是我挂载光盘镜像的目录
启动nfs服务
sudo /etc/init.d/nfs-kernel-server restart

ubuntu是要用http的
mkdir /var/www/ubuntu
sudo mount -o loop ubuntu-8.04.1-alternate-i386.iso /var/www/ubuntu
在安装过程中会要求选择服务器,选最上面的手动输入,服务器填你的IP,目录就不用改了。这里你也可以同步官方服务器的这个目录,这样安装完成就不用再升级了

把光盘中的netboot目录中的所有都拷到/var/lib/tftpboot/中
sudo cp /mnt/iso/install/netboot/* /var/lib/tftpboot/
修改默认的配置文件
sudo vi /var/lib/tftpboot/pxelinux.cfg/default
把其中的
LABEL install
kernel linux
append vga=normal initrd=initrd.gz
改为
LABEL install
kernel linux
append vga=normal initrd=initrd.gz

OK了,现在就可以从另一台电脑用PXE启动安装ubuntu了

但是有一点要注意,上面安装的portmap是不自动启动的,如果不启动这个,nfs传输就是慢得出奇,所以这个也是必须启动的
sudo /etc/init.d/portmap restart