Installing Parallels Tools in Linux Virtual Machine

Posted in IT StuffTagged

Sometime happens you need to manually mount the cdrom to be able to install the Parallels Tools. Follow these instructions to do that: 1) Start the virtual machine. When the guest OS boots up, choose Install Parallels Tools from the Virtual Machine menu. At this point, the prl-tools-lin.iso image file will be connected to the….

How to switch between different JVM in Ubuntu

Posted in IT StuffTagged ,

Sometime is needed to install different JVM on Ubuntu server due to application compatibility or software development purposes. To switch between different JVM in ubuntu from command line, use this command: sudo update-alternatives –config javasudo update-alternatives –config java and this menu will appear: There are 2 choices for the alternative java (providing /usr/bin/java).   Selection….

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

Posted in IT StuffTagged ,

If the database is running, probably the database hasn’t registered yet with the listener. This occurs when the database or listener just starts up. To fix, connect as sysdba: SHOW parameter LOCAL listenershow parameter local listener If something or nothing appears, reset it with: ALTER system SET local_listener='(address=(protocol=tcp)(host=localhost)(port=1521))’; ALTER system register;alter system set local_listener='(address=(protocol=tcp)(host=localhost)(port=1521))’; alter….

Ubuntu md5 hash of a string

Posted in IT StuffTagged

Just use md5sum with no options: echo ‘String’ | md5sumecho ‘String’ | md5sum

Apt-get: Cannot initiate the connection to 8080:80

Posted in IT StuffTagged

To fix this issue, open the apt.conf configuration file: vi /etc/apt/apt.confvi /etc/apt/apt.conf Add this row or check it if already exists: Acquire::http::proxy “http://proxy.localdomain:8080/”;Acquire::http::proxy “http://proxy.localdomain:8080/”;

Oracle admin on Ubuntu server

Posted in IT StuffTagged ,

To be able to admin Oracle instance from sqlplus command line on Ubuntu server, for first you need to set the enviroment variables: source /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.shsource /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh At this point, is possible to login as sysdba using: sqlplus / as sysdbasqlplus / as sysdba if you get insufficient privileges error, you need to add your user….

Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto

Posted in IT StuffTagged ,

To install Orace 11gR2 Express Edition, please take a look to this tutorial (tutorial? THE TUTORIAL!) https://forums.oracle.com/forums/thread.jspa?threadID=2301639