2011年2月24日
2011年2月14日
virtual box in fedora 14
reference
http://linux-cisco.blogspot.com/2008/01/fedora-8virtualbox.html
>rpm -ivh VirtualBox-4.0-4.0.2_69518_fedora14-1.i686.rpm
錯誤:相依性偵測失敗:
libQtCore.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtGui.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtNetwork.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtOpenGL.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libSDL-1.2.so.0 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
download "oracle_vbox.asc" key for virtualbox:
http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
否則會出現類似警告
warning: VirtualBox-3.2-3.2.6_63112_fedora13-1.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
update fedora:
>yum update
install Qt:
>yum install qt
>yum install qt-devel
錯誤:相依性偵測失敗:
libSDL-1.2.so.0 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
yum install SDL
錯誤:can't create transaction lock on /var/lib/rpm/.rpm.lock (沒有此一檔案或目錄)
只要用最高權限安裝就不會出現了
DKMS packeage install:
http://linuxhub.net/2009/08/install-dkms-virtualbox-driver-not-installed-error-after-updating-to-new-linux-kernel/
>yum install dkms
error:
ref:http://webcache.googleusercontent.com/search?q=cache:79uWE8G1FjsJ:fedoraforum.org/forum/showthread.php%3Ft%3D255773+fedora+virtualbox+Error!+Your+kernel+source+for+kernel+2.6.35.6-45.fc14.i686+cannot+be+found+at+/lib/modules/2.6.35.6-45.fc14.i686/build+or+/lib/modules/2.6.35.6-45.fc14.i686/source.&cd=2&hl=zh-TW&ct=clnk&gl=tw&client=firefox-a&source=www.google.com.tw
fedora virtualbox Error! Your kernel source for kernel 2.6.35.6-45.fc14.i686 cannot be found at /lib/modules/2.6.35.6-45.fc14.i686/build or /lib/modules/2.6.35.6-45.fc14.i686/source.
>yum install kernel-devel kernel-headers gcc
>yum groupinstall 'Development Tools'
>/etc/init.d/vboxdrv setup
fedora13成功範例
http://forums.fedoraforum.org/showthread.php?t=245638
http://linux-cisco.blogspot.com/2008/01/fedora-8virtualbox.html
>rpm -ivh VirtualBox-4.0-4.0.2_69518_fedora14-1.i686.rpm
錯誤:相依性偵測失敗:
libQtCore.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtGui.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtNetwork.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtOpenGL.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libSDL-1.2.so.0 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
download "oracle_vbox.asc" key for virtualbox:
http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
>su - apt-key add oracle_vbox.asc
否則會出現類似警告
warning: VirtualBox-3.2-3.2.6_63112_fedora13-1.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
update fedora:
>yum update
install Qt:
>yum install qt
>yum install qt-devel
錯誤:相依性偵測失敗:
libSDL-1.2.so.0 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
yum install SDL
錯誤:can't create transaction lock on /var/lib/rpm/.rpm.lock (沒有此一檔案或目錄)
只要用最高權限安裝就不會出現了
DKMS packeage install:
http://linuxhub.net/2009/08/install-dkms-virtualbox-driver-not-installed-error-after-updating-to-new-linux-kernel/
>yum install dkms
error:
ref:http://webcache.googleusercontent.com/search?q=cache:79uWE8G1FjsJ:fedoraforum.org/forum/showthread.php%3Ft%3D255773+fedora+virtualbox+Error!+Your+kernel+source+for+kernel+2.6.35.6-45.fc14.i686+cannot+be+found+at+/lib/modules/2.6.35.6-45.fc14.i686/build+or+/lib/modules/2.6.35.6-45.fc14.i686/source.&cd=2&hl=zh-TW&ct=clnk&gl=tw&client=firefox-a&source=www.google.com.tw
fedora virtualbox Error! Your kernel source for kernel 2.6.35.6-45.fc14.i686 cannot be found at /lib/modules/2.6.35.6-45.fc14.i686/build or /lib/modules/2.6.35.6-45.fc14.i686/source.
>yum install kernel-devel kernel-headers gcc
>yum groupinstall 'Development Tools'
>/etc/init.d/vboxdrv setup
fedora13成功範例
http://forums.fedoraforum.org/showthread.php?t=245638
Ferora安裝flash player
參考資料
http://www.wretch.cc/blog/Likao/24774290
原本在 Linux 視窗介面下安裝插件是一件很容易的事~
只要雙擊 .rpm 檔就可以自動安裝了~
但是不知道為什麼,用這樣子的方式安裝插件包~
常常會莫名其妙的安裝失敗~
在上網搜尋過後~
發現還是以輸入指令的方式安裝比較"穩"~!!
安裝步驟如下:
1.去 Adobe 的官網下載 flash player 的 .rpm 檔。
2.打開終端機 cd 到該 .rpm 檔的路徑底下,輸入以下指令:
shell>> su -c "yum localinstall --nogpg *.rpm"
然後輸入 root 的密碼照著提示操作就安裝完成了。
只要雙擊 .rpm 檔就可以自動安裝了~
但是不知道為什麼,用這樣子的方式安裝插件包~
常常會莫名其妙的安裝失敗~
在上網搜尋過後~
發現還是以輸入指令的方式安裝比較"穩"~!!
安裝步驟如下:
1.去 Adobe 的官網下載 flash player 的 .rpm 檔。
2.打開終端機 cd 到該 .rpm 檔的路徑底下,輸入以下指令:
shell>> su -c "yum localinstall --nogpg *.rpm"
然後輸入 root 的密碼照著提示操作就安裝完成了。
[jim@jimfedora download]$ su -c "yum localinstall --nogpg *.rpm"
Loaded plugins: langpacks, presto, refresh-packagekit
Adding zh_TW to language list
Setting up Local Package Process
Examining flash-plugin-10.2.152.27-release.i386.rpm: flash-plugin-10.2.152.27-release.i386
Marking flash-plugin-10.2.152.27-release.i386.rpm to be installed
fedora/metalink | 13 kB 00:00
fedora | 4.3 kB 00:00
fedora/primary_db | 11 MB 00:02
updates/metalink | 4.1 kB 00:00
updates | 4.7 kB 00:00
updates/primary_db | 3.5 MB 00:36
Resolving Dependencies
--> Running transaction check
---> Package flash-plugin.i386 0:10.2.152.27-release set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
flash-plugin
i386 10.2.152.27-release /flash-plugin-10.2.152.27-release.i386 12 M
Transaction Summary
================================================================================
Install 1 Package(s)
Total size: 12 M
Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : flash-plugin-10.2.152.27-release.i386 1/1
Installed:
flash-plugin.i386 0:10.2.152.27-release
Complete!
[jim@jimfedora download]$
訂閱:
文章 (Atom)
NO-CARRIER 網卡無法啟動
工作時,由於想要啟動linux OS的網卡, 發現某張新設定的網卡一直無法啟動,就算下指令UP了,但是也沒有順利啟動 所以爬文後,想要確認該網卡的status, 發現某行為: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu...