摘要: # DHCP Server Configuration file.# see /usr/share/doc/dhcp*/dhcpd.conf.sample#ddns-update-style none;default-lease-time 259200;max-lease-time 518400;option routers 10.1.29.3;option broadcast-address 1... 阅读全文
posted @ 2010-08-10 19:40 chinacloud 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 概而言之,virtio 是半虚拟化 hypervisor 中位于设备之上的抽象层。virtio 由 Rusty Russell 开发,他当时的目的是支持自己的虚拟化解决方案 lguest。本文在开篇时介绍半虚拟化和模拟设备,然后探索 virtio 的细节。本文的重点是来自 2.6.30 内核发行版的 virtio 框架。Linux 是 hypervisor 展台。如我的 剖析 Linux hype... 阅读全文
posted @ 2010-08-10 19:20 chinacloud 阅读(4082) 评论(1) 推荐(0) 编辑
摘要: Virtio[edit] Paravirtualized drivers for kvm/Linux Virtio was chosen to be the main platform for IO virtualization in KVM The idea behind it is to have a common framework for hypervisors for IO virtu... 阅读全文
posted @ 2010-08-10 19:12 chinacloud 阅读(5108) 评论(0) 推荐(0) 编辑
摘要: 从http://www.libvirt.org/downloads.html下载libvirt0.8.2.tar.gz解压:#tar -xzvf libvirt0.8.2.tar.gz#cd libvirt0.8.2Configure 设置安装路径。 设置python头文件地址#./configure --prefix=/usr CPPFLAGS=-I/usr/include/python2.4#... 阅读全文
posted @ 2010-08-10 17:34 chinacloud 阅读(1718) 评论(0) 推荐(0) 编辑
摘要: 在编译boto等包时需要python2.6,但centos默认是2.4,所以需要安装2.6的python版本。下载好2.6后,开始安装:./configure --prefix=/usr/python2.6 #默认情况下python2.6的几个文件夹是装在不同的路径的,所以指定了统一的路径,安装在一起。makemake install然后就是在/root/.bash_profile中设置pytho... 阅读全文
posted @ 2010-08-10 09:19 chinacloud 阅读(8305) 评论(0) 推荐(0) 编辑
摘要: 首先在/etc/init.d中加入描述服务的脚本文件,我需要开机启动svn服务,所以我的脚本文件为svn:#!/bin/bash#chkconfig: 35 81 71#description:svn service in init.dsvnserve --daemon --root=/svn/repos --listen-port=3690chkconfig的格式为:chkconfig:[runlevel] [start number] [stop number]然后利用chkconfig将此守护进程加入服务列表中:chkconfig --add svnchkconfig svn onchk 阅读全文
posted @ 2010-08-10 09:13 chinacloud 阅读(2643) 评论(0) 推荐(0) 编辑