Chapter 1 Introduction To Linux
Chapter 1 Introduction To Linux
History of Linux
The Role and Function of Linux The Historical Development of Linux Linux Distributions Common Linux Roles
Application Platform: An operating system provides applications with a platform where they can run, managing their access to the CPU and system memory. Hardware Moderator: The operating system also serves as a mediator between running applications and the system hardware. Most applications are not written to directly address a computers hardware.
4
Security: The operating system is responsible for providing a degree of security for the data it hosts. Connectivity: The operating system manages connectivity between computer systems using a variety of network media and interfaces, including infrared, Ethernet, and wireless.
In the early 1990s, Torvalds became interested in a freeware product called Minix were written by Andrew S. Tanenbaum. Developed by Andrew S.Tanenbaum, Minix was a clone of the commercial UNIX operating system. Linux version 0.02, released on October 5, 1991, consisted of only the Linux kernel and three utilities: bash : a command-line interface update : a utility for flushing file system buffers gcc : a C++ compiler
6
In 1991, Linus Benedict Torvalds was a second year student of Computer Science at the University of Helsinki and a self-taught hacker.
What is GNU?
GNU Project: Richard Stallman on September 27th 1983. The GNU Project was launched in 1984 to develop a complete Unix-like operating system which is free software: the GNU system. GNU's kernel isn't finished, so GNU is used with the kernel Linux. The combination of GNU and Linux is the GNU/Linux operating system, now used by millions. www.gnu.org
9
Tc gi vn gi bn quyn i vi vi phn mm gc. Ngi s dng c th sao chp v phn phi chng trnh di bt c hnh thc no v gi c ty . Ngi s dng c th thay i mt phn ca chng trnh v phn phi thay i ca mnh cng ton b phn mm cho ngi khc, vi iu kin ni r phn mnh thay i. Nu nhng thay i khng th tch ri ton b phn mm th GNU GPL s m rng sang nhng thay i . Ngi s dng khng c thng bo bn quyn. Phi m bo cung cp m ngun khi bn mt sn phm theo GNU GPL ngi khc c th s dng v/hoc bn tip. Ngi dng k tip c y quyn li nh ca ngi trc.
11
12
Linux Distributions
Today there are hundreds of different distributions available popular Linux distributions include
SUSE Linux Fedora Linux Red Hat Enterprise Linux Debian Linux CentOS ALT Linux Gentoo Linux TurboLinux Mandrake Linux Lycoris Linux Linspire
13
Distributions..
14
A great table providing an overview and comparison of most Linux distributions is available at http://en.wikipedia.org/wiki/Comparison_o f_Linux_distributions
15
Roles of Linux
16
First, there has been a historical lack of desktop productivity applications available for Linux. The second issue is that the average user tends to find Linux somewhat intimidating.
17
Linux as a Server
File Server Using the Network File System (NFS) or Samba service, Linux can be configured to provide network storage of users files. Print Server Using the Common UNIX Printing System (CUPS) and Samba services together, Linux can be configured to provide shared printing for network users. Database Server Linux works great as a database server. There are a variety of database services available for Linux servers, including MySQL and PostgreSQL.
18
Linux as a Server..
Web Server Linux is also widely deployed as a Web server. The most popular Web service currently used on Linux is the Apache Web server. E-Mail Server There are a variety of different e-mail services available for Linux that can turn your system into an enterprise-class email server.
19
Linux as a Server..
Linux is extremely stable. Simply put, a Linux server rarely crashes. It just keeps running and running.Fast Linux servers are very fast. Many benchmark tests have been run pitting Linux servers against other server operating systems. Linux servers are much less expensive. Most other server operating systems charge expensive per-seat licensing fees, making them very expensive to deploy in large networks.
20
Firewall
21
Components of Linux
22
Libraries are pre-written code pieces that application programmers use in their programs. Utilities maintaining the file system, editing text files, managing running processes, and installing new software packages. User Interface command-line interface (CLI) and a graphical user interface (GUI).
24
25
26
27
29
Commands
su (switch user) This command switches the current user to a new user account. This command is most frequently used to switch to the superuser root account. In fact, if you dont supply a username, this utility assumes that you want to change to the root account. If you enter su -, then you will switch to the root user account and have all of roots environment variables applied.
30
Commands
env This command displays the environment variables for the currently logged-in user. echo This command is used to echo a line of text on the screen. Its frequently used to display environment variables. Ex: echo $PATH
31
Commands
top This command is a very useful command that displays a list of all applications and processes currently running on the system. which This command is used to display the full path to a shell command or utility. Ex: which ls It display: /bin/ls
32
Commands
whoami This command displays the username of the currently logged-in user. netstat This command displays the status of the network, including current connections, routing tables, etc. route This command is used to view or manipulate the systems routing table. ifconfig This command is used to manage network boards installed in the system. It can be used to display or modify your network board configuration parameters.
33
34
XFree86 project developed a free windows system that provides a GUI on the Linux operating system. Using X Windows along with a window manager and a desktop environment (such as GNOME or KDE), users can interact with the Linux kernel using a mouse instead of the keyboard.
35
c trng
36