å¦ä½ä½¿ç¨redhat 6.0èæåå®è£
èææº
linux ç»äºæ¯æèæåäº,ä½æ¯åªè½å¨64ä½æä½ç³»ç»å®ç°ï¼ä¹å°±æ¯ä½ å®è£
çç³»ç»éåè¦æ¯64ä½çæå¯ä»¥å®ç°ï¼32ä½çç³»ç»æ¯ä¸æ¯æçï¼èæåæ¯ä¸ªå¥½ä¸è¥¿ï¼å¯ä»¥å¨ä¸åçç³»ç»å®è£
ä¸åç¨èªå·±çç³»ç»æ¥è¾¾å°æ´å¤çåè½ï¼ä¸é¢è®°å½çæ¯å¦æ使ç¨èæåå®è£
win 7çæ´ä¸ªè¿ç¨ï¼
1.é¦å
å®è£
好èæåç软件ï¼å¨å®è£
ç³»ç»çæ¶åæèæåçé项å¾éå³å¯
2.æå¼ç»ç«¯ï¼è¾å
¥virt-manageræå¼èæåçé¢
3.ç¹å»çµèå¾æ ï¼è®¾ç½®èªå·±ççµèå称ï¼ç¶åç¹å»åè¿
4.å¨è¿ééæ©ä½¿ç¨ISOéåï¼ç¶åç¹å»æµè§-æ¬å°æµè§éæ©èªå·±çµèä¸çéåï¼å»ºè®®ä½¿ç¨å®å
¨å®è£
ççéåï¼æèªå·±ä½¿ç¨ghostçéåæ æ³å®è£
ï¼ä½¿ç¨å®å
¨å®è£
ççåå¯ä»¥å®è£
ï¼å¦æéå°æ æ³å®è£
ççé¢å»ºè®®æ´æ¢å®å
¨ççéåï¼éæ©èªå·±çæä½ç³»ç»ç±»ååçæ¬ï¼ç¹å»åè¿
5.设置å
ååCPUï¼å
åæ ¹æ®ä¸»æºå³å®ï¼ä¸å¯è®¾ç½®ç太大å太å°ãXP 512å³å¯ï¼win 7设置1GBå³å¯ï¼ç¹å»åè¿
6.é¦æ¬¡å®è£
çæ¶å使ç¨å¾éâ为èææºå¯ç¨åå¨âåâå¨è®¡ç®æºç¡¬çä¸å建硬çå½±åâï¼ååºå¤§å°æ ¹æ®ç³»ç»åçµè空é´å³å®ï¼ä¹åå®è£
çæ¶åå¯ä»¥ä½¿ç¨æ¤éåï¼æå称æ¹ä¸ä¸ç¶åæ´æ¹åå¨è·¯å¾å³å¯ï¼æâç«å³åé
æ´ä¸ªç£çâçå¾å»æç¹åè¿
7.ä¸é¢æ个é«çº§é项ï¼æå¼ä¹åéæ©æ¡¥æ¥ï¼è¿æ ·å¯ä»¥è®©èææºå主æºéä¿¡ï¼å¦æä¸è¿æ ·è®¾ç½®å°±ä¸è½é讯ï¼æ¡¥æ¥çç½å¡éè¦èªå·±æåç¼è¾ä¸åbr0çç½å¡ï¼ï¼å¦æ没ææ¤ç½å¡ï¼èªå·±å¯ä»¥éæ°å建ï¼
vi /etc/sysconfig/network-scripts/ifcfg-br0
æç
§ä¸é¢çæ¹å¼å¡«åï¼
DEVICE=br0 ç½å¡å称
ONBOOT=yes å¼æºæ¯å¦å¯å¨
TYPE=Bridge ç½å¡ç±»å
IPADDR=192.168.0.123 ipå°å
NETMASK=255.255.255.0 åç½æ©ç
æwqä¿åéåºï¼ç¶åç¼è¾ï¼vi /etc/sysconfig/network-scripts/ifcfg-eth0
å å
¥ä¸é¢ä¸è¡ï¼
BRIDGE=br0
æä¸è¡é¿çUUIDçé项ï¼å°å
¶å é¤ï¼ç¶åwqä¿åéåºï¼ç¶åå¨å®è£
èææºï¼éæ©æ¡¥æ¥ä¹åç¹å»å®æ
8.ååï¼ç»äºåºç°ç±»ä¹
è¿çwin å®è£
çé¢ï¼å¨è¿ä¸ªçé¢æç
§æ£å¸¸å®è£
çè¿ç¨å®è£
å³å¯
9.ä¸é¢æ¯æçµèçeth0çé
ç½®ï¼
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=br0
TYPE=Ethernet
ONBOOT=yes
IPADDR=192.168.0.205
NETMASK=255.255.255.0
BOOTPROTO=none
PREFIX=24
GATEWAY=192.168.0.1
DNS1=202.106.0.20
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=br0
PEERDNS=yes
PEERROUTES=yes
10.ä¸é¢æ¯br0çé
ç½®åæ°ä¾åè
cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
ONBOOT=yes
IPADDR=192.168.0.205
NETMASK=255.255.255.0
11.å¦æå¨å¯å¨ç½å¡çæ¶ååç°ä¹ä¸çé误ï¼æ示æ个ç½å¡æ¾ä¸å°ï¼è¿æ¯ä¹åçç½ç»é¾æ¥å称ï¼å°å
¶å é¤å³å¯
[root@localhost network-scripts]# /etc/init.d/network restart
æ£å¨å
³éæ¥å£ br0ï¼ [ç¡®å®]
æ£å¨å
³éæ¥å£ Auto_eth0ï¼ é误ï¼æ²¡ææ¾å°è®¾å¤ 'eth0
br0'ãï¼
[失败]
æ£å¨å
³éæ¥å£ eth0ï¼ è®¾å¤ç¶æï¼3 (æå¼è¿æ¥)
[ç¡®å®]
å
³éç¯åæ¥å£ï¼ [ç¡®å®]
å¼¹åºç¯åæ¥å£ï¼ [ç¡®å®]
å¼¹åºçé¢ Auto_eth0ï¼ æ´»è·è¿æ¥ç¶æï¼æ¿æ´»ç
æ´»è·è¿æ¥è·¯å¾ï¼/org/freedesktop/NetworkManager/ActiveConnection/3
[ç¡®å®]
å¼¹åºçé¢ eth0ï¼ device eth0 is already a member of a bridge; can't enslave it to bridge br0.
[ç¡®å®]
å¼¹åºçé¢ br0ï¼ [ç¡®å®]
å¯ä»¥çå°Auto_eth0ç½ç»å¯å¨å¤±è´¥ï¼ç¶åå°å
¶å é¤
rm -rf Auto_eth0
åéå¯ç½å¡ /etc/init.d/network restart
[root@localhost æ¡é¢]# /etc/init.d/network restart
æ£å¨å
³éæ¥å£ br0ï¼ [ç¡®å®]
æ£å¨å
³éæ¥å£ eth0ï¼ è®¾å¤ç¶æï¼3 (æå¼è¿æ¥)
[ç¡®å®]
å
³éç¯åæ¥å£ï¼ [ç¡®å®]
å¼¹åºç¯åæ¥å£ï¼ [ç¡®å®]
å¼¹åºçé¢ br0ï¼ æ´»è·è¿æ¥ç¶æï¼æ¿æ´»ç
æ´»è·è¿æ¥è·¯å¾ï¼/org/freedesktop/NetworkManager/ActiveConnection/1
[ç¡®å®]
å¼¹åºçé¢ eth0ï¼ device eth0 is already a member of a bridge; can't enslave it to bridge br0.
[ç¡®å®]
è¿æ ·èææºå®è£
ä¹åå°±å¯ä»¥å主æºéä¿¡äºï¼ä¹å¯ä»¥é¾æ¥å¤ç½
温馨提示:答案为网友推荐,仅供参考