2011年11月16日 星期三

PXELinux 設定範例

/etc/xinetd.d/tftp
---------------------------------------------
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

/etc/dhcpd.conf
-------------------------------------------
ddns-update-style none;
ignore client-updates;
allow booting;
allow bootp;
subnet 192.168.56.0 netmask 255.255.255.0 {
range 192.168.56.10 192.168.56.20;
option broadcast-address 192.10.0.255;
option routers 192.168.56.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.19.10;
next-server 192.168.56.101;
filename "linux-install/gpxelinux.0";
}

/tftpboot/linux-install/pxelinux.cfg/default
--------------------------------------------
DEFAULT menu.c32
PROMPT 0
ALLOWOPTIONS 0
TIMEOUT 50

LABEL linux
MENU LABEL LINUX
KERNEL vmlinuz
append initrd=initrd.img


LABEL local
kernel chain.c32
append hd0 0


LABEL dos
MENU LABEL DOS
kernel memdisk
append initrd=dos.img


LABEL memtest
MENU LABEL MEMTEST
kernel memdisk
append iso initrd=memtest86+-4.20.iso

2011年11月3日 星期四

PROXMOX新增WEB帳號


1.ssh login
2.add user
3.add user group id 0