What Is Linux?: A Brief History of Linux
What Is Linux?: A Brief History of Linux
Linux is an operating system that evolved from a kernel created by Linus Torvalds when he was a student at the University of Helsinki. Generally, it is obvious to most people what Linux is. However, both for political and practical reasons, it needs to be explained further. To say that Linux is an operating system means that it's meant to be used as an alternative to other operating systems like MS-DOS, the various versions of MS Windows, Mac OS, Solaris and others. Linux is not a program like a word processor and is not a set of programs like an office suite.
The kernel
We should point out here that the focal point of any operating system is its 'kernel'. Without going into great detail, the kernel is what tells the big chip that controls your computer to do what you want the program that you're using to do. To use a metaphor, if you go to your favorite Italian restaurant and order 'Spaghetti alla Bolognese', this dish is like your operating system. There are a lot of things that go into making that dish like pasta, tomato sauce, meatballs and cheese. Well, the kernel is like the pasta. Without pasta, that dish doesn't exist. You might as well find some bread and make a sandwich. A plate of just pasta is fairly unappetizing. Without a kernel, an operating system doesn't exist. Without programs, a kernel is useless.
Linus: "Sadly, a kernel by itself gets you nowhere. To get a working system you need a shell, compilers, a library etc." RMS: The GNU Hurd is not ready for production use. Fortunately, another kernel is available. [It is called] Linux. So combining the necessary programs provided by GNU in Cambridge, Massachusetts and a kernel, developed by Linus Torvalds in Helsinki, Finland, Linux was born. Due to the physical distances involved, the means used to get Linus' kernel together with the GNU programs was the Internet, then in its infancy. We can say then that Linux is an operating system that came to life on the Internet. The Internet would also be crucial in Linux's subsequent development as the means of coordinating the work of all the developers that have made Linux into what it is today.
Linux is introduced
Late in 1991, Linus Torvalds had his kernel and a few GNU programs wrapped around it so it would work well enough to show other people what he had done. And that's what he did. The first people to see Linux knew that Linus was on to something. At this point, though, he needed more people to help him. Here's what Linus had to say back in 1991. "Are you without a nice project and dying to cut your teeth on an OS you can try to modify for your needs?... This post might just be for you." People all over the world decided to take him up on it. At first, only people with extensive computer programming knowledge would be able to do anything with that early public version of Linux. These people started to offer their help. The version numbers of Linux were getting higher and higher. People began writing programs specifically to be run under Linux. Developers began writing drivers so different video cards, sound cards and other gadgets inside and outside your computer could use Linux. Nevertheless, throughout most of first part of the 1990's Linux did not get out of the 'GURU' stage. GURU is a term that has evolved to mean anyone who has special expertise in a particular subject. That is, you had to have special expertise in how computers worked to be able to install Linux in those days.
Linux Today
Today, Linux is enjoying a favorable press for the most part. This comes from the fact that Linux has proven to be a tremendously stable and versatile operating system, particularly as a network server. When Linux is deployed as a web server or in corporate networks, its downtime is almost negligible. There have been cases when Linux servers have been running for more than a year without re-booting and then only taken down for a brief period for routine maintenance. Its cost effectiveness has sold it more than anything else. Linux can be installed on a home PC as well as a network server for a fraction of the cost of other companies' software packages. More reliability and less cost - it's ideal. If you're reading this, you're obviously here to learn how to use Linux. Any learning experience means opening up to new ideas and new ways of doing things. As mentioned before, Linux is in the UNIX family of operating systems. UNIX is primarily designed to be used by professionals. You will have to learn some UNIX concepts in this lesson, but that doesn't mean that Linux is a professionals-only operating system. In fact, most major versions of Linux are designed to be as user-friendly and as easy to install as any other operating system on the market today. Now that you know what Linux is and how good it is, there's one more thing we have to do install Linux!
Installing Linux
Some preliminary considerations.
There are many different versions of Linux. Unlike other commercial operating systems that are controlled by one company, Linux is free to distribute and use. So, in the Linux world, there is a situation unlike what occurs in the proprietary operating system world: a number of companies, organizations and individuals have developed their own "versions" of the Linux operating system, known as distributions. There are versions of Linux that were developed to be installed on computers that receive heavy traffic, so to speak, like webpage servers. Some were developed to be used in networks where security is a priority; where sensitive information should only be accessed by a privileged few. There are versions of Linux that are meant to be installed on top of an existing operating system like Windows so people can try out Linux under familiar conditions. There are versions of Linux that are designed to be installed on platforms like Macintosh. There are versions of Linux with funny names like "Chainsaw Linux" (no kidding) and "Tutti-Frutti Linux" (yes, it's a joke)
operating systems, they have a lot to lose if Linux ever gets popular with the masses. For this reason they have done everything in their power to "warn" the public that Linux is something that you probably don't want and don't need. But in reality, Linux is just as easily installed and supports just as wide a range of hardware as Microsoft Windows does. The PR department at Microsoft is coming up with fewer and fewer reasons not to use Linux.
Summing up, I recommend Linux-only installations. Linux has become quite "mature" as an end-user operating system, so I find these stories about being "weaned" off Windows to be ridiculous (the exception, supposedly, being those who run the financial software 'Quicken'). If you've bought a new car, you don't have to be "weaned" off that. You just trade in the old one and start driving the new one. The graphic user interfaces available plus the ever-growing numbers of productivity applications (office suites, browsers, email applications, etc.) make it such that a MS Windows user could have his/her workstation switched with a Linux machine overnight and they would barely break a sweat getting used to it. Everything works very much in the same way.
Booting from a CD
Chances are, if your PC is less than 5 years old, you can start a Linux installation right from the CD-ROM drive. The way to find out is to look at your computer's BIOS. There's really no need here to go into what your BIOS is or what it does. Let's just say that it's there and you need it for your computer to work. When you turn on your computer, there's a little message that says 'Press DEL to enter setup'. Anything that mentions the word DEL usually scares people. It shouldn't. Pressing DEL when your computer boots up will just get you into the BIOS setup tools. It won't get you into trouble, unless of course you start pressing buttons randomly. You'll see a blue screen pop up with some menu items. What you need to select is the item 'BIOS FEATURES SETUP' You'll see some more menu items. There's one that says 'Boot sequence'. That's the one you want. If you use the page up/ page down keys, you can set this item so that it says CD-ROM first. That just means that it will look for the disk in your CD-ROM drive first when the computer boots. Press ESC and then choose the item 'SAVE AND EXIT SETUP'. Don't forget to set it back to 'C' when you're finished installing Linux. We'll remind you later. If you can't boot from your CD there's an option to create a boot floppy. In your machine's BIOS, you might just see A,C - C,A and there's no CD-ROM mentioned there. Don't panic. You can make a boot floppy. They often come with boxed sets, but if you yours didn't come with one, we'll cover how to create one further along.
Partitioning
Your hard disk is like a pie. You can divide it into sections. Unlike a pie, after you've divided it, you can't give a piece to the dog. My dog did try to eat my hard disk once and he really relishes the floppies I leave lying around, but alas, I digress. For example, if you had two partitions, popular operating systems would generally call them C and D. You can call them Ginger and Fred, or Ginger and Marianne or even the Professor and Marianne if you like. I just use these bad jokes as a way of saying that C and D are naming conventions that belong to other operating systems. Linux doesn't use them. Linux may call them /hda3 and /hda5 for example. We'll get to that in a minute. Then you will need another partition known as a 'swap' partition. This 'swap' partition is just a way that Linux uses to get more memory so that you don't run out of it. The classic way of partitioning your hard disk is with a program called 'fdisk' The program comes with a lot of whistles and buzzers and flashing messages that say "Danger, Will Robinson". There's a version for Linux but it doesn't mention Will Robinson. We want to say here that this is the SWAT team method of doing it - the scorched-earth policy of partitioning. If you have that important term paper on your hard disk, or pictures of that
dream vacation to Hawaii that you haven't shown to your Aunt Betty yet or your best DOOM scores, you'll need to make back-up copies of them. The re-partioning using this method will get rid of them - forever! [cue ominous organ music]. But installing Linux isn't dangerous and if you choose to install you may not need such a drastic solution to your partition problem. As we mentioned before, If you're fortunate enough to have a hard drive with more than one partition (the old C: and D: routine), then it may be just a question of moving some files around. Unfortunately this lesson can't take into account everybody's individual circumstances. There's a tool called FIPS that comes with major Linux versions. This will re-arrange your hard drive so you can install Linux. There are also other commercial products that will do the same. That may be an option for you, unless you've got a hard drive that's bursting at the seams. You should know that any decent working Linux system - and by decent, I mean, having the programs that will let you do anything you did with your Windows system- will take at least 2 gigabytes. Please keep that in mind. And if you want those photos of Hawaii on there, I'd plan for a bit more To talk about where Linux and other operating systems should go. In any situation where you've got two things sharing the same space, like two people sharing the same apartment, one person will always exert his rights over the other. Other operating systems usually want to be the only ones in the computer, so even though it's really not going to be this way, you have to install them in the first 'primary' partition, and that way it thinks it's the only one there. That means installing it in /hda1 in Linux speak. So remember, if you've chosen to go the fdisk route, the other operating system should be re-installed first. When you've got that re-installed, you are free to install Linux in what's left. Once you've installed Linux, you can actually see the other system's partition, sort of like those phony mirrors at the supermarket. We'll talk more about that in another lesson.
might be so well known now that it would be found in any program that crackers use to get into systems. Therefore, I would choose something a little less well-known in Trek lore and modify it somewhat. Trek fans will remember that mutant brat who once tried to take over the Enterprise, Charlie X. Well, 'ch4rl13X' might be a good password. Taking some letters and replacing them with similar looking numbers is an acceptable password procedure. The most secure method is, of course, creating a random string of lower case and capital letters and numbers and just remembering it. 'C2jl7y2B' is an excellent password. It is, however, difficult to remember. In the end, everybody comes up with his/own own scheme that works. Now you should create an account to work with normally. What I mean by "normally" is that Linux is a true multi-user system, so one machine can be used by hundreds of users. When each logs in, he/she is restricted to modifying only the files owned by him/her. This insures a lot of security and removes a lot of headaches. You should never do routine work as root. This account should be only used to perform important administrative tasks. Feel free to use your first name or the first letter of your name and your last name as the login for this account. Follow the password convention you're comfortable with. Now, you'll be asked to remove PCMCIA from the system if yours doesn't use it. Feel free to do so. You will now be asked if you want to configure your system to use your ISP. If you have a dial-up connection, this is a good time to use it. If you connect by way of broadband or better, you can skip this part. At this point, we're ready to choose the rest of the packages that will make up our Debian system.