2012年1月23日 星期一

Enabling Flash in Chrome on Ubuntu 10.04 | What a n00b!

Enabling Flash in Chrome on Ubuntu 10.04 | What a n00b!:

'via Blog this'
  1. Install Chrome and Flash (with the Ubuntu Software Center or with apt-get
  2. sudo apt-get install chromium-browser flashplugin-nonfree

  3. Add the Flash plugin to the Chrome plugins directory
  4. sudo cp /usr/lib/flashplugin-installer/libflashplayer.so /usr/lib/chromium-browser/plugins/

  5. Restart Chrome

2012年1月10日 星期二

Panda Board ES format SD card

Trey Weaver's Blog: Installing Angstrom on the BeagleBoard-xM: "Setting up the sd-card.

For Angstrom to run you will need to have a sd-card with two partitions; one fat partition to hold the boot files and then a ext3 partition with the root file system on it. Thanks to Graeme Gregory there is a nice script to set up you sd-card. Execute the following commands which will make a working directory, download Graeme's script and execute it. Be sure to substitue your sd-card device directory (from above) for /dev/sdX below.

mkdir ~/angstrom-wrk
cd ~/angstrom-wrk
wget http://cgit.openembedded.org/cgit.cgi/openembedded/plain/contrib/angstrom/omap3-mkcard.sh
chmod +x omap3-mkcard.sh
sudo ./omap3-mkcard.sh /dev/sdX
sync
"


'via Blog this'

mkdir ~/angstrom-wrk
cd ~/angstrom-wrk
wget http://cgit.openembedded.org/cgit.cgi/openembedded/plain/contrib/angstrom/omap3-mkcard.sh
chmod +x omap3-mkcard.sh

larry@larry-Aspire-7741:~/panda/1$ df
檔案系統 1K-區段 已用 可用 已用% 掛載點
/dev/sda6 334721296 45347192 272371208 15% /
none 4019012 83824 3935188 3% /dev
none 4026740 908 4025832 1% /dev/shm
none 4026740 96 4026644 1% /var/run
none 4026740 0 4026740 0% /var/lock
/dev/sdb2 1881684 35612 1750488 2% /media/Angstrom
/dev/sdb1 71133 1 71133 1% /media/boot

larry@larry-Aspire-7741:~/panda/1$ sudo cp -rf ./boot/u-boot.bin /media/boot
larry@larry-Aspire-7741:~/panda/1$ sudo cp -rf ./boot/MLO /media/boot
larry@larry-Aspire-7741:~/panda/1$ sudo cp -rf ./boot/uImage /media/boot


unlock

ctrl-z abort apt update function will cause probem !!!

some directory .

need unlock as following /ref

解決方法如下:

1.執行以下代碼

如果出現這個錯誤訊息:Unable to lock the administration directory
就先執行下面的代碼把lock解除
sudo rm /var/lib/dpkg/lock