Chinaunix首页 | 论坛 | 博客
  • 博客访问: 479332
  • 博文数量: 67
  • 博客积分: 2952
  • 博客等级: 少校
  • 技术积分: 679
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-24 10:50
文章分类

全部博文(67)

文章存档

2011年(9)

2010年(36)

2009年(8)

2008年(5)

2007年(5)

2006年(4)

我的朋友

分类: LINUX

2010-09-21 11:13:34

1. Download ESXi4.1
Please download ESXi4.1 from vmware website, the file is VMware-VMvisor-Installer-4.1.0-260247.x86_64.iso

2. Extract files from iso

# mkdir 1
# mount -o loop VMware-VMvisor-Installer-4.1.0-260247.x86_64.iso 1


3. Copy files for PXE

# cp -r 1/* /ks/iso/64/esx/esxi41/
# cp 1/mboot.c32 /tftpboot/bootimg/64/esx/esxi41/
# cp 1/vmkboot.gz /tftpboot/bootimg/64/esx/esxi41/
# cp 1/vmkernel.gz /tftpboot/bootimg/64/esx/esxi41/
# cp 1/sys.vgz /tftpboot/bootimg/64/esx/esxi41/
# cp 1/cim.vgz /tftpboot/bootimg/64/esx/esxi41/
# cp 1/ienviron.vgz /tftpboot/bootimg/64/esx/esxi41/
# cp 1/install.vgz /tftpboot/bootimg/64/esx/esxi41/


4. prepare ks.cfg

# cat /ks/iso/64/esx/esxi41/ks.cfg
vmaccepteula
rootpw password
clearpart --firstdisk --overwritevmfs
autopart --firstdisk --overwritevmfs
install nfs --server=10.224.106.11 --dir=/ks/iso/64/esx/esxi41
network --bootproto=dhcp
#network --bootproto=static --device=vmnic0 --ip=10.224.106.95 --netmask=255.255.255.0 --gateway=10.224.106.1 --nameserver=10.224.96.228 --hostname=esxi-sde-01 --addvmportgroup=1 --vlanid=953
#Keyboard
keyboard Default
#Reboot after install?
reboot
#serialnum --esx=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx


5. set PXE menu

label ks_64_esxi41
  menu label esxi4.1
  kernel bootimg/64/esx/esxi41/mboot.c32
  append bootimg/64/esx/esxi41/vmkboot.gz ks=nfs://10.224.106.11/ks/iso/64/esx/esxi41/ks.cfg --- bootimg/64/esx/esxi41/vmkernel.gz --- bootimg/64/esx/esxi41/sys.vgz --- bootimg/64/esx/esxi41/cim.vgz --- bootimg/64/esx/esxi41/ienviron.vgz --- bootimg/64/esx/esxi41/install.vgz


6. Boot the server from network and install by menu esxi4.1. after installation finished and reboot automatically, ESXi4.1 will run on your server.
阅读(1386) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-09-21 16:27:36

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com

chinaunix网友2010-09-21 16:27:36

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com