Setup tftp+dhcp on Mac OSX for pxe
来源:互联网 发布:java怎么用session 编辑:程序博客网 时间:2024/05/22 04:45
1, port install dhcp
vi /opt/local/etc/dhcp/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.101 192.168.0.254;
}
option domain-name-servers 8.8.8.8;
host e3-xeon-v3 {
hardware ethernet 00:25:90:d4:cc:4a;
filename "pxelinux.0";
next-server 192.168.0.100;
fixed-address 192.168.0.101;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}
注: 192.168.0.100 是Mac系统里的一个固定网卡的IP
运行:
sudo dhcpd -f -d -cf /opt/local/etc/dhcp/dhcpd.conf
2, install tftpserver
A, downlaoding tftpserver for mac
http://ww2.unime.it/flr/tftpserver/TftpServer.dmg
双击TftpServer, 复制些必要的文件到/priviate/tftpboot下 (具体的文件可以参考另外一篇文章 http://blog.csdn.net/hujunnt/article/details/11387221 )
ls -l /private/tftboot
-rw-r--r--@ 1 root wheel 33383679 6 3 16:30 initrd.img
-rw-r--r-- 1 root wheel 26595 6 3 16:15 pxelinux.0
drwxr-xr-x 3 root wheel 102 6 3 16:34 pxelinux.cfg
-rw-r--r--@ 1 root wheel 4128368 6 3 16:29 vmlinuz
B, 用port 安装
port install tftp-hpa
sudo tftpd -L -s <tftp-root-dir>
3, 启动 pxe 客户端,就可以了
虽然是Mac OS X,依然很简单
- Setup tftp+dhcp on Mac OSX for pxe
- A good setup for Perl on OSX
- Setup docker on OSX
- qmake for simple makefile on mac osx
- Qt for Android on Mac OSX部署
- PXE网络安装LINUX [DHCP+TFTP+NFS]
- kickstart无人值守,PXE+TFTP+FTP+DHCP
- Pxe+dhcp+ftp+tftp+Kickstart+CentOs6.6
- PXE网络装系统(PXE+DHCP+TFTP+FTP)
- PXE Serer Setup for RHEL
- setup tftp server on ubuntu
- [软件安装] libsvm for matlabR2012b on Mac OSX 10.9
- 网络自动安装centos{dhcp+pxe+tftp+http)
- PXE——Centos 6.0(DHCP,tftp,http,kickstart)
- Fedora搭建服务器,DHCP+TFTP+FTP+PXE启动安装CentOS
- kichstart+dhcp+tftp+http+pxe批量自动安装centos
- pxe+dhcp+nfs+tftp自动安装linux[kickstart]
- kichstart+dhcp+tftp+http+pxe批量自动安装centos
- Android中关于JNI 的学习(六)JNI中注册方法的实现
- oracle:完整剖析PL/SQL DEVELOPER与SQL PLUS字符集设置
- CruiseControl定点触发(该文章为复制别人的博客)
- _00011 Redis 安装以及快速入门之一(Redis安装)
- OCP 1Z0 051 QUESTION NO: 45
- Setup tftp+dhcp on Mac OSX for pxe
- startActivityForResult,onActivityResult,setResult的用法
- 搭建svn服务器
- 优秀博客地址汇总
- 毕业季
- ORA-00600: internal error code, arguments: [kkqtSetOp.1]
- IOS Swift语言,后乔布斯时代大变革
- C++习题 继承与组合
- leetcode: N-Queens II