Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

04 March, 2010

Tomcat Performance: Linux faster than Windows

Apache Tomcat is a very common application server in java-based solutions and it is able to run on every platform supported by Sun Java. But which platform delivers most performance and stability; Microsoft Windows or Linux. According to this performance study part 2, Linux significantly outperforms Microsoft Windows.


Tomcat Throughput Performance – Linux vs. Windows











Tomcat CPU Utilization – Linux vs. Windows












Tomcat Errors / second – Linux vs. Windows

















see the more info from Linux vs Microsoft performance

20 August, 2009

40 years of Linux

40 years of Unix

By Mark Ward
Technology Correspondent, BBC News

Network cables, BBC
Unix had computer networking built in from the start



Unix had computer networking built in from the start

The computer world is notorious for its obsession with what is new - largely thanks to the relentless engine of Moore's Law that endlessly presents programmers with more powerful machines.

Given such permanent change, anything that survives for more than one generation of processors deserves a nod.

Think then what the Unix operating system deserves because in August 2009, it celebrates its 40th anniversary. And it has been in use every year of those four decades and today is getting more attention than ever before.

Work on Unix began at Bell Labs after AT&T, (which owned the lab), MIT and GE pulled the plug on an ambitious project to create an operating system called Multics.

The idea was to make better use of the resources of mainframe computers and have them serve many people at the same time.

"With Multics they tried to have a much more versatile and flexible operating system, and it failed miserably," said Dr Peter Salus, author of the definitive history of Unix's early years.

Time well spent

The cancellation meant that two of the researchers assigned to the project, Ken Thompson and Dennis Ritchie, had a lot of time on their hands. Frustrated by the size and complexity of Multics but not its aims of making computers more flexible and interactive, they decided to try and finish the work - albeit on a much smaller scale.

The commitment was helped by the fact that in August 1969, Ken Thompson's wife took their new baby to see relatives on the West Coast. She was due to be gone for a month and Thompson decided to use his time constructively - by writing the core of what became Unix.

He allocated one week each to the four core components of operating system, shell, editor and assembler. It was during that time and after as the growing team got the operating system running on a DEC computer known as a PDP-7 that Unix came into being.

It got us away from the total control that businesses like IBM and DEC had over us
Peter Salus, author

Bill Thompson on "The enlightenment's operating system"

By the early 1970s, five people were working on Unix. Thompson and Ritchie had been joined by Brian Kernighan, Doug McIlroy and Joe Ossanna.

The name was reportedly coined by Brian Kernighan - a lover of puns who wanted Unics to stand in contrast to its forebear Multics.

The team got Unix running well on the PDP7 and soon it had a long list of commands it could carry out. The syntax of many of those commands, such as chdir and cat, are still in use 40 years on. Along with it came the C programming language.

But, said Dr Salus, it wasn't just the programming that was important about Unix - the philosophy behind it was vital too.

"Unix was created to solve a few problems," said Dr Salus, "the most important of which was to have something that was much more compact than the operating systems that were current at that time which ran on the dinosaurs of the computer age."

Net benefits

Back in the early 1970s, computers were still huge and typically overseen by men in white coats who jealously guarded access to the machines. The idea of users directly interacting with the machine was downright revolutionary.

"It got us away from the total control that businesses like IBM and DEC had over us," said Dr Salus.

Word about Unix spread and people liked what they heard.

"Once it had jumped out of the lab and out of AT&T it caught fire among the academic community," Dr Salus told the BBC. What helped this grassroots movement was AT&T's willingness to give the software away for free.
DEC PDP-1 computer
DEC's early computers were for many years restricted to laboratories

That it ran on cheap hardware and was easy to move to different machines helped too.

"The fact that its code was adaptable to other types of machinery, in large and small versions meant that it could become an operating system that did more than just run on your proprietary machine," said Dr Salus.

In May 1975 it got another boost by becoming the chosen operating system for the internet. The decision to back it is laid out in the then-nascent Internet Engineering Task Force's document RFC 681, which notes that Unix "presents several interesting capabilities" for those looking to use it on the net.



DEC's early computers were for many years restricted to laboratories

It didn't stop there. Unix was adapted for use on any and every computer from mainframes to desktops. While it is true that it did languish in the 1980s and 90s as corporations scrapped over whose version was definitive, the rise of the web has given it new life.

The wars are over and the Unix specification is looked after by the Open Group - an industry body set up to police what is done in the operating system's name.

Now Unix, in a variety of guises, is everywhere. Most of the net runs on Unix-based servers and the Unix philosophy heavily influenced the open source software movements and the creation of the Linux desktop OS. Windows runs the communication stack created for Unix. Apple's OS X is broadly based on Unix and it is possible to dig into that software and find text remarkably similar to that first written by Dennis Ritchie in 1971.

"The really nice part is the flexibility and adaptability," said Dr Salus, explaining why it is so widespread and how its ethic fits with a world at home with the web.

"Unix is the best screwdriver ever built," said Dr Salus.


take more info from:--
news@bbc

09 July, 2009

LEGBUNTU


05 July, 2009

I M Using Kubuntu







Now i m using Kubuntu Linux........

"Kubuntu", pronounced /kuːˈbuːntuː/ koo-BOON-too, means "towards humanity" in Bemba, and is derived from ubuntu "humanity"). The K at the beginning represents the K Desktop Environment, which Kubuntu runs. By coincidence, Kubuntu also means "free" (as in 'free of charge') in Kirundi.

Kubuntu is an official derivative of the Ubuntu distribution of the Linux operating system using the KDE graphical environment instead of GNOME. It is part of the Ubuntu project and uses the same underlying system. Kubuntu and Ubuntu can work alongside each other by installing the ubuntu-desktop and kubuntu-desktop packages. Every package in Kubuntu shares the same repositories as Ubuntu. It is released biannually, with new updates and patches in between.

nice na....

17 June, 2009

Use Your Linux System With A Broken Bootloader

Here are some simple steps that should allow you to make some very simple changes that could end up saving you a lot of time and possibly a reinstall of your Linux system.

1. Acquire a Linux liveCD of your choice. I prefer Elive, as it is bigger one and quick. There are in count of others such as KNOPPIX, ZenWalk, Ubuntu, Fedora Live, and DSL. Each of these would easily be up to the task.
2. Boot the live CD and get to a command line somehow. If you are in a GUI environment, this means starting a Terminal or Konsole session. If you are booted into a classic Linux login prompt, you're good to go.
3. Make sure you're the root user (you can do this by typing whoami). If you're not root, type su - and enter the root password when prompted.
4. Mount your linux root partition. These steps may vary depending on preference, but they should be fairly similar:
1. cd /mnt
2. mkdir myroot
3. mount /dev/hda5 /mnt/myroot
4. cd /mnt/myroot
5. Depending on the complexity of the tasks you wish to perform, you may need to mount your device list according to what your live CD detected:
1. mount /dev /mnt/myroot/dev
2. mount -t proc /proc /mnt/myroot/proc
6. Finally, switch into your installed system, specifying where your root partition is mounted and they shell you wish to use:
1. chroot /mnt/myroot /bin/bash

At this point you should be able to do several useful things, such as reinstall your bootloader into the MBR. You can also edit hosed configuration files this way.

If you need to add Windows into your boot configuration, and you use LILO, you could try adding something like this to your /etc/lilo.conf:

other = /dev/hda1
label = Windows
table = /dev/hda

(be sure to run lilo again to save the change)

When you are all done with your chroot environment, simply type exit or logout or what have you. Then be sure to unmount anything you may have mounted in order to use the system.

14 June, 2009

sudo error...............

if u r going to install any package in linux,by using SUDO command
in some linux its not wotking....and there are many ways to install the package..

to solve this problem there are many ways....,BUT.....its depend upon the msg....whichone shows in terminal...
during package installation...

here is common error,
sart....

change dir....
from were u want to installl packages....than

e.g....

u want to install django

pylon@riyan:$ cd /home/pylon/Documents/pythonista/Django1.0.2-final
pylon@riyan /home/pylon/Documents/pythonista/Django1.0.2-final:$
pylon@riyan /home..../Djan....:/$sudo python setup.py install

if error is coming like this.....

"pylon is not in the sudoers file. This incident will be reported."

here pylon is user....

than write on the terminal
e.g.:-
pylon@riyan:$su

u get the root,something like this

e.g.

[root:ashish/root/home]:$


chane dir....
from were u want to installl packages....than

[root:ashish/root/home]:$cd /home/pylon/Documents/pythonista/Django1.0.2-final
[root:ashish/root/.../Django...]:$sudo python "installer_pacakage_file_name" install

screenshots of KDE(Elive) linux and GNOME(ubuntu).....

###############################################
###############################################















###############################################
###############################################


GNOME(UBUNTU)



















##############################################
##############################################

difference between KDE and GNOME....IN Linux system......

#################################################

Default Look:---


#################################################
When you look at the default setup of Gnome and KDE in Ubuntu, their differences are mainly cosmetic.

####################################################

KDE


###################################################
KDE by default (this can be changed) favors blue and black, has one toolbar at the bottom of the screen, and has one main menu.






#################################################

Gnome


#################################################
Gnome by default (this can also be changed) favors brown and orange, has two toolbars (one at the top, one at the bottom), and splits its menu into three submenus—Applications, Places, and System.





You should not select your desktop environment based on its default look. Gnome can just as easily favor blue, and KDE can be made to be orange. Both can be any color you want. Toolbars can be moved, added, deleted. The Gnome menus can be combined. New KDE menus can be added.
Both KDE and Gnome offer flexibility.




#################################################

Menu Navigation


#################################################

In KDE, there is a KMenu through which you access all programs. By default in Kubuntu (Ubuntu's implementation of KDE), there is a quick-navigation button that looks like a folder.




If you want to go to your Documents folder, you would go to the quick navigation button and then select Documents. Then you would click Open to open it.











In Gnome in Ubuntu's default layout (though you can change it to a one-button format if you'd like), you have separate buttons for applications, for folder navigation, and for system preferences.



To go to your Home Folder or Documents folder, you click on Places and then select the location you want to go to.









#################################################

Renaming Files


#################################################

In both

KDE and Gnome

, you rename a file (just as you would in Windows) with the F2 key. In older versions of KDE, the rename would focus on the entire filename, including the extension. In newer versions of KDE, the renaming process focuses on only the main filename and leaves out the extension. The renaming happens in a pop-up window, which you can confirm or cancel when you're done.






KDE also defaults to a single-click instead of double-click for opening files. So if you stick with the single-click, you'll have to hold down Control while selecting the file so that you just select the file and don't open it.







In

Gnome

, renaming a file also focuses on the main file name, but it does so inline and not with a pop-up window.
File Browser Preferences















KDE has a reputation for having confusing menus and options. I tend to think of it as just a different approach. In the file browser preferences, for example, you see three main options and then a lot of minor options in each submenu.

There are many examples.......not listed here.....

 
© 2009 Hitting codes Stealthily. All Rights Reserved | Powered by Blogger
Design by psdvibe | Bloggerized By LawnyDesigns