Information

Recently I installed Apache Tomcat Server to work with JavaServer Pages. I was trying to identify the localhost directory of the server (the directory similar to /var/www in Apache PHP server).
Later I learned that it is very easy to set our own localhost project directory.
Here are the steps:

Go to /etc/tomcat6/Catalina/localhost and create a .xml file with the name of your webapp.
Suppose your webapp is testwebapp, create a file named testwebapp.xml

Now add the following lines to the XML file.<Contextpath=“/testwebapp”docBase=“path to the directory where source files are located”/>

Share this:

Like this:

TED (Technology, Entertainment and Design) is a set of conferences, that include talks from world’s most inspired thinkers.

TED was founded by Richard Saul Wurman and Harry Marks in 1984 and the conferences has been held annually since 1990. At present the events are hosted by Chris Anderson and owned by his non-profit organization, the Sapling Foundation.

Much effort have been put forward to make TED talks available for millions across the globe.
TED talks are available online on the TED website and other video sharing websites, under Attribution-NonCommercial-NoDerivs Creative Commons license.
Recently live streaming of the talks have made possible which led to a notable growth of audience.
The TED Open-Translation Project which aims at translating TED talks has made the talks available in over 40 languages.

TED has proved to be successful in offering knowledge and inspiration from the world’s great thinkers. The ideas presented are really innovative that they may change the world in the future.

Share this:

Like this:

Swap space is the area in secondary storage devices which temporarily holds memory pages that are inactive. Swap space is used when the system needs physical memory for active processes and there is insufficient unused physical memory available. In such a case inactive pages in physical memory are moved to the swap space therefore freeing up that physical memory for other uses.

In Ubuntu, the user is prompted to create a swap partition during OS installation. But have you ever felt that the space you have allocated is insufficient?
If yes, it is possible to create a new swap file and add it to the running system so that the total swap space will be increased.

I added 512 MiB of additional swap space to my system, creating a new swap file named NewSwap512.swap in the /mnt directory.

That will do, but this additional swap area is temporary
and will be lost after reboot.
To make it permanent, edit /etc/fstabsudo gedit /etc/fstab
add this line to the end of the file/mnt/NewSwap512.swap none swap sw 0 0