Friday, December 31, 2010

Download YouTube video

Tools : youtube-dl

# apt-get install youtube-dl

# youtube-dl -U
Updating to latest stable version...
Updated to version 2010.12.09

Then ,

$ youtube-dl

2010 ...

Only a few more hours left before saying goodbye to 2010 and hello ..2011 !

Sunday, November 15, 2009

Ubuntu Karmic Koala : Compiling Google Chrome on AMD 64


Compiling Google Chrome on Ubuntu Karmic Koala (AMD64) with 4 core processors.

And the end result :

Friday, August 7, 2009

New 24 inch LCD Monitor


Beautiful !

VirtualBox 3.0.4 Available

Devede and multicore CPU



I always want a tool that can convert AVI video to DVD format. Reason is I want can play it with my old faithful Pioneer DVD player. I know I need to build a home studio (maybe MythTV or similar) but that will have to put on hold due to budget issue and further justification. I found a new tool (not really new) named Devede and it is GUI based application. It is available for Ubuntu Jaunty and other Linux distribution as well. I used to use script with FFMPEG to do get the job done. It also have option to enable multicore CPU.

Friday, March 13, 2009

Sun Blade 150 and Nevada


Sun Blade 150 and OpenSolaris Build 109.

Sunday, December 14, 2008

OpenSolaris :: System Monitor


  • is this a bug ? Available disk space: 0 bytes

Saturday, December 13, 2008

OpenSolaris :: Sun Studio Express

  • Need Sun compiler
  • Installed Sun Studio Express

root@opensolaris:~# bash -x ./pkg-install.sh
+ export PKG_CLIENT_TIMEOUT=220
+ PKG_CLIENT_TIMEOUT=220
+ export PKG_TIMEOUT_MAX=100
+ PKG_TIMEOUT_MAX=100
+ pkg install sunstudioexpress
DOWNLOAD PKGS FILES XFER (MB)
Completed 9/9 8551/8551 208.10/208.10

PHASE ACTIONS
Install Phase 14392/14392
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 9/9

OpenSolaris :: OpenOffice 3.0


  • OpenOffice 3.0 but over 150MB
  • wish to see OpenOffice package will be included in the future installation CD

root@opensolaris:~# pkg install openoffice
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 3932/3932 151.65/151.65

PHASE ACTIONS
Install Phase 4464/4464
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1


OpenSolaris :: Web Stack installation

  • first package installation will be the Web Stack

root@opensolaris:~# bash -x pkg-install.sh
+ export PKG_CLIENT_TIMEOUT=220
+ PKG_CLIENT_TIMEOUT=220
+ export PKG_TIMEOUT_MAX=100
+ PKG_TIMEOUT_MAX=100
+ truss -o /root/pkg-install.log pkg install pkg:/amp-dev@0.5.11-0.101
PHASE ITEMS
Indexing Packages 554/554
DOWNLOAD PKGS FILES XFER (MB)
Completed 52/52 22133/22133 334.56/334.56

PHASE ACTIONS
Install Phase 25190/25190
Reading Existing Index 9/9
Indexing Packages 52/52

OpenSolaris :: TIME OUT

  • doing pkg refresh always give me "time out" message

root@opensolaris:~# pkg install sunstudioexpress
Creating Plan -
pkg: Maximum (4) network retries exceeded during download. Details follow:
Transfer from 'http://pkg.opensolaris.org/release' timed out. (happened 4 times)

  • Below workaround worked for me (nevermind about root user , default is to use pfexec as normal user). There are 2 environment variable which are PKG_CLIENT_TIMEOUT and PKG_TIMEOUT_MAX

root@opensolaris:~# bash -x pkg-install.sh
+ export PKG_CLIENT_TIMEOUT=220
+ PKG_CLIENT_TIMEOUT=220
+ export PKG_TIMEOUT_MAX=100
+ PKG_TIMEOUT_MAX=100
+ pkg install SUNWjruby
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 11655/11655 9.45/9.45

PHASE ACTIONS
Install Phase 13525/13525
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1

OpenSolaris 2008.11 (Final)


  • Reinstalled again on my aging machine (dinosaur). The machine is Dell PowerEdge 350 with Pentium III 850Mhz , 1 GB of RAM , 80 GB of hard disk , ATI Rage XL graphic cards and 2 x iprb NIC's
  • Installation is a breeze and within few clicks you are done !
  • Saw the little "Update Manager" icon appeared to inform new upgrade available and wait for moment (7 mins actually)
  • can always check the boot enviroment via the package manager GUI or via command line
root@opensolaris:~# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris N / 3.10G static 2008-12-12 11:48
opensolaris-1 R - 2.62G static 2008-12-13 13:24


Wednesday, November 26, 2008

Ubuntu 8.10 on HP NC6400 notebook

After finished backup of my existing Ubuntu 8.04 , Ubuntu 8.10 was finally installed !
One sweet thing I noticed , my WIFI LED is blinking (at last) ! It never blink in previous version which apparently due to bug.

Installation is really simple even tough for dual boot system like me !

Openoffice 3.0 did not make it but anyway it can always be download from the Openoffice website.

Now I need to restore my data and all set to go !

Upgrade Opensolaris :: Part 2

Finally :

opensolaris:~$ pfexec pkg image-update
DOWNLOAD PKGS FILES XFER (MB)
Completed 563/563 8802/8802 47.76/47.76

PHASE ACTIONS
Removal Phase 1068/1068
Install Phase 786/786
Update Phase 17819/17819
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 563/563

A clone of opensolaris exists and has been updated and activated.
On the next boot the Boot Environment opensolaris-1 will be mounted on '/'.
Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
http://opensolaris.org/os/project/indiana/resources/relnotes/200811/x86/
---------------------------------------------------------------------------

opensolaris:~$ beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris N / 12.98M static 2008-11-16 22:55
opensolaris-1 R - 5.45G static 2002-01-01 01:05

Monday, November 24, 2008

Upgrade Opensolaris

To upgrade OpenSolaris image :

opensolaris:~$ pfexec pkg image-update

Please update pkg(5) using 'pfexec pkg install SUNWipkg' and then retry
the image-update.

No worry !

opensolaris:~$ pfexec pkg install SUNWipkg
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 110/110 0.41/0.41

PHASE ACTIONS
Install Phase 3/3
Update Phase 167/167
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1

Desktop Effect



I do not see any reason why I should not enable the desktop effect ! Sweet !
To enable it , just got to "System" => "Preferences => "Appearance" and select the "Visual Effects" tab.


Device Driver Utility

I decided to pull off my newly installed OpenSolaris hard disk into a more power machine (slightly - A Pentium 4 machine with 3 Ghz CPU and 1 GB of memory).
Well , expected the OpenSolaris booted up and running but it cannot detect the network card.

No worry , go to Application => System Tools and run the "Device Driver Utility". Right click on the network card and select "View Details" and it will show quite a lot of information but what I am really interested is the URL where I can download and install the network card driver (I guess I am lucky when the myk driver version 2.6.3 just release recently).


The URL link is : http://homepage2.nifty.com/mrym3/taiyodo/eng/ which is the website for free NIC drivers for Solaris. I hope this driver will be able to make it to the OpenSolaris package repositories or perhap it is already in there ?

I just download it and do the usual : make and make install but make sure you have a working C compiler installed. I am using the OpenSolaris package manager to install the Sun Studio Express (around ~200 MB) but i guess you can also use the GCC compiler.

It is all documented in the "Readme.txt".

(6) Making binaries only for OpenSolaris users.

The driver likely work with GLD v3 in OpenSolaris, known as Nemo.
You can enjoy the new functions by recompiling the source code.

% rm Makefile.config
% ln -s Makefile.config_gld3 Makefile.config
% /usr/ccs/bin/make


Tuesday, November 18, 2008

OpenSolaris 2008.11(rc1)

The official releases is getting closer for OpenSolaris 2008.11 but I decided to give a try but running on a *very* old hardware : Dell PowerEdge 350. Luckily I managed to get extra 256MB to pump up the memory to 768MB. But the hard disk is dead. Really dead but I got an old IDE disk (Baraccuda) lying around somewhere.

All I can said , the installation is straightforward and I am impressed with the artwork or graphics. Really nice !

And here you go:

OpenSolaris 2008-11 desktop with Nimbus theme.



Things I like :
  • GUI such as icons and theme are really well done
  • Feel like Ubuntu (since I used Ubuntu since the beginning)
  • ZFS filesystem as default (sweet)
  • TimeSlider tool
  • Device Driver Utility
  • DTrace Toolkit (DTT)
Things I am missed :
  • No OpenOffice in default installation (for a desktop distribution).
  • No Tomboy. (Guess MONO will not be coming soon)
  • No GIMP
  • Package Manager not working (for me at least but command like to the rescue)
  • No F-Spot

Tuesday, October 7, 2008

Scanner for Brother DCP-115C and Ubuntu Hardy

I never used the Brother DCP-115c scanner function. I have this printer for quite sometime but I seldom used for printing or scanning.

To cut story short : I need to use scanner function

  • I know I need the SANE software installed first.
  • Get the scanner drivers for Brother DCP-115C
  • Configure it
It was surprising easy to setup for Ubuntu Hardy.

To install the SANE software:


Then download the drivers from Brother web site.

Next , follow the instruction on this web site to configure the driver.

Then launch the SANE and voila !