自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(162)
  • 资源 (4)
  • 收藏
  • 关注

转载 How connection tracking in Open vSwitch helps OpenStack performance

By introducing a connection tracking feature in Open vSwitch, thanks to the latest Linux kernel, we greatly simplified the maze of virtual network interfaces on OpenStack compute nodes and improved it

2016-08-01 17:07:11 733

原创 ubuntu livecd isolinux的定制

启动部分的菜单,显示内容等是在gfxboot-theme-ubuntu源码中,apt source gfxboot-theme-ubuntu gfxbootcd gfxboot-theme-ubuntu*/make DEFAULT_LANG=zh_CNsudo cp -af boot/* ../live-cd/isolinux/参考:https://help.ubunt

2016-04-29 15:31:25 2845

原创 centos 7和Windows 10双系统启动配置

在/boot/grub2/grub.cfg文件中增加一个启动项,如下:menuentry "Windows 10" --class windows --class os {        insmod part_msdos        insmod ntfs        insmod ntldr        set root='(hd0,msdos1)'       

2015-12-30 15:59:36 586

转载 Building a pure Debian armhf rootfs

There are lots of filesystems images for various Debian flavours on ARM developer boards like the Cubietruck floating about. Most of these images are large binary files of unknown providence and even

2015-06-12 10:28:31 1527

原创 libvirt在使用virbr0并发启动虚拟机时死锁

日志如下:Jun  9 10:30:52 localhost kernel: ip_tables: (C) 2000-2006 Netfilter Core TeamJun  9 10:30:52 localhost kernel: nf_conntrack version 0.5.0 (16384 buckets, 65536 max)Jun  9 10:30:53 localhos

2015-06-09 11:07:39 1230

转载 android sdk adt更新配置

203.208.46.146 www.google.com74.125.113.121 developer.android.com203.208.46.146 dl.google.com203.208.46.146 dl-ssl.google.com

2014-10-22 22:18:05 362

转载 ER diagram for OpenStack database

import ConfigParserfrom sqlalchemy import MetaDatafrom sqlalchemy_schemadisplay import create_schema_graphconfig = ConfigParser.RawConfigParser()config.read('/etc/nova/nova.conf')connection

2014-05-06 10:22:13 708

原创 在centos6.5上rpmbuild openstack horizon包

在编译时遇到unkown sub command "collectstatic"时,需要

2014-04-25 18:12:21 992

转载 nova resize "Host key verification failed"

# usermod -s /bin/bash nova  # su - nova  $ chcon -u system_u -r object_r -t user_home_t .  $ mkdir -p -m 700 --context=system_u:object_r:ssh_home_t:s0 .ssh && cd .ssh

2014-04-23 09:29:51 850

转载 RDO Havana Neutron&GRE L3 Layer Troubleshooting

RDO Havana Neutron&GRE L3 Layer TroubleshootingThis post follows up http://lxer.com/module/newswire/view/200975/index.html For Basic Neutron Networking concepts,please, view developer.rack

2014-04-23 09:18:06 698

转载 OpenStack Horizon How to include custom stylesheets css less

Method 1 (Tested with OpenStack Havana)=========================== 1)Create a folder for css/less. like,horizon/openstack_dashboard/static/custom_dashboard/less2)Goto that folder and c

2014-04-17 15:44:52 701

转载 USB Redirection hack on "Two Node Controller&Compute Neutron GRE+OVS" Fedora 20 Cluster

USB Redirection hack on "Two Node Controller&Compute Neutron GRE+OVS" Fedora 20 Cluster   I clearly understand that only incomplete  Havana RDO setup allows me to activate spice USB redi

2014-04-16 10:15:08 6954

转载 Setting up Neutron-dhcp-agent & Dnsmasq on Two Node Neutron GRE+OVS F20 Cluster to launch VMs with M

Setting up Neutron-dhcp-agent & Dnsmasq on Two Node Neutron GRE+OVS F20 Cluster to launch VMs with MTU 1454 automatically  When you first time boot cloud instance (RDO Havana) via `nova bo

2014-04-16 10:10:58 2400

转载 aunching Instance via image and creating simultaneously bootable cinder volume (glusterfs) on Two No

Launching Instance via image and creating simultaneously bootable cinder volume (glusterfs) on Two Node GRE+OVS+Gluster F20 ClusterActually, post is about attempt to make working following

2014-04-16 10:09:21 798

转载 Direct access to Nova metadata

Attempt to reproduce "Direct access to Nova metadata per Lars Kellogg-Stedman"Quoting  http://blog.oddbit.com/2014/01/14/direct-access-to-nova-metadata/In an environment running Neutro

2014-04-16 10:08:08 674

转载 HowTo access metadata from RDO Havana Instance on Fedora 20 & OpenStack Networking concepts

HowTo access metadata from RDO Havana Instance on Fedora 20 & OpenStack Networking conceptsOpenStack Networking conceptsThe  OpenStack Networking components are deployed on the Control

2014-04-16 09:30:44 877

转载 RDO Havana Neutron Namespaces Troubleshooting for OVS&VLAN (GRE) Config

RDO Havana Neutron Namespaces Troubleshooting for OVS&VLAN (GRE) ConfigThe  OpenStack Networking components are deployed on the Controller, Compute, and Network nodes in the following conf

2014-04-16 09:23:19 585

转载 Identifying and Troubleshooting Neutron Namespaces

I recently gave you an intro to my talk at the Hong Kong OpenStack Summit about Neutron namespaces. One of the commenters had seen the video of my talk and requested that we post the slideshow. In t

2014-04-15 10:14:05 461

翻译 深刻理解Python中的元类(metaclass)

类也是对象在理解元类之前,你需要先掌握Python中的类。Python中类的概念借鉴于Smalltalk,这显得有些奇特。在大多数编程语言中,类就是一组用来描述如何生成一个对象的代码段。在Python中这一点仍然成立:123456>>>classObjectCreator(object)

2014-04-08 12:29:11 467

转载 Virtual Machine Optimization

Contents [hide]1 Introduction2 3rd Party Tools & Documents2.1 Tools3 Licensing is Your Responsibility4 Best practices for Installing Virtual Machines5 Optimizing your Golden Master

2013-12-27 13:20:34 1470

原创 remaster ubuntu alternative iso

sudo uck-remaster-unpack-iso ubuntu.isosudo uck-remaster-prepare-alternategpg --gen-keygpg --list-keysudo uck-remaster-finalize-alternate 691D19E1sudo uck-remaster-pack-isols

2013-11-20 13:53:27 1097

转载 Ubuntu 12.04 3600 GMA Driver for Intel (Cedarview)

There is a ppa repository with drivers for ubuntu 12.04 at http://ppa.launchpad.net/sarvatt/cedarview/ubuntu/With the following steps, you can get accelerated X working with the Intel Cedarview Ch

2013-10-08 13:09:17 1812

原创 rebuild gsettings schemas

1.in /usr/share/glib-2.0/schemas/2.use glib-compile-schemas /usr/share/glib-2.0/schemas to rebuild the schemas

2013-09-26 10:01:20 748

原创 No matching signal for on_something_event

QtWarning QMetaObject::connectSlotsByName: No matching signal for on_something_event() Search with Google I found a post that explained, very clearly, what happens. I'd bet it's somewhere in the

2013-09-26 09:08:12 919

原创 lzma inird de/compress

In case of Ubuntu 12.04 the initramfs image is a CPIO image with LZMA compression. You can decompress it by the following: mkdir /tmp/ubuntu_bootcd /tmp/ubuntu_bootcat /cdrom/casper/in

2013-09-26 09:08:09 762

原创 pxe ubuntu livecd

Setting up PXE boot of Ubuntu 12.04 Live CD INTRODUCTION Sometimes it's nice to boot a complete operating system over a network, and not have to install to a drive or use

2013-09-26 09:08:07 1204

原创 linux并口编程

The printer is accessible through /dev/lp0; in the same way, the parallel port itself is accessible through /dev/parport0. The difference is in the level of control that you have over the wires in the

2013-09-26 09:08:05 1352

原创 Virtualbox – Host guest communication.

Will try to explain the architecture/design behind host guest communication in VBox with an example of display. You can dynamically configure virtual monitors (attached to guest OS) using SetVid

2013-09-26 09:08:03 761

原创 autostart desktop example

/usr/share/applications/stumpwm.desktop[Desktop Entry] Type=Application Name=StumpWM Exec=stumpwm NoDisplay=true # name of loadable control center module # name we put on the WM spec check window X-GN

2013-09-26 09:08:00 1072

原创 ubuntu fix tooltip script

#/bin/sh # Tooltip fix # A script to fix themes files in Ubuntu 11.10 # to have readable tooltips in applications such # as eclipse. # The script edits the gtk.css, settings.ini and gtkrc files # Au

2013-09-26 09:07:58 604

原创 usb redir

Set up Qemu-kvm 1.1 & Spice-gtk 0.12 with USB redirection on Ubuntu Precise$ sudo add-apt-repository ppa:bderzhavets/lib-usbredir81$ sudo apt-get update$ sudo apt-get install qemu-kvm qemu qemu-common

2013-09-26 09:07:56 1305

原创 skype

/usr/bin/qemu-kvm -S -M pc-0.14 -cpu> core2duo,+lahf_lm,+sse4.1,+xtpr,+cx16,+tm2,+est,+vmx,+ds_cpl,+pbe,+tm,+ht,+ss,+acpi,+ds> -enable-kvm -m 1536 -smp 1,sockets=1,cores=1,threads=1 -name w7test

2013-09-26 09:07:54 519

原创 keepalive

In libvirt, it's perfectly possible and widely used to have disabledtimers (timeout=-1) and fire them up 'randomly' with timeout=0.However, with current mapping into glib mainloop it's not possibl

2013-09-26 09:07:52 594

原创 ubuntu 12.04 透明支持解决方法

gconftool-2 --set --type=bool /apps/metacity/general/compositng_manager true 管理员在2009年8月13日编辑了该文章文章。 --> -->

2013-09-26 09:07:49 625

原创 libvirt vm com1

virsh console vmname 管理员在2009年8月13日编辑了该文章文章。 --> --> 阅读(62) | 评论(0) | 转发(0) |

2013-09-26 09:07:47 524

原创 C++ , QT Adding Icon/Image to Label

Summary : This code shows how to add image to QLabel.Inserting image inside QLabel text involves setting TextFormat to RichText and adding image tag with required values.#include int main(int argc

2013-09-26 09:07:45 625

原创 How to enable sound in Ubuntu 11.04 While login as root

Here’s a simple way to make sound work after reboot.1.) First, log out current account and log-in as root.You can enable root account by running this command in terminal, enter current user password a

2013-09-26 09:07:43 690

原创 kvm windows guest NMI crash dump in libvirt

1.create a DWORD value NMICrashDump = 1 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl ;2. uncheck "automatically restart" in "Properties of my computer" -> "Advanced" -> "Startup

2013-09-26 09:07:37 1341

原创 openstack network specify gateway

–-dnsmasq_config_file=/etc/nova/dnsmasq.confdnsmasq.conf should contains:dhcp-option=6,10.1.100.254dhcp-option=3,10.1.100.254dhcp-option 6 should be set to the resolver you want to use, and dhcp-optio

2013-09-26 09:07:34 812

原创 Using SCSI Persistent Reservations with RHEL6 Advanced Platform Cluster

Using SCSI Persistent Reservations with RHEL Advanced Platform Cluster1 IntroductionWhen cluster nodes share storage devices, it is necessary to control access to the storage devices. In the event of

2013-09-26 09:07:32 896

The Linux Programming Interface

The Linux Programming Interface.pdf 吐血推荐

2011-02-14

Prentice.Hall.Essential.Linux.Device.Drivers.Apr.2008.chm

Prentice.Hall.Essential.Linux.Device.Drivers.Apr.2008.chm

2010-08-01

Agile.And.Iterative.Development.A.Managers.Guide

Agile.And.Iterative.Development.A.Managers.Guide

2010-08-01

SIP协议中文手册-01

Internet的许多应用都需要建立和管理一个会话,会话在这里的含义是在参与者之间的数据的交换。由于考虑到参与者的实际情况,这些应用的实现往往是很复杂的:参与者可能是在代理间移动,他们可能可以有多个名字,他们中间的通讯可能是基于不同的媒介(比如文本,多媒体,视频,音频等)-有时候是多种媒介一起交互。人们创造了无数种通讯协议应用于实时的多媒体会话数据比如声音,影像,或者文本。本SIP(会话初始协议)和这些协议一样,同样允许使用Internet端点(用户代理)来寻找参与者并且允许建立一个可共享的会话描述。为了能够定位精确的会话参与者,并且也为了其他的目的,SIP允许创建基础的network hosts(叫做代理服务器),并且允许终端用户注册上去,发出会话邀请,或者发出其他请求。SIP是一个轻形的,多用途的工具,可以用来创建,修改和终止会话,它独立运作于通讯协议之下,并且不依赖建立的会话类型。

2010-07-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除