Category: LINUX


Hi friends,

For the past three days I was trying to install oracle 10g in ubuntu to learn sql queries and finally I installed by refering lots of sites and with the help of my seniors. Just follow these simple steps to install it if u need…

step 1:

Open Synaptic package manager. click settings—->repositories——->other softwares and then click add.

step 2:

Paste the following in APT line: textbox and click add source

deb http://oss.oracle.com/debian unstable main non-free

step 3:

Now go to terminal and execute this command

sudo apt-get update

step 4:

Then type sudo apt-get install oracle-xe oracle-xe-client and enter

step 5:

Now oracle is installed.To configure it type sudo /etc/init.d/oracle-xe configure and press enter

(i)  if it asks Specify the HTTP port that will be used for Oracle Application Express [8080]:    dont give any port number and just press enter.

(ii) then it will ask Specify a port that will be used for the database listener [1521]:  here also dont give any port number and just press enter.

(iii) next it will ask you password. you can specify your own password and confirm it again.

(iv) then it will ask Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: type y and press enter

step 6:

Goto applications——>Oracle Database 10g Express Edition—–>Goto Database Home Page.

step 7:

Give username as sys or system and give the password which you specified during configuration and click login.

step 8:

You will be shown Getting Started under links and follow it.

Enjoy querying!!!!!!!!!!

I got the above error when I was trying to install a package using the command apt-get install in terminal..

This error is due to  that you already have a dpkg process
running (could be apt-get, synaptic, update manager and etc.). Try
closing it before trying the command…

or else execute the following commands in terminal…

sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock
ps ax | grep dpkg
sudo dpkg –configure -a

Thats it…now enjoy installing!!!!

Dear Folks,

One month ago, I changed my system password. After that whenever I boot my system it shows the above error and prompts for old password.

This is because ubuntu uses SEAHORSE which is a password storage tool and this will not be updated when we change the password. To update it follow these instructions:

  • Goto System–>Preferences–>Passwords and Encryption keys
  • Right click Passwords:login and select Change password
  • Now type your old and current password

Thats it….Keep Learning!!!!

Hi,

When I tried to install a package from ubuntu software center I got the error as Requires installation of untrusted packages.

After googling I solved this problem by performing the following steps:

  1. click Alt+Ctrl+T.
  2. Type sudo apt-get update and click enter.
  3. Type your system password and press enter.
  4. you will find this line at last  W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0 or similar to this.
  5. similar to the above underlined missing key copy it from your terminal.
  6. Type the following command..

sudo apt-key adv –recv-key –keyserver keyserver.ubuntu.com UUUUUUUUUUUUUU
and replace UUUUUUUUUUUUUUwith the key you copied from your terminal.

EX:sudo apt-key adv –recv-key –keyserver keyserver.ubuntu.com 5A9A06AEF9CB8DB0

7. Now type sudo apt-get update and click enter.

Now enjoy installing packages from ubuntu software center…..Continue learning!!!