Wednesday, October 22, 2008

Designing Web Applications using Open Source Softwares

Open source softwares are the best in creating amazing applications and it is no different when it comes to creating web applications. I design web applications out of my own interests. I design web applications only using open source softwares and only on open source OS Ubuntu Linux.

I have actually started working. First install Ubuntu Linux operating system on your desktop or laptop. Then connect it to the internet and install the LAMP (Linux Apache MySQL PHP) server. This is actually very simple.

Open your terminal and type

# sudo apt-get install apache2
# sudo apt-get install apache2
# sudo apt-get install apache2
# sudo apt-get install libapache2-mod-auth-mysql
# sudo apt-get install php5-mysql
# sudo apt-get install phpmyadmin

That's all now your done

# sudo /etc/init.d/apache2 restart

Now start designing amazing web applications like a pro.

To know more click here.

Krish.





A Live OS in your pocket

Live CDs need arebecoming very famous day by day. Knoppix is a pioneer in this category. In the past and present Knoppix was available on CDs and DVDs. All the user had to do is, insert the disk in the optical drive and restart the machine. Thats it, he can then enjoy a full fledged Linux operating system, without making any changes to his hard disk. However the CDs and DVDs have one major problem. They are only read only and hence we cannot store any file or document.
Hence I made some research and found out how to make a Knoppix boot from a usb flash drive. Sits very simple. Just sit back and read on.

Prerequisites
1. 1 GB USB flash drive.
2. Download the ISO of Knoppix 5.1 from
http://www.kernel.org/pub/dist/knoppix/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
.
3. Another tool named fixkp.zip is required to make the Knoppix run from the USB. It can be downloaded from http://pendrivelinux.com/downloads/fixkp.zip.

Creating a bootable USB
Create a new folder named USB Knoppix anywhere on your computer. Let's assume that you created it at E:\. Move the Knoppix Linux ISO to this folder and then extract fixkp.zip into the same folder. Since fixkp.bat is a batch file, simply run it from the command prompt. It will extract the Knoppix ISO in the E:\Knoppix folder and modify it to run from the USB drive.

This process will take around a minute and it will automatically create a new folder named 'knoppix' in the E:\Knoppix folder.

Now format your USB drive. Then copy all the contents from the E:\Knoppix\knoppix folder to your USB drive. Now go to the command prompt and change the location to your USB drive and simply run makeboot.bat batch file.

That's it. Your live USB drive is ready. Enjoy!!!!!

Krish.

Friday, October 10, 2008

Goggle to stop drunken e-mails

Internet giant Google have come up with an application to block people from sending drunken e-mails to their bosses or ex-lovers. Mail Goggles can be programmed to turn on late at night and at weekend, when users are most likely to be drinking.

Before sending a message, e-mailers must answer a series of short maths questions that must be completed in a limited amount of time. Gmail engineer Jon Perlow believes the idea will help those too tired to foresee the consequences of their actions.

Krish.


Wednesday, October 8, 2008

Installing Java on Ubuntu Linux

It used to be a real pain to install Java on most versions of Linux, but now that Sun has modified the license, there are some easier ways to install Java.

On Debian/Ubuntu Linux for example all you need to do is make sure that your apt-get is pointed at the right place. In your /etc/apt/sources.list add in the following (and make sure you are okay with adding in stuff that is not in the default environment).

deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse

After this have apt updates its repository

sudo apt-get update

And finally, just tell it to install java :)

sudo apt-get install sun-java5-jdk


After this the rest of the process will display a dialog that will require you to accept the license agreement. When you do, the rest of the setup will happen on its own.

When you're on the command prompt type

javac -version

or

java -version


You should be good to go! Finally we have an easy way to install Java on the various Linux variants without having to fight with fakeroot and the other foolishness. Took Sun a criminally long time to do this, but I certainly thank them for it.

Krish.

Beautiful Article

Hi,

I recently read an article written by Sir Richard Stallman which was published on BBC news and was also published on his blog. The article was on Microsoft and Bill Gates. It is an articles which everyone should read. To read the articles, please click here.

Krish.