Install kernel support and xen tools 1.yum -y install kernel-xen.x86_64 kernel-xen-devel.x86_64 xen.x86_642./etc/init.d/xend start#yum - y install virt-manager (graphical interface) dd if=/dev/zero of=centos5.img bs=1M count=10000dd if=/dev/zero of=swap.img bs=2k seek=512k count=1
virt-install -n centosxm -r 512 -f centos5.img -l http://mirrors.163.com/centos/5.7/os/i386/–network=network:default -p -s 10 &ndash ;nographics –vcpus=2yum -y install vncvncserver
xm list
Centos default Xen structure is bridge mode, you need to modify the corresponding configuration. /etc/xen/xend-config.sxp (network-script network-bridge) (vif-script vif-bridge) comment out (network-script network-route) (vif-script vif-route) remove the comment and change it to Route mode (NAT mode) Restart the xen service to make the settings take effect, /etc/init.d/xend restart/etc/init.d/libvirtd start to see the NIC in the virt-manager
xm console <NAME> Connect to the virtual machine console xm create <NAME> Create a host based on the configuration file. If you have followed the previous operation and completed the virtual host installation, this command is actually equivalent to starting a virtual machine xm shutdown <NAME> ; Shutdown xm reboot <NAME> Restart xm destroy <NAME> Delete host xentop resources before host usage
Use the ps and grep commands to find the zombie process #ps -A -ostat,ppid,pid,cmd | Grep -e ^[Zz]
Installation instructions 1, this installation package can be deployed on all Linux systems of Alib
Find the virtual machine settings, set as shown below (additional figure: must be 3.0 u disk and pl
Multiple startup files Adding multiple startup files by saying that compilation will be wrong. But t
Simple file exchange method for virtual machine and host under Linux
Nginx configuration reverse proxy server
Compile the previous project error solution after IAR upgrade
Bus type MCU and non-bus MCU difference
The problem of the pipeline being closed by the acceptor in the Linux system is solved
The number and string comparison operation commands under the shell
Webmail Roundcube installation configuration basic tutorial
Manage your app with Laravel+Grunt+Bower
Linux common fault handling summary
Scp copying between Linux hosts without entering a password
Win7 activation prompt "System reserved partition unassigned drive letter" What should I do?
How to set up multiple monitors in Windows 8
WinXP will convert FAT32 to NTFS format graphic tutorial
Windows 7 new command line PowerShell Secret
What should I do if the "Desktop" is lost under the Metro interface?
N ways that Win7 makes computers "hiccup"
You don't know Win8.1 hidden new features