Archive for linux

Enable WCDMA 3G Wireless @ Ubuntu 10.04

WCDMA 3G Wireless: Huawei e1750

Service Provider: China Unicom

  • Install USB driver then reboot
    sudo apt-get install usb-modeswitch
  • Go to nm-conntion-editor > Mobile Broadband > Add … >

  • Configure
    APN: uninet
    PIN: 1234

  • Share/Bookmark

Comments off

Hypervisor Brief Intro

View of Avi Kivity By Irfan Habib, http://www.linuxjournal.com/article/9764?page=0,1

In many ways, VMware is a ground-breaking technology. VMware manages to fully virtualize the notoriously complex x86 architecture using software techniques only, and to achieve very good performance and stability. As a result, VMware is a very large and complex piece of software. KVM, on the other hand, relies on the new hardware virtualization technologies that have appeared recently. As such, it is very small (about 10,000 lines) and relatively simple. Another big difference is that VMware is proprietary, while KVM is open source.

Xen is a fairly large project, providing both paravirtualization and full virtualization. It is designed as a standalone kernel, which only requires Linux to perform I/O. This makes it rather large, as it has its own scheduler, memory manager, timer handling and machine initialization.

KVM, in contrast, uses the standard Linux scheduler, memory management and other services. This allows the KVM developers to concentrate on virtualization, building on the core kernel instead of replacing it.

QEMU is a user-space emulator. It is a fairly amazing project, emulating a variety of guest processors on several host processors, with fairly decent performance. However, the user-space architecture does not allow it to approach native speeds without a kernel accelerator. KVM recognizes the utility of QEMU by using it for I/O hardware emulation. Although KVM is not tied to any particular user space, the QEMU code was too good not to use—so we used it.

  • Share/Bookmark

Comments off

Decided to Switch KVM

Choosing a hypervisor in #Cloud projects always costs me time, between Xen & Kernel-based Virtual Machine (KVM). After an interesting discussion with one of Cloud Computing architect @ IBM, we get a deal – use KVM for future #Cloud implement. My considerations:

  1. IBM announced to boost KVM @ Cloud initiatives since March this year. This indicates IBM’s strategy @ hypervisor on Intel machines leans to KVM, rather than Xen. And more official development, test and support are coming after.
  2. Virtio project to support better network IO performance. http://kbase.redhat.com/faq/docs/DOC-25441

More resources:
KVM vs Xen, dates back in 2006, but telling some basic > http://www.gridvm.org/xen-vs-kvm.html
Xen vs KVM by Xen > http://blog.xen.org/index.php/2010/05/07/..kvm-linux-..community/
KVM @ IBM InfoCenter > http://publib.boulder.ibm.com/../kvminstall/liaaikvminstallstart.htm
Securing KVM @ IBM InfoCenter > http://publib.boulder.ibm.com/../kvmsec/kvmsecguest.htm
Benchmark by Xen > http://wiki.xensource.com/..Quantitative+Comparison+of+Xen+and+KVM.pdf
KVM vs VMware > http://www.workswithu.com/2009/04/27/kvm-vs-vmware-a-case-study/

They’re all @ http://delicious.com/j3ffyang/kvm

Notice: since I only consider #OpenSource virtualization solution @ my #Cloud projects on Intel, there is #proprietary #VMware in my solution design. But integration with VMware is always available.

  • Share/Bookmark

Comments off

Enable VT @ BIOS

One of my customer asked me how to reuse the old fashioned PC in their Cloud. The question leads to “How to enable VT @ BIOS?”. I wrote the following message to my customer:

Go to BIOS setting, then “Enable” or “Turn On” “Virtualization Technology” like

Source & Credit: http://publib.boulder.ibm.com/../kvminstall/kvmadvancedsetup.jpg

In Linux, here are steps to enable VT

(source: http://www.redhat.com/..VT_in_BIOS.html)

Verify the virtualization extensions are enabled in BIOS. The BIOS settings for Intel® VT or AMD-V are usually in the Chipset or Processor menus. The menu names may vary from this guide, the virtualization extension settings may be found in Security Settings or other non standard menu names.

Procedure 34.1. Enabling virtualization extensions in BIOS

Reboot the computer and open the system’s BIOS menu. This can usually be done by pressing the delete key, the F1 key or Alt and F4 keys depending on the system.

Select Restore Defaults or Restore Optimized Defaults, and then select Save & Exit.

Power off the machine and disconnect the power supply.

Enabling the virtualization extensions in BIOS

Note: BIOS steps

Many of the steps below may vary depending on your motherboard, processor type, chipset and OEM. Refer to your system’s accompanying documentation for the correct information on configuring your system.

Power on the machine and open the BIOS (as per Step 1).

Open the Processor submenu The processor settings menu may be hidden in the Chipset, Advanced CPU Configuration or Northbridge.

Enable Intel Virtualization Technology (also known as Intel VT) or AMD-V depending on the brand of the processor. The virtualization extensions may be labeled Virtualization Extensions, Vanderpool or various other names depending on the OEM and system BIOS.

Enable Intel VTd or AMD IOMMU, if the options are available. Intel VTd and AMD IOMMU are used for PCI passthrough.

Select Save & Exit.

Power off the machine and disconnect the power supply.

Run cat /proc/cpuinfo | grep vmx svm. If the command outputs, the virtualization extensions are now enabled. If there is no output your system may not have the virtualization extensions or the correct BIOS setting enabled.

  • Share/Bookmark

Comments off

InfoSphere BigInsights

image


IBM announced new offering in Cloud http://www.ibm.com/software/data/infosphere/hadoop/

The comments from CNet:

tags: linux bi opensource hadoop cloud big apache infosphere data biginsights

  • Share/Bookmark

Comments off

Install Ubuntu in Personal Way

One of my colleagues was impressed by the 3D desktop, driven by CompizConfig on my Ubuntu 10.04.

He then asked me how to install one on his ThinkPad T43 machine. Giving the steps:

  1. Find a 2G USB key. Click Download @ http://www.ubuntu.com/desktop
  2. You’d be given an ISO file. Then follow the step 2 & select “Create a USB stick” @ http://www.ubuntu.com/desktop/get-ubuntu/download
  3. Restart your Windows then boot from USB key
  4. From the same page you can either run Ubuntu from USB to start the installation
  • Share/Bookmark

Comments off

What does the string @ site subject mean?

91d437f0fb56cfb5b64de81b60bd6738 ->

$ echo “a man on linux” | openssl dgst

or

$ echo “a man on linux” | md5sum

  • Share/Bookmark

Comments off

« Previous entries Next Page » Next Page »