Update UBUNTU 8.04 without internet! (!)

Darn!, I want to install ubuntu, but, unfortunately I have not an internet connection..:(

Is that you question?!..

Err!, Worry not..here's a simple solution to your question..And all that you require is a "genuine friend" who has a system with Ubuntu + packages installed on it..

Use a computer where they have installed basic utility packages or where they have updated ubuntu. The packages will be in the folder “/var/cache/apt/archives”. Copy it to a removable disc or write them on to a CD/DVD (which ever makes you happy(!))”

Assume that the media name is Pen_Drive

Now, give this command in the terminal of that system which is updated(i.e from the place where you intend to copy the packages.
sudo cp -R /var/cache/apt/archives /media/Pen_Drive

Once the copy process is complete.

Unmount the removable device..and then insert this device in you computer..

and follow it up with these commands on the terminal:

cd /media/Pen_Drive/archives sudo cp -R * /var/cache/apt/archives

Now, if you want to install all the packages that is on your removeable device, then, type this command:

sudo dpkg -i *

However, if you want to install just selected packages, give this command:

sudo apt-get update

Then, go to Synaptic Package Manager and install the packages you want.

Read More...

Sticky Note as your homepage


Sticky Screen is a simple Post-It note that you can set it as your browser homepage.


You just have to type something onto the sticky note and set it as your browser homepage. So, next time whenever you start your browser, the note shows up. There is no need to register nor any other procedures or navigations to get to the sticky note. The page directly takes you to the note and there you go!

Once the cookies are cleared, the sticky note will change to its default one. So no hassles. Very friendly.

Read More...

ORacle ERRor ORA-27101

This post is for the oracle users.... 

All these days my oracle was working fine... but suddenly today when i tried to connect to my database through JSP, it wasnt connecting.. What to do?? 
I then went to my sql command line then tried to  connect to my database but then an error poped out, saying,

ORA- 01034 : ORACLE not available 
ORA-27101 : shared memory realm does not exist



What to do...? Reinstall oracle!!.. but all my data will be gone...

Then started searching for the help... obvious through google... but in vain.. 
My suggestions were there, some said to log in through the oraDBA which was successful but it did not have the tables that i previusly created.
Some asked me to run some commands at the command line.. but no use..nothing helped...
 
In the end i tried few weird things... and finally got clicked with this one..
The solution to this problem is you need to restart the oracle service..and not
Restarting your system... 

you need to go the control panel->Administrative Tools->Services

doubleclick the services a window will pop up.. In that go to OracleServiceOracle

Just stop the OracleServiceORACLE and then start it again..
Do the similar stopping and restarting to the other services such as OracleServiceORCL, OracleServiceXE, OracleStartORCL, OracleTNSlistner 80...

You are just restarting your oracle services and nothing else..

This should work for Oracle 9i and Oracle 10g working under windows XP ..

Hope this helps you to solve your problem!!! :-)

Read More...

Rescue a "crashed linux" without re-installing...

"Whilst attempting to boot Fedora from the NTLoader, I recieve the following "message': "GRUB _" (The underscore represents a blinking cursor thing)...

Is that you QUESTION?!!
If Yes,
Then with the grub cursor flashing it sounds like the system can't find grub you might want to do a reload of Fedora .. But DONT DO THAT!, Fixing is is much easier than what meets the eye..:)

You could actually try duel booting using XP boot manager (My Preference. I don't like third party boot managers.)

Run the command
dd if=/dev/hda5 of=boot.lnx bs=512 count=1


If hda5 is Not your boot partition, change it as appropriate. Type: df then determine which hda# is associated with your /boot partition. A file named boot.lnx should now have been created in the root's home directory or where ever you told it to be. Do an ls -l boot.lnx to confirm this.

Mount your pendrive drive use the command mcopy boot.lnx J: Or if your internet is up and running email it to yourself.
Now reboot and go to Windows XP.
J: Copy boot.lnx C:\ (It will land it in C:\ root.)
Double click your boot.ini file and add one line at the end it should read c:\boot.lnx="Fedora 7".
Then save it.
When you reboot your XP boot manager will come up when you chose Fedora it jumps to the Grub Boot manager on your second drive.
Reboot to Fedora and Enjoy!

Read More...

Mac OS X Dashboard style on Ubuntu 8.04

KDE 4, Windows, and Mac OS all have some sort of desktop widgets. Your Ubuntu desktop can also, using Screenlets. This post will guide you through installing and using Screenlets on Ubuntu 7.10 and 8.04.

Compiz’s Widget Layer plugin can be used with Screenlets to achieve an effect similar to the dashboard in Mac OS X. Your Screenlets will only be visible by activating a view that dims the desktop and displays the Screenlets on top of everything else.

In the Appearance Preferences dialog (System->Preferences->Appearance), open the Visual Effects tab and switch to the Custom effects level. If this option is not available, you need to install CompizConfig Settings Manager (CCSM) first:
sudo apt-get install compizconfig-settings-manager

Now, open CCSM by clicking the Preferences button. Find the Widget Layer plugin and select the box to turn it on.

For all the Screenlets you want on the Widget Layer, open their right-click menus and select Window->Widget. The Screenlet will disappear from your desktop. Press the default Widget Layer key, F9, to dim the desktop and display your widgets.


Installation

Installing Screenlets
You can keep up-to-date with the latest version of Screenlets by installing it through the repository.

Open your sources.list file to add the repository:
sudo gedit /etc/apt/sources.list

Add this line to the end of the file (for Ubuntu 7.10):
deb http://ppa.launchpad.net/gilir/ubuntu gutsy main universe

Add this line to the end of the file (for Ubuntu 8.04):
deb http://ppa.launchpad.net/gilir/ubuntu hardy main universe

Save and close the text editor. Run this command to update apt:
sudo apt-get update

Install the Screenlets package:
sudo apt-get install screenlets

The package python-feedparser may also be required if it is not already installed:
sudo apt-get install python-feedparser

If starting the Screenlets Manager nags you that Gtkmozembed needs to be installed, some Screenlets may not work. Run this command to fix it:
sudo apt-get install python-gnome2-extras

Read More...

 
^ Scroll to Top