Skip to main content

Posts

Showing posts from February, 2011

HOW TO MOUNT AN ISO FILE IN LINUX(ubuntu, fedora,redhat, suse)

HOW TO MOUNT AN ISO FILE (Kofi.iso) =================================== login as the root user at the terminal remember that when u login as root there is always # at the end check the path using pwd to see where u are in the directory #pwd do a ls of the various directories #ls make a directory to keep the contents of the iso file ie say kofi using the mkdir command mkdir kofi after mount the iso file with the following command mount kofi.iso ./kofi/ -o loop,ro when mounted u can find it on the desktop and the extracted content in the home directory folder ENJOY!! :)

Installing Oracle 11g on Linux [Oracle Net Services configuration failed.] /product/11.1.0/db_1/bin$./netca

Error message: UnsatisfiedLinkError exception loading native library: njni11 java.lang.UnsatisfiedLinkError: jniGetOracleHome at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method) at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source) at oracle.net.ca.NetCA.main(Unknown Source) Oracle Net Services configuration failed. The exit code is -1 Solution: sudo apt-get install build-essential libaio1 gawk ksh after a successful completion of the installation u should find this on the terminal window u were working on. Oracle Net Services Configuration: Configuring Listener:LISTENER Listener configuration complete. Oracle Net Listener Startup: Running Listener Control: /u01/app/oracle/product/11.1.0/db_1/bin/lsnrctl start LISTENER Listener Control complete. Listener started successfully. Oracle Net Services configuration successful. The exit code is 0 you can set the tone for your database configuration assitant (dbca) Enjoy. :) Please leave comments if u have a problem.. 

How to unlock Sample HR database in oracle

For working with tutorial of oracle Introduaction to oracle/sql you need to work on the tables which is locked in oracle. for Unlocking these tables you have to follow these steps 1. Login in sqlplus or sqlplus or isqlplus as a user “system” with respective password. 2. Execute the following command ALTER USER HR IDENTIFIED BY password ACCOUNT UNLOCK; here password is your passord which you want to use for your account remember this password for further use. OR: ALTER USER HR ACCOUNT UNLOCK; 3. Login in with user HR with password specified above Now you can use all tables specified in tutorial. Please leave your comment If you encounter any problem…