This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:xen_virtualization [2012/08/02 20:45] gcooper |
virtualization:xen_virtualization [2017/01/25 12:06] (current) gcooper |
||
---|---|---|---|
Line 20: | Line 20: | ||
* HVM fully virtualized | * HVM fully virtualized | ||
* Requires hardware support by the mainboard, BIOS and CPU | * Requires hardware support by the mainboard, BIOS and CPU | ||
+ | * http:// | ||
* Provides full virtualization of hardware including the BIOS | * Provides full virtualization of hardware including the BIOS | ||
+ | |||
+ | ===== Generic Xen ===== | ||
+ | |||
+ | http:// | ||
Generic Xen is managed using the " | Generic Xen is managed using the " | ||
+ | |||
+ | There are also various other management consoles or tools for managing Xen: | ||
+ | |||
+ | http:// | ||
===== Xen Cloud Platform ===== | ===== Xen Cloud Platform ===== | ||
Line 38: | Line 47: | ||
http:// | http:// | ||
- | [[virtualization: | + | [[virtualization: |
XenServer is managed via a Windows application, | XenServer is managed via a Windows application, | ||
Line 55: | Line 64: | ||
Use hardware supports Intel VT or AMD SVM for fully virtualized guests (Windows). | Use hardware supports Intel VT or AMD SVM for fully virtualized guests (Windows). | ||
- | **[[Ubuntu Server]]****[[ | + | ==== Ubuntu Server 8.04 ==== |
http:// | http:// | ||
Line 62: | Line 71: | ||
Create and install into a 10GB partition for Dom0 | Create and install into a 10GB partition for Dom0 | ||
+ | |||
+ | < | ||
apt-get update | apt-get update | ||
apt-get upgrade | apt-get upgrade | ||
apt-get install ubuntu-xen-server | apt-get install ubuntu-xen-server | ||
- | apt-get install vim [[ssh]]-server | + | apt-get install vim openssh-server |
+ | </ | ||
+ | |||
+ | < | ||
vi / | vi / | ||
- | loop max_loop=64 | + | |
+ | loop max_loop=64 | ||
+ | </ | ||
+ | |||
+ | < | ||
uname -a | uname -a | ||
xm list | xm list | ||
+ | </ | ||
- | **Centos 5.1** | + | ==== Centos 5.1 ==== |
- | [[Minimal Server Install | + | [[computing: |
- | 1. Boot to CD 1, the only CD needed | + | - Boot to CD 1, the only CD needed |
- | 2. Enter "linux text" to get the text installation setup started | + | |
- | 2.5. Create and install into a 10GB partition for Dom0 | + | |
- | 3. Proceed normally with the installation until it asks which packages to install | + | |
- | 4. Deselect all of the packages and then click on the " | + | |
- | 5. Hold down the " | + | |
- | 6. Finish the install | + | |
- | 7. Do a "yum update" | + | |
- | 8. Do a "yum install < | + | |
- | DomU | + | === DomU === |
Use separate disk partition | Use separate disk partition | ||
+ | < | ||
mkfs.ext3 /dev/sdxn | mkfs.ext3 /dev/sdxn | ||
+ | </ | ||
- | **Ubuntu Guest** | + | === Ubuntu Guest === |
+ | < | ||
mount /dev/sdxn /mnt | mount /dev/sdxn /mnt | ||
Line 98: | Line 120: | ||
mount --bind /dev /mnt/dev | mount --bind /dev /mnt/dev | ||
mount proc /mnt/proc -t proc | mount proc /mnt/proc -t proc | ||
- | chroot /mnt / | + | chroot /mnt /bin/bash |
+ | </ | ||
- | Open another terminal and copy some files to the new guest partition | + | Open another terminal and copy some files to the new guest partition. |
- | You may need to create some folders first | + | |
+ | < | ||
cp / | cp / | ||
cp / | cp / | ||
Line 108: | Line 131: | ||
cp / | cp / | ||
cp -R / | cp -R / | ||
+ | </ | ||
- | Back int the original (chroot' | + | Back in the original (chroot' |
+ | < | ||
apt-get update | apt-get update | ||
apt-get upgrade | apt-get upgrade | ||
- | apt-get install vim [[ssh]] | + | apt-get install vim ssh |
+ | </ | ||
- | Edit the /etc/fstab file | + | Edit the '' |
- | / | + | |
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | < | ||
passwd | passwd | ||
exit #the chroot environment | exit #the chroot environment | ||
umount | umount | ||
+ | </ | ||
Create the Xen configuration file adjusting the IP addressing | Create the Xen configuration file adjusting the IP addressing | ||
- | vi / | + | < |
+ | vi / | ||
kernel | kernel | ||
Line 155: | Line 187: | ||
xm create / | xm create / | ||
- | xm list | + | xm list |
+ | </ | ||
**Centos Guest** | **Centos Guest** |