瀏覽模式: 普通 | 列表

上一篇說明怎麼用一般使用者讓母機在重開機/開機後把子機也自動跑起來 (我把它放在/etc/rc.local)

但會失敗

錯誤訊息 
sudo sorry you must have a tty to run sudo
因為sudo 是被限制在tty模式下才能執行的

不過還是有解決方法

執行 visudo
#將這行註解,存檔離開
#Defaults    requiretty

如果你跟我一樣安裝了 virtualbox 4.0.8的話,會發現子機無法使用usb

我上網找了許久,完全沒有解答 (就算我加裝了 extension pack也不行)

不過在新版的 4.0.10 已修正了這個問題,我也更新了,且真的可以使用usb了,可喜可賀!!

官網發佈的訊息如下

ref: http://www.virtualbox.org/wiki/Changelog


VirtualBox 4.0.10 (released 2011-06-27)

This is a maintenance release. The following items were fixed and/or added:

  • GUI: fixed disappearing settings widgets on KDE hosts (bug #6809)
  • Storage: fixed hang under rare circumstances with flat VMDK images
  • Storage: a saved VM could not be restored under certain circumstances after the host kernel was updated (bug #8983)
  • Storage: refuse to create a medium with an invalid variant (for example Split2G with VDI; bug #7227)
  • Snapshots: none of the hard disk attachments must be attached to another VM in normal mode when creating a snapshot
  • USB: fixed occasional VM hangs with SMP guests (bug #4580)
  • USB: proper device detection on RHEL/OEL/CentOS 5 guests (partial fix for bug #8978)
  • ACPI: force the ACPI timer to return monotonic values for improve behavior with SMP Linux guests (bug #8511 and others)
  • RDP: fixed screen corruption under rare circumstances (bug #8977)
  • rdesktop-vrdp: updated to version 1.7.0
  • OVF: under rare circumstances some data at the end of a VMDK file was not written during export
  • Mac OS X hosts: Lion fixes (bug #8903)
  • Mac OS X hosts: GNOME 3 fix
  • Linux hosts: fixed VT-x detection on Linux 3.0 hosts (bug #9071)
  • Linux hosts: fixed Python 2.7 bindings in the universal Linux binaries
  • Windows hosts: fixed leak of thread and process handles
  • Windows Additions: fixed bug when determining the extended version of the Guest Additions (4.0.8 regression; bug #8948)
  • Solaris Additions: fixed installation to 64-bit Solaris 10u9 guests (4.0.8 regression)
  • Linux Additions: RHEL6.1/OL6.1 compile fix
  • Linux Additions: fixed a memory leak during VBoxManage guestcontrol execute (bug #9068)

CentOS 5.6 x64 64位元安裝 Firefox 5 版瀏覽器

需要套件 xulrunner

所以先
yum install xulrunner
下載套件 http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest-5.0/linux-x86_64/zh-TW/firefox-5.0.tar.bz2

解開 firefox-5.0.tar.bz2

在GNOME的 終端機執行 ./firefox



./firefox-bin: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/cross/D_linux_package/firefox/libxul.so)
就算我

[閱讀全文]

VirtualBox 4.x 怎麼用 USB 2.0 ?!

在如下地方設定勾選的話,出現了橘色字體訊息

attachments/201106/8271041647.jpg

要加裝 extension pack (理由是什麼,應該為了未來新東西可以把它模組化吧)

[閱讀全文]

CentOS 5環境下升級php至 5.3版本

環境 CentOS 5.5 i386

當我yum install php53時,出現了如下訊息
# yum install php53
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror01.idc.hinet.net
 * base: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * updates: mirror01.idc.hinet.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53.i386 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53

[閱讀全文]

dell 6i磁碟陣列卡如何在raid6加入新硬碟

在MSM管理介面的"Drive Group : 0 ,RAID 6 "右鍵有個 "Modify Drive Group"

如果是在新硬碟右鍵是沒有能夠讓我加入群組的功能 (只能作成 hot spare),

所以只能從 MOdify Drive Group 來著手

attachments/201106/9384144590.jpg

過程中並不會破壞硬碟的內容,資料還是會存在的,(我是有先另備份資料,以防萬一)

[閱讀全文]

virtualbox 安裝無法安裝64位元的子機 ?

環境是 virtualbox 4.0.8 for CentOS 5.6 x64

當我想安裝 CentOS 5.6 x64的子機時,一直卡在如下畫面
attachments/201106/3299585010.jpg


最後打開 APIC就可以了

attachments/201106/2510272974.jpg