April 28, 2009

Man vs. Beast

To be able to laugh and to be merciful are the only two things that make a man better than the beast.

Install ubuntu inside windows

Mr. A:-Do you know the ubuntu is such a wonderfull linux distribution!!
Mr. B:-Yes i know but i am not able to install it.I don't know a fucking think about these partitions.What the hell is this swap and root!!!!
Mr. A:-But i have ubuntu installed at my system.
Mr. B:-What are you talking about? How it is possible?You don't know a thing about Linux operating system.How you managed the partition thing?
Mr. A:-I don't have to.
Mr. B:-What??Are you gone out of your mind!!!
Mr. A:-Not really but i installed it, just like i did with other windows softwares.
Mr. B:-You can't be serious.How someone can install the ubuntu as a software in windows machine!!!

Yes this can also happen with you!!!
Now the most user friendly operating system becames more and more userfriendly.And you can install Ubuntu inside your windows machine just like a other software.

Want's to know how?
Go to http://wubi-installer.org/ and download the lattest version.
Now run this 1.3 Mb setup and make some choices like the drive in which you want to install or how much space you want to give to ubuntu(same windows thing),this is all you have to do.

Restart your system when installer prompt to.
When you reboot your system you get the option of ubuntu with your windows operating system.Go to the ubuntu option and it will automatically install ubuntu in your harddrive.
When you boot back in your windows system you can find the ubuntu folder in your drive(choosed at the time of installation).In ubuntu you can see the content of your drive at /host folder.
And when you want to uninstall it go to your control panel and unistalled it like the other softwares.

For more info and help on Wubi-installer visit http://wubi-installer.org/ and you can ask your query at ubuntuforums.org

Cheers to ubuntu.

April 27, 2009

wanna make website but dont know how???

Basic:-For a website there are some of the basic things needed
1.Web server example:-Apache,Tomcat,IIS(Internet Information services).
2.Database server example:-MySQL.
3.Client side language example:-HTML.
4.Server Side language example:-php(Hypertext preprocessors),Asp(Active server pages),Jsp(java server pages).

1.Web server:-Web server is the software on which the server side language runs.When we type a url(uniform resource locator), web server sends us the replay.Each web server can run only a specific server side language.For example Apache can run php,and Tomcat can run Jsp.

2.Database server:-Database server is used to store the information's like the user name and passwords,sales information in a online shopping website.Popular database servers are Oracle,Mysql(SUN Microsystem),SqlServer(MS) and DB2(IBM).But for web development Mysql is generally used,because it is light wait and can be integrated with any of the server side language.

3.Client Side Language:-Client side language runs on the client and does not talk to the web server.Example:-HTML(Hyper text markup language).

4.Server Side Languages:-For making the page dynamic and to connect the page with database we use the server side scripting language.Example:-php(open source),ASP(MS),JSP(Sun Microsystem).

Now we have basic knowledge about the terms used in the web development.
We start with our first site.
Requirements:-Web server but for the web server choice first of all we have to choose scripting language and because the php is a open source language and easy to learn we choice php as the scripting language.As Data base server we choose Mysql.

Now you are just step behind your first website:-

1.Installing web server,Data base server and server side language for our site and after installation we have to configure them so that they can work with each other.To make it simple we install preconfigured LAMP(Linux,Apache,Mysql,PHP) software.For this software go to http://www.apachefriends.org/en/xampp.html and download xampp and install it to your hard disk.So now we have a web server,a data base server and php on our system.Go to browser and write localhost or to check that web server is running.If it shows some thing like XAMPP in big latter then we are set to make our site.

2.Open text editor(Notepad or gedit) write
and save it as something like firstpage.php(select file type "all files" in notepad).Now go to your browser and type localhost/firstpage.php
And it will show you Hello world.

3.Everything is working and up.Now go to www.w3schools.com to learn HTML,CSS(cascaded style sheets),JavaScript php,Mysql and go to php.net to learn more about php.You can also download php manual from php.net.

4.After learning you can make whatever you want you can even use photoshop and flash for eye candy websites.

Learning resources:-

Happy coding.

Ubuntu 9.04 Vlc problem

In ubuntu 9.04 Vlc opens in two separate Windows one for the video and other for the control.To resolve this problem this is the Layman's guide to installing VLC pre-release 1.0.0. There are a lot of steps but they are easy, and I was trying to break it down remedially. But I am not trying to be condescending.

Also make sure you have the current crummy version 0.9.9 uninstalled before proceeding.

Here is what I did:

1. In Ubuntu goto: System > Administration > Software Sources

2. On the top select the Third Party Software tab

3. Click this weblink: https://launchpad.net/~kow/+archive/ppa

4. Near the top-left corner (or from here copy):

deb http://ppa.launchpad.net/kow/ppa/ubuntu jaunty main

5. Back in Third Party Software click add

6. Paste that copied line into the field box and press Add Source

IMPORTANT!! Make sure that you copy the WHOLE ENTIRE line and not just the glowing URL portion

7. Copy the second line from the webpage:

deb-src http://ppa.launchpad.net/kow/ppa/ubuntu jaunty main

8. Repeat steps 5 & 6 for this one as well

9. Minimize but DON'T CLOSE everything; Now go to your Desktop

10. Right-click on anywhere on your desktop and select: Create Document > Empty File and name it something you will remember, like KEYFILE.

11. Open the KEYFILE

12. Back on the webpage click the highlighted portion of:

This repository is signed with 1024R/2F021AC1

13. On this new webpage click on the higlighted portion of: 1024R/2F021AC1

Now you see a whole bunch of "Hieroglyphics"

14. Copy everything that is NOT at the top of the page, bold, and oversized. In other words, copy ONLY this:

Version: SKS 1.0.10

nUVHNuL9955evX+0vuL4iqeUUBh7Ufan3BRPv0ryzLtDAZYfxb 4F0Jya/XoMgYA6mxNFshvt
GsEAWQP/QTthVWFM+7AhMY7r8mkMEXmbnRR97boIL8glQX5QKzKHpcCvd6 kOqVcYsBz6eAMr
yBjRosVw4f01q9pvqvoAqX3UVgCBaaNG+N0uK5JmKAK+4c6fWG rm1ODZitvKdN60AnkazDaU

15. Paste this into your KEYFILE on the desktop. Save & Close. You can also close that weird looking webpage as well.

16. Back in Software Sources, select the Authentication tab

17. Select Import Key File

18. Now browse the KEYFILE you made on the desktop and select OK.

There should now be a third Item there stating something like "Launchpad PPA for Kow"

19. Click Close, and when a new box pops up, click Reload and wait for Ubuntu to do its thing and it will close automatically.

20. Now go back to Add/Remove Applications and try re-adding VLC. You can now delete the KEYFILE as well.

You should now have a "pre-release" version of VLC 1.0.0

Test it out with an AVI file or DVD. Also you can select Help and About and it should say something like: 1.0.0-pre1 Goldeneye

I noticed the video's in Fullscreen mode tend to "chop" when I move my mouse while its playing the movie. But its a Alpha/Beta version of VLC and are still working the bugs. But I can happily live with it because that lousy Separated screen is gone!!


Ubuntu pocket guide

To learn the basics of ubuntu operating system you can download the free ubuntu pocket guide from http://www.ubuntupocketguide.com/ in pdf format.
This book includes the basics of installation and configuration options.
I think this is the best book for the newbies of this operating system.
Cheers to ubuntu.


The flower said, "I wish I was a tree,"
The tree said, "I wish I could be
A different kind of tree,
The cat wished that it was a bee,
The turtle wished that it could fly
Really high into the sky,
Over rooftops and then dive
Deep into the sea.

And in the sea there is a fish,
A fish that has a secret wish,
A wish to be a big cactus
With a pink flower on it.
And in the sea there is a fish,
A fish that has a secret wish,
A wish to be a big cactus
With a pink flower on it.

And the flower
Would be its offering
Of love to the desert.
And the desert,
So dry and lonely,
That the creatures all
Appreciate the effort.

And the rattlesnake said,
"I wish I had hands so
I could hug you like a man."
And then the cactus said,
"Don't you understand,
My skin is covered with sharp spikes
That'll stab you like a thousand knives.
A hug would be nice,
But hug my flower with your eyes."
(from movie Juno)

ubuntu 9.04

New ubuntu version is out.Yes this is ubuntu 9.04.And as always this release is also awesome.

But do you know why ubuntu 9.04 just after 8.10,wHY??
Let's go deep in this naming convention used by ubuntu community..
Here the number before decimal point signifies the year of release,like 8 for 2008 in ubuntu 8.04 and 8.10.
And the number after the decimal is the month in which the new version is released,like 04 for April and 10 for October.
And one more thing i want to mention here is that, ubuntu release it's new version in each six months.
So now i think you get it why 9.04 just after 8.10(9 for 2009 and 04 for April).

Now back to ubuntu 9.04
Code Name:-Jaunty Jackalope

areee first feisty fawn then gutsy gibbon,then Hardy heron,then Intrepid Ibex and now Jaunty Jackalope,Is there any relation or any sequence is used for the codenames of ubuntu versions?

Yes you are right,they are in Alphabatic order and the new release which is 9.10(in October),has the codename karmic koala.

So i am where???
Oh at the ubuntu 9.04...
So this new version have some much awaited changes.These changes are:-
1.Introduction of send to option for send data to the removable drives.
This send to option is a must need for ubuntu to became operating system for the home users.This option is included as a plugin to nautilus with the other send to options like 'send as Bluetooth' or as a email.
To include this option they use a '.so' file which is present at /usr/lib/nautilus-sendto/plugins.

2.Mulltiple Language support with gedit
The text editor gedit has now support for many languages including php,asp,c,c++,c#,css,ada.

3.More drivers so more computers
Ubuntu 9.04 is released with lots of new drivers like the driver for the broadcom wifi card,atheros wifi card.So now more and more user can use it and it works out of the box.

4. Ext4 by default
You can chose the ext4 file system.
1. Speedup file removing
2. Better and faster allocator
3. Bigger max file size
4. Precision timestamps
5. Bigger max number of folder inclusion
6. Faster indexation
7. Faster checking
8. Re-allocation for better video recording, torrent downloading etc.


5.Open office 3.0
So now with open office version 3.0 you can open the document saved with MS office 2007 in docx format.

6.Fast boot
Now ubuntu boots in just 21.4 sec(with ext4fs).

And the same support and help from ubuntu community.... :o)

Small step to a new life...

Time:-27 Apr. 0118 Hours
Circumstances:- Semester Exam at 27 Apr 1400 Hours and Rajasthan Royal lost another match(ya..ya i am a big fan of RR)
Post Body:-I am waiting for this moment for last three years..It's a big time for me..why big??? areee i finally started my blog...hurrrrrrrreee
I got inspiration from Dada(our story taller).He was telling me(i think some months back) that if you start then only you can achieve a thing or two.
So I am starting this blog...........