21 tháng 8, 2009

Installing Eclipse Ubuntu 9.04

Installation Instructions

Verify that any previous installation has been completely removed. In particular, the following needs to be verified:

There is no eclipse folder under /opt. If there is, it must be deleted. Sudo access will be required to delete the folder.
There is no eclipse folder under /usr/local/share. If there is, it must be deleted. Sudo access will be required to delete the folder.
There is no entry for eclipse in either /usr/bin or /usr/local/bin. If there is, then the entry must be deleted.
There is no entry for eclipse.desktop in /usr/share/applications. If there is, then the entry must be deleted.
There is no configuration files for eclipse in the users' home folders. These are hidden directories. If there are any, these must be deleted.

Verify that there is a group called 'eclipse' and that users are authorized in that group:

Select System > Administration > Users and Groups.
Select Unlock and provide your password.
Select Manage Groups
Scroll the list to determine if there is a group called 'eclipse'. If there is not, then add the group.
Ensure that all users, including root, are members of the eclipse group.

Obtain the appropriate file from http://www.eclipse.org/downloads/packages/. Only one of the packages is required. The file should be saved to the Desktop.
When the download has been completed, open a Terminal and execute the following commands:

cd ~/Desktop (change to where the file was downloaded)
tar xzf eclipse-SDK-3.5-linux-gtk-x86_64.tar.gz (note that the filename may differ, depending on what was downloaded in step 2)
sudo mv eclipse /opt/eclipse (move the files to a folder under the /opt folder)
cd /opt (change to the /opt folder)
sudo chown -R root:eclipse eclipse (change the owner to root and the group to eclipse)
sudo chmod -R 775 eclipse (owner and group can read/write/delete, other users may read the files)
cd /opt/eclipse (change to the eclipse folder)
sudo chmod +x eclipse (eclipse must be executable)

Create a menu item. This is done by right-clicking on the menu on the top panel and adding the item. Note that the command is /opt/eclipse/eclipse. The icon can be found in the /opt/eclipse folder.
Start eclipse.
more:
http://www.xdebug.org/link.php?url=xdebug203
http://www.64bitjungle.com/tech/debugging-php-applications-with-xdebug-and-eclipse-pdt/
http://www.xdebug.org/docs/install#phpize

References:

http://www.xdebug.org/docs/install
http://www.eclipse.org/pdt/documents/XDebugGuide.pdf
http://devzone.zend.com/article/2803-Introducing-xdebug

-->đọc tiếp...

install "Ctrl + Alt + Backspace" on Ubuntu 9.04

"Ctrl + Alt + Backspace" on Ubuntu 9.04

method 1:
install:
$ sudo apt-get install dontzap
$ sudo dontzap --disable
or
$ sudo dontzap --enable

method 2:
$ sudo gedit /etc/X11/xorg.conf

and text below:
Section “ServerFlags”
Option “DontZap” “false”
EndSection

method 3:
"Right Alt + PrintScreen + k"
-->đọc tiếp...

Ubuntu 64-bit Gaming Guides

http://ubuntuforums.org/showthread.php?t=662770
http://gaming.gwos.org/doku.php/guides:start
Advanced Strategic Command
Alien Arena
Alien Swarm
Alien Swarm: The Telic Campaign
Ardentryst
Arkanoid: Space Ball
AssaultCube
Astro Menace
Barbarian
Battle for Wesnoth
Battle of Survival
Beyond the Red Line
Conquest of Elysium II
Clone Bandits
Creatures 3: Internet Edition
Dark Horizons: Lore Invasion
Darwinia
Dofus
Dominions 2: The Ascension Wars
Dominions 3: The Awakening
Dungeon Crawl Stone Soup
Doomsday
Enemy Territory: Quake Wars
Enemy Territory: Wolfenstein
Eschalon: Book I
Eternal Lands
EVE Online: Trinity
Finity Flight 2: Episode 4
Fishie Fishie
FizzBall
Free Awale
FreeCiv
FreeCol
FreeOrion
FreeRa
GalCon
Gish
Glest
Globulation 2
Go Ollie!
H-Craft Championship
Head Over Heels
Hero of Allacrost
Incursion
ITeam
Jets’n'Guns
Legends
LordsAWar
Lost Labyrinth
Majesty Gold
Memonix
My Tribe
Mystic Mine
Nazghul
Nexuiz
Neverwinter Nights
Neverwinter Nights - Premium/Official Modules
Open Arena
Open City
OpenTyrian
OpenTTD
Paintown
Penny Arcade Adventures: On the Rain-Slick Precipice of Darkness - ep1
Penny Arcade Adventures: On the Rain-Slick Precipice of Darkness - ep2
Penumbra I: Overture
Phobia III
PlaneShift
Plee The Bear
PokerTH
Postal 2: Share The Pain
Powder
Prey
Professor Fizzwizzle
Professor Fizzwizzle 2 (Molten Mystery)
Project Diaspora
RiotBall
Roll'em Up
Runes of Avalon
Runes of Avalon 2
Sauerbraten
Savage 1: The Battle for Newerth
Savage 2: A Tortured Soul
Scorched 3D
Scourge
Secret Maryo Chronicles
SimbaPoker
Smoking Guns
Soulfu
Space Ping Pong Match
Stargus
StarTrade
SuperTuxKart
Sword of Fargoal
Tactical OPS: Crossfire
Teeworlds
The Attack of Mutant Fruits from Outer Space
The Mana World
Tibia
Titan Attacks
TORCS
Transfusion
Tremulous
TripleA
UFO 2000
UFO: Alien Invasion
Ultimate Stunts
Unknown Horizons
Unreal Tournament 2004
Urban Terror
Vega Strike
Vendetta Online
Vulcan
Warsow
Warzone 2100
WhichWayIsUp?
Widelands
World Of Goo
World of Padman
Wormux
X2: The Threat
X3: Reunion
Yo Frankie
Yoda Soccer


Cedega
Dosbox (+ Dosbox Game Launcher)
ScummVM
Wine
-->đọc tiếp...

configuring ATi Crossfire ubuntu 9.04

tải chương trình từ đây:
http://support.amd.com/us/gpudownload/Pages/index.aspx
sau đó config bằng dòng lệnh sau:

sudo aticonfig --adapter=0,1 --initial
sudo aticonfig --cfa --adapter=0,1
sudo aticonfig --cf on --adapter=0,1

my computer:

root@ubuntu-desktop:~# aticonfig --lsch
root@ubuntu-desktop:~# aticonfig --list-adapters
CrossFire chain for adapter 0, status: enabled
0. 01:05.0 ATI Radeon HD 3200 Graphics
1. 02:00.0 ATI Radeon HD 3450

root@ubuntu-desktop:~# glxinfo | grep direct
direct rendering: Yes
direct rendering: Yes

DISPLAY=:0 glxinfo | grep render
Tham khao them o day:
http://www.phoronix.com/scan.php?page=article&item=amd_open_jaunty&num=1
http://wiki.cchtml.com/index.php/Ubuntu_Jaunty_Installation_Guide#5._Additional_64-bit_instructions
http://wiki.cchtml.com/index.php/Ubuntu_Jaunty_Installation_Guide
https://help.ubuntu.com/community/Video
http://wiki.archlinux.org/index.php/ATI#Installation_and_Configuration
-->đọc tiếp...

18 tháng 8, 2009

Failed to load x11 FrontEnd module & Failed to launch SCIM.

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
No module named enchant
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
Failed to launch SCIM.

fixed here:
scim you can start in socket-socket mode with this command:
scim -f socket -c socket -d
detail here:
http://www.linuxsir.org/bbs/showthread.php?t=209315
-->đọc tiếp...

history about ubuntu

Ubuntu 4.10 – Warty Warthog

Warty Warthog

Ubuntu 5.04 – Hoary Hedgehog

Hoary Hedgehog

Ubuntu 5.10 – Breezy Badger

Breezy Badger

Ubuntu 6.06 – Dapper Drake

Dapper Drake

Dapper Drake

Ubuntu 6.10 – Edgy Eft

200px-smooth_newteft

Edgy Eft

Ubuntu 7.04 – Feisty Fawn

Feisty Fawn

Feisty Fawn

Ubuntu 7.10 – Gutsy Gibbon

Gutsy Gibbon

Ubuntu 8.04 – Hardy Heron

Hardy Heron

Ubuntu 8.10 – Intrepid Ibex

Intrepid Ibex

Ubuntu 9.04 – Jaunty Jackalope

Jaunty Jackalope

Ubuntu 9.10 – Karmic Koala

Karmic Koala

-->đọc tiếp...

17 tháng 8, 2009

Linux tips

let's list all the processes on the box not being run by you!

ps aux | grep -v `whoami`

Or, to be a little more clever, why not just list the top ten time-wasters:

ps aux --sort=-%cpu | grep -m 11 -v `whoami`

It is probably best to run this as root, as this will filter out most of the vital background processes. Now that you have the information, you could just kill their processes, but much more dastardly is to run xeyes on their desktop. Repeatedly!

Backup your website easily
rsync -vare ssh jono@192.168.0.2:/home/jono/importantfiles/* /home/jono/backup/
Unmount busy drives
lsof +D /mnt/windows
#umount -l /media/whatever
(It's called lazy unmount. see man page for more.)

Stop replying to pings
sysctl -w net.ipv4.icmp_echo_ignore_all=1
To turn it back on, again use:
sysctl -w net.ipv4.icmp_echo_ignore_all=0
Slow down ping rates
sysctl -w net.ipv4.icmp_echoreply_rate=10

An arguably better way to do it would be:

# Save the list
aptitude search -F '%100p' '~i!~M' > pkgs.txt

# Install from list
xargs aptitude --schedule-only install < pkgs.txt
aptitude install

http://www.tuxradar.com/content/linux-tips-every-geek-should-know
-->đọc tiếp...

Games on UBUNTU

http://www.ubuntugeek.com/playdeb-installing-games-in-ubuntu-made-easy.html
add:
deb mirror://www.getdeb.net/playdeb-mirror/hardy/// hardy/
install:
sudo dpkg -i apturl_0.2.6-0~getdeb0_all.deb
sudo dpkg -i playdeb_0.1-0~getdeb1_all.deb
get games here:
http://www.playdeb.net/updates/category/Strategy
-->đọc tiếp...
BlogWeb: tạo từ Blog của Google
Nội dung: lấy từ nhiều Nguồn khác nhau.
Mục đích: note lại bài Hướng dẫn hay và Đáng đọc.
Kết quả: nghiện Internet Nặng.
Tương lại: xuống lỗ Vẫn Nghiện nếu không có ai giúp.
Blog Web của: Trí Dũng đến từ Việt Nam - Liên kết đến trang Blog Cá Nhân
Tôi biết (^_^)
Thông tin về Tác giả. Chi Tiết
Sử dụng (FireFox | Google Chrome on Ubuntu) để xem tốt nhất. Học Nhiều Hơn Tại Đây
©2009 Google Blogger - HuuNguyen's Home