Debian Linux Evolution.Introduction to GNU-Linux. Linux Environment in Princess Marina Hospital; Servers, services and workstations.
This post is part of a bigger Debian material that you can access here.
Even when this GNU/Linux Debian classes are for Information Technology personnel if you are starting you might have a lot of question.
The Kernel
“A kernel is the central part of an operating system. It manages the tasks of the computer and the hardware -most notably memory and CPU time. There are two types of kernels:
- A microkernel, which only contains basic functionality;
- A monolithic kernel, which contains many drivers [Linux].
Linux – GNU/Linux
- “Many Linux users are familiar with Linux being called “GNU/Linux”. This means something special. “GNU” refers to the userland and “Linux” refers to the kernel. Now, you may be wondering if these two components can be swapped. Yes, they can.
- For example, in the beginning of Linux’s history, the GNU community had no kernel at the time and Linux was just a kernel. So, they put the two projects together. Today, the GNU community has a kernel called “Hurd”.
- They then swapped the Linux kernel with the Hurd kernel to make “GNU/Hurd” systems. For instance, Arch exists as “GNU/Linux” and “GNU/Hurd”.
- Not only do various userland and kernel combinations exist, there are different Linux kernels. Also, Linux is not the only perating system with a module (obvious, right?).”
The fist bullet is very important where he says that a lot of Linux users are aware that the term GNU/Linux.That GNU is the part of the Operating System (OS) that does the direct work with the user (understand that user does not mean only someone who is using a computer). Then Linux refers to the kernel only, that is the part of the OS that interacts with the hardware.
This next picture is a summary of only the most important GNU/Linux distributions created after the code was released for free. What happened at that time was that some distribution appeared and they evolved to our days becoming better and better and better. Also in important to remark that every time that someone does a good contribution this code is free (generally) and it is incorporated again in other distributions making every generally better or at least more updated with the latest free software.
The main branches on this graphic are Red Hat from 1994 with child distributions like Mandrake, PCLinux, CentOS, Mandriva, Fedora Core and some other important distributions. Also we have Suse Linux also from 1994 made by Novel Enterprices. An other of the important branches id Debian, it was started back on 1993, for more information read the following paragraph taken from Debian’s project website.
August 16th, 1993
. At that time, the whole concept of a “distribution” of Linux was new. Ian intended Debian to be a distribution which would be made openly, in the spirit of Linux and GNU … The creation of Debian was sponsored by the FSF’s GNU project…”Taken from: https://www.debian.org/doc/manuals/project-history/ch-intro.en.html on 2014/02/28
Debian
- Debian systems currently use the Linux kernel or the FreeBSD kernel. Linux is a piece of software started by Linus Torvalds and
- supported by thousands of programmers worldwide. FreeBSD is an operating system including a kernel and other software.
- However, work is in progress to provide Debian for other kernels, primarily for the Hurd. The Hurd is free software produced by the GNU project.”
- Debian Project: www.debian.org
- Linux Project: www.linux.org
- GNU project: www.gnu.org
An other of the Linux myths if that Linux has no graphic interface or very rudimentary ones, the true is that there are some very good projects with great future, although there is still a lot to be done. For instance we have Gnome Prject, check out the image, we can get more information about this project here. but Linux has a lot other graphic interfaces among them KDE the closest competitor to gnome or fresh one like LXDE and XFCE. But this classes are not for graphic fans but for Network administrators, so I will not talk to much about graphics any more along the course. We will use the Text Terminal mostly, the scary black Screen that many people are afraid of. The true is that this terminal is very pwoerful and you can perform a lot of activities nicely using it, and also most of the work is not like rocket sciences so we can learn it and that is what we will do along the classes.
Debian and Linux command prompt
We are going to start with real Linux. So if you do not have your Debian GNU/Linux workstation this is the moment to get it. the first thing that we will do is to change to a text terminal you can do that by pressing:
- CTRL+ALT+(F1 to F6) Opens a Text terminal.
Now to switch back to the graphic terminal you can press:
- Alt+F7 Opens the graphic terminal.
And you can also open a terminal from the graphic interface of your computer. by going to activities and typing terminal in the search box.
If you open the you text terminal (black screen) you have to login with a user, because it will prompt you immediately, there you are supposed to put your user and your password. As a curious detail in the Linux terminal when you type a password it does not show the dots that we might be used to in other systems, so someone might think that is not typing but the terminal is really recording every key that you press. This was done that way for security reasons.
Once you are in you can type commands already, lets do for instance:
whoami.
It should return your user name.
root@khs01sw10:~# whoami root root@khs01sw10:~#
So running commands is simple. But this is not it, if you do not know how to use a command you can use the commandman passing an other command as augment and it will tell you what it does.
man <CommandIDon’tKnow>
for instance:
root@khs01sw10:~# man whoami
And it will show you the Linux manual for the command. the manuals are always something like the picture. Also if it is not enough you can go to Internet and research about ways of using any command. To get out of the manual you can just press q key and it will exit the manual.
That is what I had prepared for today, let me just add the homework that you can do using the manual and we will met in the next class.
Homework: Explain how to use this commands on a Debian environment.
Whoami man pwd ls -la passwd user cd mkdir rm
Thank you for your time.
.