Thursday, July 23, 2009

Flashget Annoying Script Error

I'm using FlashGet as my download manager. However I always get the following error when I try to click any entry in the FlashGet Window:



An error has occurred in the script on this page.
line:1
Char:7
Error: Invalid Character
Code: 0
URL: http://count.zcominc.com/link/count.php?id=94&out=1
Dou you want to continue running scripts on this page?


Here is how I fixed it:


  1. Exit Internet Explorer and FlashGet.
  2. Open Internet Options from Control Panel, Click Security Tab.
  3. Click Restricted sites icon, then click the Sites button.
  4. Add http://count.zcominc.com to the zone.


Now you can use IE and FlashGet without any annoying script error dialog.

Tuesday, April 28, 2009

CentOS DVD Repositary

After downloaded CentOS 5.3 dvd iso image, there is no issue for me to install it. Later when I decide to add more software from the DVD, the "Add/Remove Software" program (yum) was always trying to download the package from the net instead of installing directly from my DVD.

After reading the document about yum and repositary, I found I need to update the setting for CentOS media. The reason: The DVD image was mounted as /media/CentOS_5.3_final. Actually this is the label of the DVD image. (I forget, or maybe it's CentOS_5.3_Final. Check it under /media dir after CentOS auto mount it.)

There are two ways to do this:
1. edit /etc/yum.repos.d/CentOS-Media.repo file directly, add a new line under baseurl:
file:///media/CentOS_5.3_final/
then start "Add / Remove Software".
2. Or after start "Add/Remove Software", edit the repositary setting. Just modify the CentOS-Media and add file:///media/CentOS_5.3_final/ to the value. This time dont forget separate the values with ,

Of course you need to uncheck other repositaries. Otherwise yum is still trying to get the package from net.