發表文章

目前顯示的是有「Ubuntu」標籤的文章

Ubuntu 安裝 Apache2 加上 PAM管理

參考連結: http://blog.xuite.net/gbisland/linux/14229857 ^^注意在新版的Ubuntu 中 安裝套件的指令要修正為: sudo apt-get install apache2 apache2.2-common apache2-utils apache2-doc libapache2-svn subversion http://icephoenix.us/linuxunix/apache-and-http-authentication-with-pam/

Fix Ubuntu 10.04 KMS for Intel-gpu-based units && Simple Plymouth Howto

Intro: Ubuntu to introduces  Plymouth as boot splash solution to replace Usplash instead for more rich and complex boot visual effects. Also new linux kernel introduces KMS (Kernel Mode Switchig) to replace old UMS (User Mode Switching) to reduce flicker during whole boot process. However, some users may have bad experiences to Ubuntu new boot splash system.  Here is a solution for  Intel-gpu-based units. How to Confirm this issue: Run "dmesg | grep drm" and you should be able to see three message corresponds to three modules loading. If they are loaded in 3 sec, you are good and KMS is ready. You can skip the rest part. Otherwise, for example, if they are loaded after 10 sec, it means KMS is failed to start before Plymouth is up so you can see nothing while booting. Please go proceeding to the next step. Fix KMS in initramfs Refer Source:  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/377875/comments/25 For Intel GPUs, you need to add three...

[筆記]Intel G45 Audio driver update for Ubuntu 10.04

原文出處: http://ubuntuforums.org/showthread.php?p=6589810#post6589810 參考此文,從頭跑到尾就可以把ALSA升級到1.0.23,讓g45的音效順利開啟,不過alsa的ftp在我下載時剛好不能抓,所以我做了另外一個patch,把網站重倒到"http://alsa.cybermirror.org"去 載點: http://sites.google.com/site/hipporepos/pan-duo-la/alsa_site.patch?attredirects=0&d=1

Virtualbox Linux Ubuntu USB share 設定筆記

1 設定好USB filter http://frank.heydlauf.de/jm2c/archive/80/virtualbox-on-os-x-host-howto-mount-an-external-usb-drive 2 把user 加入 vboxusers群組 http://news.softpedia.com/news/How-to-Fix-VirtualBox-USB-Support-111715.shtml 3 登出,再登入 4 all done

推一個好工具 Remastersys,製作LiveCD的東東

官網: http://www.geekconnection.org/remastersys/ 引用來源: http://ghostsinthelab.org/?p=896 Remastersys,一個快速製作 Ubuntu Live CD 的好物 Remastersys 是一個能夠將既有裝好的 Ubuntu, Klikit 及類似、衍生系統,直接做成 Live CD 的方便工具,將很多步驟化繁為簡。我昨天試用了一下,發現原來在 Ubuntu 底下製作 Live CD 也可以這麼傻瓜。 只要點幾下滑鼠,就可以把現有系統轉成LiveCD,非常傻瓜,非常簡單, 如果想知道背後原理的話,可以看這裡: http://www.geekconnection.org/remastersys/capink.html 不過要注意一點,筆者使用在Ubuntu 9.04時,如果沒有安裝network-manager會導致無法開機,一定要增加這套件才能讓LiveCD順利開機喔!

筆記:alc272 在ubuntu 下沒有聲音的解決方法

引用來源: http://ubuntuforums.org/showthread.php?t=1204072 解決方法: The brief instruction for ALC272 is as below: $sudo gedit /etc/modprobe.d/alsa-base.conf then add(or edit) this: options snd-hda-intel model=asus-mode4 Close gedit,then run this in the terminal alsamixer adjust volume and reset your computer.

Nvidia ION 平台 Ubuntu 作業系統 實做 VDPAU 備忘

環境: Ubuntu 9.04 (9.10的sata偵測不到內建的HDD) Kernel: 2.6.28-16 (apt-get更新到最新版) NV Driver:190.42 ( NV官網下載連結 ) Mplayer:終端機下輸入Mplayer不帶任何參數 2.1.0~rc3+svn20090904-0jaunty2 r29643( Launchpad最新版本載點 ) 平台設定: 加入i8042.noaux=1到/boot/grub/menu.lst以避免開機偵測的冗長等待 到System->Preferences->Appearence裡面,把Visual Effects關掉 驗證安裝: NV Driver:主選單 Sysyem->Preferences->NVIDIA X Server Setting Mplayer VDPAU: 輸入以下終端指令播放XXX.mpg,同時觀察cpu 使用狀態 mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau, XXX.mpg 為何不使用SMplayer、Gnome-Mplayer或者Mplayer的圖形模式: SMplayer(版本0.6.6-0ubuntu1)跟Mplayer(版本r29643)不合,開啟VDPAU硬解功能後無法順利播放影像, 造成問題的參數: -wid 50331663 -vf-add screenshot Gnome-Player(版本)可以順利開啟硬解,但是播放時會有畫面偶爾有切斷的狀況 Mplayer GUI,可以開啟硬解,但是會跳出錯誤訊息"[AO_ALSA] unable to open simple control PCM",妨礙播放 解決辦法: 已知mplayer新版可以支援NV VDPAU硬解,但是GUI frontend無法產生正確的參數, 所以自己寫一個shell script達成使用硬解播放的功能,原始碼如下: my-player內文: #!/bin/sh /usr/bin/mplayer -cache 2000 -vo vdpau -ao alsa:device=hw=0.3 -vc ffmpeg...

用Ubuntu打造多媒體平台(未完成)

認真想想其實自己家裡的桌機 每天在用的功能也只有抓檔案(emule)、看影片(Kmplayer)、上網(Chromeplus)、聽音樂(TTPlayer) 何不用親切又免費的Ubuntu來打造了,於是開始今天的計畫 1 下載Ubuntu 9.10 RC光碟:採用9.10的原因是新的init非常迅速,可以在十秒內開到桌面,雖然還有一週才要轉正式版,不過就直接裝這一版吧! 2 安裝Ubuntu:這個不多說,就給他裝完就好 3 跑一次系統更新 4 中文化:如果安裝的時候語系直接選擇繁體中文,那介面的語言問題就解決了 再來是輸入法的部分,請參考 這一篇 5.0 抓Libstdc+5: Ubuntu預設是Libstdc++6但是w32codec需要舊版的 所以請到 這裡下載 deb自行手動安裝 5 解碼器:跟Windows平台一樣,要開啟多媒體檔案一樣要裝解碼器, Linux版本的叫做w32codec,安裝過程請參考 這一篇 6.0 修正音效問題 如果你沒有遇到音效問題,請跳過這一段 ubuntu8開始加入pulse的支援,加上本來的alsa變成兩套聲音管理套件 這次安裝就遇到打架的問題,聲音會變速播放 解決方法如 這篇文章 6 裝播放器: 我採用的是Mplayer,安裝方式如上文章所示 要不要重新編譯就看個人 7 撥放器設定技巧:Linux預設是UTF-8,直接拿Windows的過來會變成亂碼 要再偏好設定裡面把編碼換成BIG5 8 Wine:這套程式可以模擬Windows的環境,補足Linux不足的部分 安裝方法請參考 這篇 9 鬼打牆之ttf-mscorefonts-installer 或許會或許不會遇到這個問題,就是在裝WIne的過程中會順便帶入Windows的字體套件ttf-mscorefonts-installer 但是好死不死的是ttf-mscorefonts-installer常常會下載失敗,很可能就困在這邊幾個小時<<我就是 後來找到解決的辦法了,雖然有點複雜 @@" 首先是手動到 這裡 ,把the fonts的檔案全部下載 重新編譯DEB檔案, 重新編譯的方法可以 參考這篇 , 不過不需要照他的改法,因為改了還是得碰運氣 >>>另外,如...

Ubuntu 9.10 vs Ralink 3090 Wireless Driver

在Ubuntu 9.10版本中使用的kernel 是 2.6.31 這一Kernel版本對於網路的driver有一項重大更動 就是對於傳統的net_device結構中的open/stop/ioctl/xmit/等op的向後相容性取消了 以Ralink 3090 Wireless Network Driver為例,須手動修改rt_linux.c才能順利編譯 詳情請看 這個PATCH

Ubuntu Live CD install inside boot options

版本: Ubuntu 9.04 Desktop CD Safe Graphic Mode:  xforcevesa OEM Install: oem-config/enable=true