1.Install the python qt4 package
#sudo apt-get install python-qt4
2009年5月21日 星期四
2009年5月20日 星期三
extend swap file
1.Making a swap file
#sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
2.format swapfile
#sudo mkswap swapfile
3.add new line into /etc/fstab
/swapfile none swap sw 0 0
4.reboot
#sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
2.format swapfile
#sudo mkswap swapfile
3.add new line into /etc/fstab
/swapfile none swap sw 0 0
4.reboot
have ubuntu speck to you
#espeak "welcome to use ubuntu operating system"
use especk to say some statements for you
use especk to say some statements for you
2009年5月19日 星期二
switch monitor resolution
1.Install resapplet program with apt-get
#sudo apt-get install resapplet
2.add new program into start application
system-->preference-->startup application
#sudo apt-get install resapplet
2.add new program into start application
system-->preference-->startup application
2009年5月18日 星期一
install stardict on ubuntu
1.Install stardict program
#sudo apt-get install stardict
2.download dict from stardict web site
http://stardict.sourceforge.net/
3.decompress tar.gz file in to /usr/share/stardict/dict
#tar zxvf stardict-langdao-ec-big5-2.4.2.tar /usr/share/stardict/dict
#sudo apt-get install stardict
2.download dict from stardict web site
http://stardict.sourceforge.net/
3.decompress tar.gz file in to /usr/share/stardict/dict
#tar zxvf stardict-langdao-ec-big5-2.4.2.tar /usr/share/stardict/dict
2009年5月12日 星期二
install adobe reader 9
1.Download Adobe Reader 9 for linux distruibution
#sudo wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1/enu/AdbeRdr9.1.0-1_i486linux_enu.bin
2.Change execute mode for the Adober reader 9
#sudo chmod 700 AdbeRdr9.1.0-1_i486linux_enu.bin
3.Install software
#sudo ./AdbeRdr9.1.0-1_i486linux_enu.bin
#sudo wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.1/enu/AdbeRdr9.1.0-1_i486linux_enu.bin
2.Change execute mode for the Adober reader 9
#sudo chmod 700 AdbeRdr9.1.0-1_i486linux_enu.bin
3.Install software
#sudo ./AdbeRdr9.1.0-1_i486linux_enu.bin
Playing Restricted Formats
#sudo apt-get install ubuntu-restricted-extras
install essential components to play dvd, mp3 ,avi and more popular formats
install essential components to play dvd, mp3 ,avi and more popular formats
Setting bridge mode on virtualbox ose
1.Install two components on ubuntu jaunty
#sudo apt-get install bridge-utils uml-utilities
2.Write two scripts for start and stop bridge interface
#sudo vim bridge.sh
tunctl -t tap0 -u
brctl addbr br0
ifconfig eth0 0.0.0.0 promisc
brctl addif br0 eth0
dhclient br0
brctl addif br0 tap0
ifconfig tap0 up
chmod 666 /dev/net/tun
#vim bridge-down.sh
brctl delif br0 eth0
brctl delif br0 tap0
brctl delbr br0
ifconfig tap0 down
ifconfig br0 down
ifconfig eth0 down
ifconfig eth0 up
3.Setting virtualbox network to Host Interface
4.Running virtualbox virtual machine
#sudo apt-get install bridge-utils uml-utilities
2.Write two scripts for start and stop bridge interface
#sudo vim bridge.sh
tunctl -t tap0 -u
brctl addbr br0
ifconfig eth0 0.0.0.0 promisc
brctl addif br0 eth0
dhclient br0
brctl addif br0 tap0
ifconfig tap0 up
chmod 666 /dev/net/tun
#vim bridge-down.sh
brctl delif br0 eth0
brctl delif br0 tap0
brctl delbr br0
ifconfig tap0 down
ifconfig br0 down
ifconfig eth0 down
ifconfig eth0 up
3.Setting virtualbox network to Host Interface
4.Running virtualbox virtual machine
Install Sun Java 6
1.Install sun java6 sdk
# sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
2.Setup java6 as default java version
# sudo update-java-alternatives -s java-6-sun
3.defines the default system JVM search order
# vim /etc/jvm
insert the line at top of the file /etc/jvm
/usr/lib/jvm/java-6-sun
4.Setup the environment variable
# sudo vi $HOME/.bash_profile
add lines at the bottom of the file
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME/bin
5.confirm jdk version
#java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)
6.write HelloWorld.java to test java runtime environment
# vim HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
7. compile and run java program
# javac HelloWorld.java
# java HelloWorld
Hello, World!
# sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
2.Setup java6 as default java version
# sudo update-java-alternatives -s java-6-sun
3.defines the default system JVM search order
# vim /etc/jvm
insert the line at top of the file /etc/jvm
/usr/lib/jvm/java-6-sun
4.Setup the environment variable
# sudo vi $HOME/.bash_profile
add lines at the bottom of the file
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME/bin
5.confirm jdk version
#java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)
6.write HelloWorld.java to test java runtime environment
# vim HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
7. compile and run java program
# javac HelloWorld.java
# java HelloWorld
Hello, World!
Installing Aptana Studio Standalone on Ubuntu gaunty 32bit
1.Download aptana linux version and unzip it in to /Aptana folder
2.create a txt file named aptana.sh and chmod 700 for it
#vim aptana.sh
insert lines below
#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1.3
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
~/aptana/AptanaStudio -vm /usr/lib/jvm/java-6-sun/jre/bin/java
#chmod 700 aptana.sh
3.goto the url to download xulrunner 1.8
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/linux-i686/xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
4.mkdir a folder in aptana folder and tar the xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
#sudo mkdir /Aptana/xulrunner-1.8.1.3
5.copy all contents from xulrunner to /usr/lib/xulrunner-1.8.1.3
#sudo cp -r xulrunner/* /usr/lib/xulrunner-1.8.1.3
2.create a txt file named aptana.sh and chmod 700 for it
#vim aptana.sh
insert lines below
#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1.3
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
~/aptana/AptanaStudio -vm /usr/lib/jvm/java-6-sun/jre/bin/java
#chmod 700 aptana.sh
3.goto the url to download xulrunner 1.8
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/linux-i686/xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
4.mkdir a folder in aptana folder and tar the xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
#sudo mkdir /Aptana/xulrunner-1.8.1.3
5.copy all contents from xulrunner to /usr/lib/xulrunner-1.8.1.3
#sudo cp -r xulrunner/* /usr/lib/xulrunner-1.8.1.3
xine dvd player
#sudo apt-get install xine-ui
install xine lib
#sudo aptitude install gxine
install xine interface for gui control
install xine lib
#sudo aptitude install gxine
install xine interface for gui control
Install inkscape for panel svg icon
#sudo apt-get install inkscape
installion inkscape software to make icon of svg style
installion inkscape software to make icon of svg style
2009年5月10日 星期日
install messager for ubuntu
#sudo apt-get install kopete
The best messagener for kde with camera and transfer.
The best messagener for kde with camera and transfer.
2009年5月8日 星期五
mount windows 2003 share folder
#mount -t cifs -o username=$user,password=$pass //$windows/share /mnt/smb
$user== username in windows platform
$pass== username's password
$user== username in windows platform
$pass== username's password
2009年5月3日 星期日
install ruby on interpid version
#sudo sudo apt-get install ruby irb rdoc ri
#ruby -v
confirm ruby version
#irb
enter ruby interpreter
#ruby -v
confirm ruby version
#irb
enter ruby interpreter
訂閱:
文章 (Atom)