Wednesday, December 24, 2008
Complie Kernel
1. Deactivate ATI driver
2. Reboot
3. Check current Kernel Version
Xubuntu:~$ uname -r
2.6.27-7-generic
4. Install Ubuntu kernel sources
Xubuntu:~$ sudo apt-get install linux-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-source-2.6.27
Suggested packages:
libncurses-dev ncurses-dev kernel-package libqt3-dev
The following NEW packages will be installed:
linux-source linux-source-2.6.27
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 52.0MB of archives.
After this operation, 52.1MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
5.
Xubuntu:~$ sudo apt-get install kernel-package libqt3-mt-dev libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
build-essential comerr-dev dpkg-dev g++ g++-4.3 gettext intltool-debian libaudio-dev libcups2-dev libcupsys2-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcrypt11-dev
libgl1-mesa-dev libglu1-mesa-dev libgnutls-dev libgpg-error-dev libice-dev libjpeg62-dev libkadm55 libkrb5-dev liblcms1-dev libmail-sendmail-perl libmng-dev libpng12-dev
libpthread-stubs0 libpthread-stubs0-dev libqt3-compat-headers libqt3-headers libqt3-mt libsm-dev libstdc++6-4.3-dev libsys-hostname-long-perl libtasn1-3-dev libx11-dev libxau-dev
libxcb-xlib0-dev libxcb1-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev libxmu-headers libxrandr-dev libxrender-dev
libxt-dev mesa-common-dev pkg-config po-debconf qt3-dev-tools x11proto-core-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev
x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev
Suggested packages:
debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg cvs gettext-doc docbook-utils libdb3-dev libncurses-dev libgcrypt11-doc gnutls-doc gnutls-bin
guile-gnutls krb5-doc libqt3-mt-mysql libqt3-mt-odbc libqt3-mt-psql libqt3-i18n qt3-doc libstdc++6-4.3-doc libmail-box-perl
The following NEW packages will be installed:
build-essential comerr-dev dpkg-dev g++ g++-4.3 gettext intltool-debian kernel-package libaudio-dev libcups2-dev libcupsys2-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev
libgcrypt11-dev libgl1-mesa-dev libglu1-mesa-dev libgnutls-dev libgpg-error-dev libice-dev libjpeg62-dev libkadm55 libkrb5-dev liblcms1-dev libmail-sendmail-perl libmng-dev
libncurses5-dev libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libqt3-compat-headers libqt3-headers libqt3-mt libqt3-mt-dev libsm-dev libstdc++6-4.3-dev
libsys-hostname-long-perl libtasn1-3-dev libx11-dev libxau-dev libxcb-xlib0-dev libxcb1-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev
libxinerama-dev libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxt-dev mesa-common-dev pkg-config po-debconf qt3-dev-tools x11proto-core-dev x11proto-fixes-dev
x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev
0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.9MB of archives.
After this operation, 83.2MB of additional disk space will be used.
Do you want to continue [Y/n]?
6.
cd /usr/src
sudo tar --bzip2 -xvf linux-source-2.6.27.tar.bz2
sudo ln -s /usr/src/linux-source-2.6.27 /usr/src/linux
cd /usr/src/linux
7.
sudo make oldconfig
8.
sudo make menuconfig
Go to "High Memory Support" -> Select "64G"
9.
sudo make-kpkg clean
sudo make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
10.
cd /usr/src
ls
sudo dpkg -i linux-image-2.6.27.2-custom_2.6.27.2-custom-10.00.Custom_i386.deb
sudo dpkg -i linux-headers-2.6.27.2-custom_2.6.27.2-custom-10.00.Custom_i386.deb
Thursday, December 4, 2008
vnc4server
# login to the wireless network's webpage before making connection attempts #
###################################
#Install the required applications:
>sudo apt-get install vnc4server xinetd xvnc4viewer ssh
###################################
#( http://grumpymole.blogspot.com/2006/12/xubuntu-remote-desktop-with-vnc4s... )
>sudo vi /etc/gdm/gdm.conf
#In this file, in the [daemon] section, uncomment (i.e. remove the leading '#' sign)
RemoteGreeter=/usr/lib/gdm/gdmlogin
#In the [security] section, set:
AllowRemoteRoot = false
#In the [xdmcp] section, make sure to set:
Enable=true
HonorIndirect=false
###################################
#Now, to create an entry for xinetd to start each time it receives a connect request:
> sudo vi /etc/xinetd.d/Xvnc
#put the following text:
service Xvnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = root
server = /usr/bin/Xvnc
server_args = -inetd :1 -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/fonts/X11/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd -extension XFIXES
port = 5901
}
###################################
#Create a password for xinetd, by running
> sudo vncpasswd /root/.vncpasswd
###################################
#Restart xinetd by running:
>sudo /etc/init.d/xinetd stop
>sudo killall Xvnc
>sudo /etc/init.d/xinetd start
###################################
#enable remote login in menu ( http://ubuntuforums.org/showthread.php?t=191564 )
# system >> administration >> login Window :: remote tab
# choose "same as local" session
#Click on the "Configure XDMCP..." buton
#Uncheck "Honor indirect request"
#Click Close on both windows
###################################
#Allow xinetd to listen:
>sudo vi /etc/xinetd.conf
#comment out parameter
#only_from = localhost
###################################
#add the user session setup:
> vi ~/.vnc/xstartup
#comment out content and add the lines:
unset SESSION_MANAGER
exec startxfce4
###################################
#Reboot and open a server in a session console:
> vnc4server -geometry 800x600
#note:
# tightVNC for Windows is unstable with key holds
# * use low bandwidth mode
# * connect to session 3 on port 5901 with: 10.10.1.10:3:5901
Tuesday, November 11, 2008
rdesktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libvorbisfile3 python-pymad python-pyogg python-pyvorbis python-mutagen libmad0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
rdesktop
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 129kB of archives.
After this operation, 463kB of additional disk space will be used.
Get:1 http://hk.archive.ubuntu.com hardy-updates/main rdesktop 1.5.0-3+cvs20071006ubuntu0.1 [129kB]
Fetched 129kB in 4s (30.5kB/s)
Selecting previously deselected package rdesktop.
(Reading database ... 101788 files and directories currently installed.)
Unpacking rdesktop (from .../rdesktop_1.5.0-3+cvs20071006ubuntu0.1_i386.deb) ...
Setting up rdesktop (1.5.0-3+cvs20071006ubuntu0.1) ...
Thursday, October 23, 2008
jscalibrator
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
libglib1.2ldbl libgtk1.2 libgtk1.2-common libjsw2
The following NEW packages will be installed:
jscalibrator libglib1.2ldbl libgtk1.2 libgtk1.2-common libjsw2
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1542kB of archives. After unpacking 4092kB will be used.
Do you want to continue? [Y/n/?]
Adobe Flash Player 10
Ubuntu:~$ sudo aptitude install libcurl3 -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
libdns35 libglib2.0-0
The following packages have been kept back:
bind9-host cpp-4.2 dnsutils gcc-4.2 gcc-4.2-base libbind9-30 libffi4 libgcc1 libglib2.0-data libgomp1 libisccc30 libisccfg30 liblwres30 libstdc++6 pciutils
The following NEW packages will be installed:
libcurl3
The following partially installed packages will be configured:
adobe-flashplugin
0 packages upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 206kB of archives. After unpacking 422kB will be used.
Would download/install/remove packages.
Ubuntu2:~$ sudo dpkg -i install_flash_player_10_linux.deb
(Reading database ... 105181 files and directories currently installed.)
Preparing to replace adobe-flashplugin 10.0.12.36-1hardy1 (using install_flash_player_10_linux.deb) ...
Unpacking replacement adobe-flashplugin ...
Setting up adobe-flashplugin (10.0.12.36-1hardy1) ...
Tuesday, September 16, 2008
qcomicbook
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
unace unrar-free
Suggested packages:
rar
The following NEW packages will be installed:
qcomicbook unace unrar-free
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 394kB of archives.
After this operation, 905kB of additional disk space will be used.
Do you want to continue [Y/n]?
Friday, August 29, 2008
Swiftweasel3
Ubuntu:~$ sudo vim /etc/apt/sources.list
# Swiftweasel
deb http://download.tuxfamily.org/swiftweasel hardy multiverse
Ubuntu :~$ sudo apt-get install swiftweasel3-pentiumm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
swiftweasel-pentiumm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.6MB of archives.
After this operation, 0B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
swiftweasel-pentiumm
Install these packages without verification [y/N]?
WineHQ APT Repository
Ubuntu:~$ sudo wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
Ubuntu:~$ sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list
Ubuntu:~$ sudo apt-get update
Thursday, August 28, 2008
startxfce4
exec startxfce4
Fix
- Lock screen button
- Banshee: dbus is not avaliable
Wednesday, August 27, 2008
ubuntu-restricted-extras
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cabextract gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-ugly-multiverse liba52-0.7.4 libavcodec1d libavformat1d libavutil1d libcdaudio1 libdc1394-13 libdvdread3 libexempi3 libfaad0 libgmyth0 libgsm1 libid3tag0
libiptcdata0 libmjpegtools0c2a libmms0 libmpeg2-4 libmysqlclient15off libneon27 libopenspc0 libpostproc1d libquicktime1 libsidplay1 libsndfile1 libsoundtouch1c2 libsoup2.4-1
libvorbisfile3 libwildmidi0 msttcorefonts mysql-common unrar
Suggested packages:
debhelper fakeroot sidplay-base xsidplay
Recommended packages:
freepats
The following NEW packages will be installed:
cabextract gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-ugly-multiverse liba52-0.7.4 libavcodec1d libavformat1d libavutil1d libcdaudio1 libdc1394-13 libdvdread3 libexempi3 libfaad0 libgmyth0 libgsm1 libid3tag0
libiptcdata0 libmjpegtools0c2a libmms0 libmpeg2-4 libmysqlclient15off libneon27 libopenspc0 libpostproc1d libquicktime1 libsidplay1 libsndfile1 libsoundtouch1c2 libsoup2.4-1
libvorbisfile3 libwildmidi0 msttcorefonts mysql-common ubuntu-restricted-extras unrar
0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
Need to get 7902kB of archives.
After this operation, 21.0MB of additional disk space will be used.
Do you want to continue [Y/n]?
Banshee
Ubuntu:~$ sudo vim /etc/apt/sources.list
#Banshee
deb http://ppa.launchpad.net/banshee-team/ubuntu hardy main
Ubuntu:~$ sudo apt-get update
Ubuntu:~$ sudo apt-get install banshee-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cli-common libart2.0-cil libavahi1.0-cil libboo2.0-cil libgconf2.0-cil libglade2.0-cil libglib2.0-cil libgnome-vfs2.0-cil libgnome2.0-cil libgtk2.0-cil libmono-addins-gui0.2-cil
libmono-addins0.2-cil libmono-cairo1.0-cil libmono-cairo2.0-cil libmono-corlib1.0-cil libmono-corlib2.0-cil libmono-data-tds1.0-cil libmono-data-tds2.0-cil libmono-security1.0-cil
libmono-security2.0-cil libmono-sharpzip0.84-cil libmono-sharpzip2.84-cil libmono-sqlite2.0-cil libmono-system-data1.0-cil libmono-system-data2.0-cil libmono-system-web1.0-cil
libmono-system-web2.0-cil libmono-system1.0-cil libmono-system2.0-cil libmono-zeroconf1.0-cil libmono0 libmono1.0-cil libmono2.0-cil libmtp7 libndesk-dbus-glib1.0-cil
libndesk-dbus1.0-cil libnotify0.4-cil libsgutils1 libsqlite0 libtaglib2.0-cil mono-common mono-gac mono-jit mono-runtime podsleuth
Suggested packages:
monodoc-gtk2.0-manual libmono-winforms2.0-cil libgdiplus libmono-winforms1.0-cil pkg-config
Recommended packages:
libmono-i18n1.0-cil libmono-i18n2.0-cil sg3-utils binfmt-support
The following NEW packages will be installed:
banshee-1 cli-common libart2.0-cil libavahi1.0-cil libboo2.0-cil libgconf2.0-cil libglade2.0-cil libglib2.0-cil libgnome-vfs2.0-cil libgnome2.0-cil libgtk2.0-cil
libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo1.0-cil libmono-cairo2.0-cil libmono-corlib1.0-cil libmono-corlib2.0-cil libmono-data-tds1.0-cil
libmono-data-tds2.0-cil libmono-security1.0-cil libmono-security2.0-cil libmono-sharpzip0.84-cil libmono-sharpzip2.84-cil libmono-sqlite2.0-cil libmono-system-data1.0-cil
libmono-system-data2.0-cil libmono-system-web1.0-cil libmono-system-web2.0-cil libmono-system1.0-cil libmono-system2.0-cil libmono-zeroconf1.0-cil libmono0 libmono1.0-cil
libmono2.0-cil libmtp7 libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libnotify0.4-cil libsgutils1 libsqlite0 libtaglib2.0-cil mono-common mono-gac mono-jit mono-runtime podsleuth
0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
Need to get 3348kB/13.8MB of archives.
After this operation, 46.4MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
libboo2.0-cil libnotify0.4-cil podsleuth banshee-1
Install these packages without verification [y/N]? Y
JRE6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
java-common odbcinst1debian1 sun-java6-bin sun-java6-jre unixodbc
Suggested packages:
equivs binfmt-support sun-java6-fonts libct1 libmyodbc odbc-postgresql
Recommended packages:
gsfonts-x11
The following NEW packages will be installed:
java-common odbcinst1debian1 sun-java6-bin sun-java6-jre sun-java6-plugin unixodbc
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.1MB of archives.
After this operation, 97.9MB of additional disk space will be used.
Do you want to continue [Y/n]?
smplayer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libamrnb3 libamrwb3 libartsc0 libaudio2 libdirectfb-1.0-0 libdvdnav4 libenca0 libfaac0 libfreebob0 libggi2 libgif4 libgii1 libgii1-target-x libjack0 liblame0 libmad0 libmpcdec3
libopenal0a libpulse0 libqt4-core libqt4-gui libsdl1.2debian libsdl1.2debian-alsa libsmbclient libsvga1 libx264-57 libxvidcore4 libxvmc1 mplayer mplayer-skins smplayer-translations
Suggested packages:
nas libggi-target-emu libggi-target-monotext libggimisc2 jackd pulseaudio ladspa-sdk libdvdcss mplayer-doc
Recommended packages:
libggi-target-x libggi-target qt4-qtconfig smplayer-themes
The following NEW packages will be installed:
libamrnb3 libamrwb3 libartsc0 libaudio2 libdirectfb-1.0-0 libdvdnav4 libenca0 libfaac0 libfreebob0 libggi2 libgif4 libgii1 libgii1-target-x libjack0 liblame0 libmad0 libmpcdec3
libopenal0a libpulse0 libqt4-core libqt4-gui libsdl1.2debian libsdl1.2debian-alsa libsmbclient libsvga1 libx264-57 libxvidcore4 libxvmc1 mplayer mplayer-skins smplayer
smplayer-translations
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.7MB/17.9MB of archives.
After this operation, 45.7MB of additional disk space will be used.
Do you want to continue [Y/n]?
Ubuntu:~$ sudo apt-get install mozilla-mplayer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mozilla-mplayer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 506kB of archives.
After this operation, 1839kB of additional disk space will be used.
w32codecs libdvdcss2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcc-3.3-base libstdc++5
Suggested packages:
gstreamer0.10-pitfdll mplayer
The following NEW packages will be installed:
gcc-3.3-base libstdc++5 w32codecs
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.7MB of archives.
After this operation, 35.5MB of additional disk space will be used.
Do you want to continue [Y/n]?
Ubuntu:~$ sudo apt-get install libdvdcss2 -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
regionset
The following NEW packages will be installed:
libdvdcss2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.3kB of archives.
After this operation, 106kB of additional disk space will be used.
Medibuntu
Ubuntu:~$ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
--17:07:48-- http://www.medibuntu.org/sources.list.d/hardy.list
=> `/etc/apt/sources.list.d/medibuntu.list'
Resolving www.medibuntu.org... 87.98.242.110
Connecting to www.medibuntu.org|87.98.242.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 226 [text/plain]
100%[============================================================================================================================================>] 226 --.--K/s
17:07:48 (24.89 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' saved [226/226]
Ubuntu:~$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Hit http://dl.google.com stable Release.gpg
Ign http://dl.google.com stable/non-free Translation-en_HK
Hit http://dl.google.com stable Release
Get:1 http://packages.medibuntu.org hardy Release.gpg [189B]
Ign http://packages.medibuntu.org hardy/free Translation-en_HK
Hit http://dl.google.com stable/non-free Packages
Ign http://packages.medibuntu.org hardy/non-free Translation-en_HK
Hit http://hk.archive.ubuntu.com hardy Release.gpg
Ign http://hk.archive.ubuntu.com hardy/main Translation-en_HK
Get:2 http://packages.medibuntu.org hardy Release [9335B]
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy/restricted Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy/universe Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy/multiverse Translation-en_HK
Hit http://hk.archive.ubuntu.com hardy-updates Release.gpg
Ign http://hk.archive.ubuntu.com hardy-updates/main Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy-updates/restricted Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy-updates/universe Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy-updates/multiverse Translation-en_HK
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_HK
Ign http://security.ubuntu.com hardy-security/universe Translation-en_HK
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_HK
Hit http://hk.archive.ubuntu.com hardy Release
Hit http://security.ubuntu.com hardy-security Release
Ign http://packages.medibuntu.org hardy Release
Hit http://hk.archive.ubuntu.com hardy-updates Release
Hit http://security.ubuntu.com hardy-security/main Packages
Get:3 http://packages.medibuntu.org hardy/free Packages [6228B]
Hit http://hk.archive.ubuntu.com hardy/main Packages
Hit http://hk.archive.ubuntu.com hardy/restricted Packages
Hit http://hk.archive.ubuntu.com hardy/main Sources
Hit http://hk.archive.ubuntu.com hardy/restricted Sources
Hit http://hk.archive.ubuntu.com hardy/universe Packages
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Get:4 http://packages.medibuntu.org hardy/non-free Packages [7940B]
Hit http://hk.archive.ubuntu.com hardy/universe Sources
Hit http://hk.archive.ubuntu.com hardy/multiverse Packages
Hit http://hk.archive.ubuntu.com hardy/multiverse Sources
Hit http://hk.archive.ubuntu.com hardy-updates/main Packages
Hit http://hk.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://hk.archive.ubuntu.com hardy-updates/main Sources
Hit http://hk.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://hk.archive.ubuntu.com hardy-updates/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://hk.archive.ubuntu.com hardy-updates/universe Sources
Hit http://hk.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://hk.archive.ubuntu.com hardy-updates/multiverse Sources
Fetched 23.7kB in 2s (8802B/s)
Reading package lists... Done
W: GPG error: http://packages.medibuntu.org hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
medibuntu-keyring
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3448B of archives.
After this operation, 49.2kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
medibuntu-keyring
Install these packages without verification [y/N]? y
Get:1 http://packages.medibuntu.org hardy/free medibuntu-keyring 2008.04.20 [3448B]
Fetched 3448B in 1s (3309B/s)
Selecting previously deselected package medibuntu-keyring.
(Reading database ... 97873 files and directories currently installed.)
Unpacking medibuntu-keyring (from .../medibuntu-keyring_2008.04.20_all.deb) ...
Setting up medibuntu-keyring (2008.04.20) ...
OK
Hit http://dl.google.com stable Release.gpg
Ign http://dl.google.com stable/non-free Translation-en_HK
Hit http://dl.google.com stable Release
Hit http://security.ubuntu.com hardy-security Release.gpg
Get:1 http://packages.medibuntu.org hardy Release.gpg [189B]
Ign http://packages.medibuntu.org hardy/free Translation-en_HK
Ign http://packages.medibuntu.org hardy/non-free Translation-en_HK
Ign http://security.ubuntu.com hardy-security/main Translation-en_HK
Hit http://hk.archive.ubuntu.com hardy Release.gpg
Ign http://hk.archive.ubuntu.com hardy/main Translation-en_HK
Hit http://dl.google.com stable/non-free Packages
Get:2 http://packages.medibuntu.org hardy Release [9335B]
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_HK
Ign http://security.ubuntu.com hardy-security/universe Translation-en_HK
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_HK
Hit http://security.ubuntu.com hardy-security Release
Ign http://hk.archive.ubuntu.com hardy/restricted Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy/universe Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy/multiverse Translation-en_HK
Hit http://hk.archive.ubuntu.com hardy-updates Release.gpg
Ign http://hk.archive.ubuntu.com hardy-updates/main Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy-updates/restricted Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy-updates/universe Translation-en_HK
Ign http://hk.archive.ubuntu.com hardy-updates/multiverse Translation-en_HK
Hit http://hk.archive.ubuntu.com hardy Release
Hit http://packages.medibuntu.org hardy/free Packages
Hit http://hk.archive.ubuntu.com hardy-updates Release
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://packages.medibuntu.org hardy/non-free Packages
Hit http://hk.archive.ubuntu.com hardy/main Packages
Hit http://hk.archive.ubuntu.com hardy/restricted Packages
Hit http://hk.archive.ubuntu.com hardy/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://hk.archive.ubuntu.com hardy/restricted Sources
Hit http://hk.archive.ubuntu.com hardy/universe Packages
Hit http://hk.archive.ubuntu.com hardy/universe Sources
Hit http://hk.archive.ubuntu.com hardy/multiverse Packages
Hit http://hk.archive.ubuntu.com hardy/multiverse Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://hk.archive.ubuntu.com hardy-updates/main Packages
Hit http://hk.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://hk.archive.ubuntu.com hardy-updates/main Sources
Hit http://hk.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://hk.archive.ubuntu.com hardy-updates/universe Packages
Hit http://hk.archive.ubuntu.com hardy-updates/universe Sources
Hit http://hk.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://hk.archive.ubuntu.com hardy-updates/multiverse Sources
Fetched 190B in 2s (70B/s)
Reading package lists... Done
Flash Player (hardy)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
konqueror-nsplugins libflashsupport msttcorefonts ttf-xfree86-nonfree xfs
The following NEW packages will be installed:
flashplugin-nonfree
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst flashplugin-nonfree (9.0.124.0ubuntu2 Ubuntu:8.04/hardy)
Conf flashplugin-nonfree (9.0.124.0ubuntu2 Ubuntu:8.04/hardy)
keith@keith-laptop:~$ sudo apt-get install flashplugin-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
konqueror-nsplugins libflashsupport msttcorefonts ttf-xfree86-nonfree xfs
The following NEW packages will be installed:
flashplugin-nonfree
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.7kB of archives.
After this operation, 168kB of additional disk space will be used.
Get:1 http://hk.archive.ubuntu.com hardy/multiverse flashplugin-nonfree 9.0.124.0ubuntu2 [18.7kB]
Fetched 18.7kB in 1s (9614B/s)
Preconfiguring packages ...
Selecting previously deselected package flashplugin-nonfree.
(Reading database ... 97857 files and directories currently installed.)
Unpacking flashplugin-nonfree (from .../flashplugin-nonfree_9.0.124.0ubuntu2_i386.deb) ...
Setting up flashplugin-nonfree (9.0.124.0ubuntu2) ...
Downloading...
--16:27:38-- http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
=> `./install_flash_player_9_linux.tar.gz'
Resolving fpdownload.macromedia.com... 122.252.58.70
Connecting to fpdownload.macromedia.com|122.252.58.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,044,538 (2.9M) [application/x-gzip]
0K .......... .......... .......... .......... .......... 1% 955.57 KB/s
50K .......... .......... .......... .......... .......... 3% 537.05 KB/s
100K .......... .......... .......... .......... .......... 5% 536.34 KB/s
150K .......... .......... .......... .......... .......... 6% 550.18 KB/s
200K .......... .......... .......... .......... .......... 8% 534.60 KB/s
250K .......... .......... .......... .......... .......... 10% 549.28 KB/s
300K .......... .......... .......... .......... .......... 11% 541.92 KB/s
350K .......... .......... .......... .......... .......... 13% 541.05 KB/s
400K .......... .......... .......... .......... .......... 15% 535.20 KB/s
450K .......... .......... .......... .......... .......... 16% 554.07 KB/s
500K .......... .......... .......... .......... .......... 18% 522.34 KB/s
550K .......... .......... .......... .......... .......... 20% 527.38 KB/s
600K .......... .......... .......... .......... .......... 21% 549.85 KB/s
650K .......... .......... .......... .......... .......... 23% 547.64 KB/s
700K .......... .......... .......... .......... .......... 25% 528.49 KB/s
750K .......... .......... .......... .......... .......... 26% 534.69 KB/s
800K .......... .......... .......... .......... .......... 28% 541.78 KB/s
850K .......... .......... .......... .......... .......... 30% 541.05 KB/s
900K .......... .......... .......... .......... .......... 31% 548.39 KB/s
950K .......... .......... .......... .......... .......... 33% 527.66 KB/s
1000K .......... .......... .......... .......... .......... 35% 555.28 KB/s
1050K .......... .......... .......... .......... .......... 36% 534.52 KB/s
1100K .......... .......... .......... .......... .......... 38% 548.47 KB/s
1150K .......... .......... .......... .......... .......... 40% 522.19 KB/s
1200K .......... .......... .......... .......... .......... 42% 528.60 KB/s
1250K .......... .......... .......... .......... .......... 43% 547.72 KB/s
1300K .......... .......... .......... .......... .......... 45% 541.24 KB/s
1350K .......... .......... .......... .......... .......... 47% 541.51 KB/s
1400K .......... .......... .......... .......... .......... 48% 548.04 KB/s
1450K .......... .......... .......... .......... .......... 50% 527.60 KB/s
1500K .......... .......... .......... .......... .......... 52% 541.10 KB/s
1550K .......... .......... .......... .......... .......... 53% 541.79 KB/s
1600K .......... .......... .......... .......... .......... 55% 534.13 KB/s
1650K .......... .......... .......... .......... .......... 57% 555.10 KB/s
1700K .......... .......... .......... .......... .......... 58% 521.69 KB/s
1750K .......... .......... .......... .......... .......... 60% 542.15 KB/s
1800K .......... .......... .......... .......... .......... 62% 534.43 KB/s
1850K .......... .......... .......... .......... .......... 63% 555.48 KB/s
1900K .......... .......... .......... .......... .......... 65% 534.44 KB/s
1950K .......... .......... .......... .......... .......... 67% 528.32 KB/s
2000K .......... .......... .......... .......... .......... 68% 534.66 KB/s
2050K .......... .......... .......... .......... .......... 70% 555.34 KB/s
2100K .......... .......... .......... .......... .......... 72% 534.45 KB/s
2150K .......... .......... .......... .......... .......... 73% 528.49 KB/s
2200K .......... .......... .......... .......... .......... 75% 561.27 KB/s
2250K .......... .......... .......... .......... .......... 77% 541.87 KB/s
2300K .......... .......... .......... .......... .......... 79% 534.14 KB/s
2350K .......... .......... .......... .......... .......... 80% 535.31 KB/s
2400K .......... .......... .......... .......... .......... 82% 522.10 KB/s
2450K .......... .......... .......... .......... .......... 84% 542.07 KB/s
2500K .......... .......... .......... .......... .......... 85% 547.57 KB/s
2550K .......... .......... .......... .......... .......... 87% 541.79 KB/s
2600K .......... .......... .......... .......... .......... 89% 547.68 KB/s
2650K .......... .......... .......... .......... .......... 90% 528.43 KB/s
2700K .......... .......... .......... .......... .......... 92% 540.86 KB/s
2750K .......... .......... .......... .......... .......... 94% 535.30 KB/s
2800K .......... .......... .......... .......... .......... 95% 547.63 KB/s
2850K .......... .......... .......... .......... .......... 97% 542.05 KB/s
2900K .......... .......... .......... .......... .......... 99% 527.65 KB/s
2950K .......... .......... ... 100% 563.59 KB/s
16:27:44 (543.33 KB/s) - `./install_flash_player_9_linux.tar.gz' saved [3044538/3044538]
Download done.
Flash Plugin installed.
Tuesday, August 26, 2008
Google Linux Software Repositories
http://www.google.com/linuxrepositories/testrepo.html
Ubuntu:~$ sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Ubuntu:~$ sudo vim /etc/apt/sources.list
# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free
# Google testing repository
deb http://dl.google.com/linux/deb/ testing non-free
Ubuntu:~$ sudo apt-get update
Ubuntu:~$ sudo apt-get install picasa
NFS Client
Ubuntu:~$ sudo apt-get install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 portmap
The following NEW packages will be installed:
libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 342kB of archives.
After this operation, 1122kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
.
.
.
.
.
.
Ubuntu:~$ sudo /etc/init.d/portmap restart
Ubuntu:~$ sudo /etc/init.d/nfs-common restart
Ubuntu:~$ sudo mount -t nfs 192.168.0.200:/mnt/disk1/share /mnt/Linkstation
Ubuntu:~$ sudo vim /etc/fstab
192.168.0.200:/mnt/disk1/share /mnt/Linkstation nfs rw,auto