Tuesday, August 19, 2008

Ubuntu package install error as of today

W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/main Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/restricted Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com gutsy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_gutsy_multiverse_binary-i386_Packages)


W: Duplicate sources.list entry http://us.archive.ubuntu.com gutsy/restricted Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_gutsy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com gutsy/multiverse Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_gutsy_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com gutsy/restricted Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_gutsy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com gutsy/multiverse Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_gutsy_multiverse_binary-i386_Packages)

Thursday, August 14, 2008

Linux accident at 1am..in the morning

while reading about Ubuntu, I was too excited to figure out how to make the 3D desktop work by trying different graphics driver version....not long after i reboot...UBUNTU FAIL to boot up the graphical gui....I was scared....

it's say for log, goto: /var/log/Xorg.0.log (zero number not a letter)
config file that is using and causing error is /etc/X11/xorg.conf

lucky me,...i hope and try to:
-rename current xorg.conf to xorg.conf.quanError to remember my error...
-overwrite the current xorg.conf with one of the default i see xorg.conf.1...
restart...
and it works..

Wednesday, August 13, 2008

Oracle server set up on my hp laptop

Ubuntu web development environment set up

LAMP:
Apache: sudo /etc/init.d/apache2 [start/stop/restart]
www folder:/var/www/

oracle XE
database listener port:1521
HTTP port used for Oracle Xpress: 8080
password for SYS/SYSTEM account: oracle

If you need to change the configuration settings, then you can do so by running the following command:
$ /etc/init.d/oracle-xe configure

To start/stop db:
$ /etc/init.d/oracle-xe start

Oracle_home: /usr/lib/oracle/xe/app/oracle/
Oracle driver lib path: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jdbc

07/23/08: install quantumDB on Ubuntu Eclipse
to path: /home/quan/.eclipse/org.eclipse.platform_3.3.0-147..../configuration/eclipse
default: Windows Oracle driver path: C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar

ubuntu oracle driver: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jlib

new tomcat 6.0 installation folder: /usr/local/tomcat
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun