摘要: 概而言之,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) 编辑
摘要: 新建一个ifcfg-br0文件:DEVICE=br0TYPE=BridgeBOOTPROTO=staticBROADCAST=10.1.255.255IPADDR=10.1.29.3NETMASK=255.255.0.0NETWORK=10.1.0.0ONBOOT=yes然后修改相应网卡的配置文件,我的是eth1:# Realtek Semiconductor Co., Ltd. RTL-8169... 阅读全文
posted @ 2010-08-09 15:22 chinacloud 阅读(6820) 评论(0) 推荐(0) 编辑
摘要: 登陆shell首先调用/etc/profile这个文件,该文件调用/etc/profile.d;然后~/.bash_profile这个文件被调用;而这个文件调用的是~/.bashrc;~/.bashrc文件又会调用/etc/bashrc。每个调用的脚本会依次撤销前一个调用脚本中的改变。 阅读全文
posted @ 2010-08-08 22:55 chinacloud 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 1.Linux根据有无网络与有无X Window,分为7个运行级别: 0-halt(系统直接关机) 1-single user mode(单用户维护模式,用于系统出问题时进行维护)2-Multi-user,without NFS(类似运行等级3,但无NFS) 3-Full multi-user mode(完整的含有网络功能的纯文本模式) 4-unused(系统保留) 5-X11(类似运行级别3,但... 阅读全文
posted @ 2010-08-08 22:06 chinacloud 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 一、raid二、svn 1.subversion-1.6.12.tar.gz 2.httpd-2.2.16.tar.gz 3. db-5.0.26.NC /*svn必须的数据库*/####################################安装步骤开始####################################1.以root用户登录系统,将以上软件复制到/usr/local... 阅读全文
posted @ 2010-08-06 17:41 chinacloud 阅读(754) 评论(1) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2010-08-05 09:02 chinacloud 阅读(2) 评论(0) 推荐(0) 编辑