2009年8月3日 星期一

colinux + centos 5.2

centos 5.2
colinux-centos52.exe

CentOS-PHP.bat
colinux-daemon  -t nt @CentOS-PHP.conf
CentOS-PHP.conf

cobd0="D:\coLinux\CentOS-PHP\system.img"
cobd7="D:\coLinux\CentOS-PHP\swap512m.img"
#cobd1="CentOS-5.3-i386-bin-DVD.iso"
#cofs0="C:\Program Files\coLinux"
cofs0="D:\"
cofs1="X:\"
kernel="vmlinux"
root=/dev/cobd0 fastboot
#initrd="C:\Program Files\coLinux\initrd.gz"
mem=512
eth0=slirp
eth1=tuntap
eth2=pcap-bridge,"coLinux network",03:50:56:C0:A0:31

 
vi /etc/sysconfig/network

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=devphp

vi /etc/sysconfig/network-scripts/ifcfg-eth1

============================================
EVICE=eth1
BOOTPROTO=dhcp
ONBOOT=no
TYPE=Ethernet

============================================
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.168.131
BROADCAST=192.168.168.255
NETMASK=255.255.255.0
NETWORK=192.168.168.0
ONBOOT=yes
TYPE=Ethernet

沒有留言: