introduction to linux
DESCRIPTION
Introduction to Linux. History of Linux. The Role and Function of Linux The Historical Development of Linux Linux Distributions Common Linux Roles. The Role and Function of Linux. Application Platform Hardware Moderator Data Storage Security Connectivity. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/1.jpg)
1
Introduction to Linux
![Page 2: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/2.jpg)
2
History of Linux
The Role and Function of Linux The Historical Development of Linux Linux Distributions Common Linux Roles
![Page 3: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/3.jpg)
3
The Role and Function of Linux Application Platform Hardware Moderator Data Storage Security Connectivity
![Page 4: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/4.jpg)
4
The Role and Function of Linux.. 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 computer’s hardware.
![Page 5: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/5.jpg)
5
The Role and Function of Linux.. 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.
![Page 6: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/6.jpg)
6
The Historical Development of Linux 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
![Page 7: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/7.jpg)
7
In 1991, Linus Benedict Torvalds was a second year student of Computer Science at the University of Helsinki and a self-taught hacker.
![Page 8: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/8.jpg)
8
![Page 9: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/9.jpg)
9
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
![Page 10: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/10.jpg)
10
Richard Stallman, father of the GNU Project
![Page 11: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/11.jpg)
11
Nội dung chính của GNU - GPL
Tác giả vẫn giữ bản quyền đối với với phần mềm gốc. Người sử dụng có thể sao chép và phân phối chương
trình dưới bất cứ hình thức nào và giá cả tùy ý. Người sử dụng có thể thay đổi một phần của chương
trình và phân phối thay đổi của mình cùng toàn bộ phần mềm cho người khác, với điều kiện nói rõ phần mình thay đổi.
Nếu những thay đổi không thể tách rời toàn bộ phần mềm thì GNU GPL sẽ mở rộng sang những thay đổi đó.
Người sử dụng không được thông báo bản quyền. Phải đảm bảo cung cấp mã nguồn khi bán một sản
phẩm theo GNU GPL để người khác có thể sử dụng và/hoặc bán tiếp. Người dùng kế tiếp có đầy đủ quyền lợi như của người trước.
![Page 12: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/12.jpg)
12
![Page 13: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/13.jpg)
13
Linux Distributions
Today there are hundreds of different distributions available popular Linux distributions include
■ SUSE Linux ■ TurboLinux■ Fedora Linux ■ Mandrake Linux■ Red Hat Enterprise Linux ■ Lycoris Linux■ Debian Linux ■ CentOS ■ Linspire■ ALT Linux ■ Gentoo Linux ■ Ubuntu
■Slackware Linux
![Page 14: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/14.jpg)
14
Distributions..
Software Packages Installer Re-configure Update/Patch Commercial Software User Guide
![Page 15: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/15.jpg)
15
A great table providing an overview and comparison of most Linux distributions is available at http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions
![Page 16: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/16.jpg)
16
Roles of Linux
Desktop Server Firewall
![Page 17: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/17.jpg)
17
Linux on the Desktop
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.
![Page 18: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/18.jpg)
18
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.
![Page 19: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/19.jpg)
19
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 e-mail server.
![Page 20: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/20.jpg)
20
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.
![Page 21: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/21.jpg)
21
Firewall
![Page 22: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/22.jpg)
22
![Page 23: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/23.jpg)
23
Components of Linux
The Linux Kernel Libraries Utilities User Interface
User
![Page 24: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/24.jpg)
24
Components of Linux
The Linux Kernel The heart of Linux. It fulfills the key OS duties.
Libraries pre-written code pieces that app programmers use in their programs.
Utilitiesusing to maintain the file system, to edit text file, to manage running processes, to install new software…
User Interface End user use to interact with the OS.
![Page 25: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/25.jpg)
25
User Interface
Linux User Interface include Command line and Graphical user interface
The Linux command line interface (CLI) is created by shells
The Linux GUI is composed of the following components: X Window System Window manager GUI toolkit Desktop environment
![Page 26: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/26.jpg)
26
Linux Command-Line Interface
■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact with the operating system kernel.■ sh (Bourne Shell) The sh shell was the earliest shell, being
developed for UNIX back in the late 1970s. ■ bash (Bourne-Again Shell) The bash shell is an improved
version of the sh shell and is one of the most popular shells today. It’s the default shell used by most Linux distributions.
■ csh (C Shell) The csh shell was originally developed for BSD UNIX. It uses a syntax that is very similar to C programming.
■ tsch The tsch shell is an improved version of the C Shell. It is the default shell used on FreeBSD systems.
■ zsh (Z Shell) The Z Shell is an improved version of the bash shell.
![Page 27: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/27.jpg)
27
Linux Command-Line Interface The bash shell is the default shell for most distributions
using env command to view SHELL variable
To switch orther shell, ex. zsh shell$ zsh
To stop using the new shell , to back the original shell$ exit
![Page 28: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/28.jpg)
28
Linux allows to run multiple command line sessions at once
Each session can run its own programs To open a new session : press ALT + Fx
(x to 2 from 6)
![Page 29: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/29.jpg)
29
![Page 30: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/30.jpg)
30
![Page 31: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/31.jpg)
31
Running commands at the Shell Prompt Type the command or program file name at
the shell prompt and press ENTER The command interpreter look for the file
name within the directories in the current user’s PATH variable, not searches in the current directory
View PATH variable
![Page 32: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/32.jpg)
32
Running commands at the Shell Prompt Three are two ways to enter commands
$ ls
or
$ /bin/ls
![Page 33: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/33.jpg)
33
Commonly Used CLI Commands and Utilities■ halt This command shuts down the
operating system, but can only be run by the root user.
■ reboot This command shuts down and restarts the operating system. It also can only be run by root.
![Page 34: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/34.jpg)
34
Commonly Used CLI Commands ■ init 0 This command also shuts down the
operating system, and can only be run by your root user.
■ init 6 This command also shuts down and restarts the operating system. It also can only be run by root.
■ man: is help command. Ex: man ls
![Page 35: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/35.jpg)
35
Commands…
■ su (switch user) This command switches the current user to a new user account. $ su username
change to orther user account$ su
change to root account$ su –
switch to the root user account and have all of root’s environment variables applied
![Page 36: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/36.jpg)
36
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. It’s frequently used to display environment variables.
$ echo $PATH
![Page 37: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/37.jpg)
37
Commands…
■ top displays a list of all applications and processes currently running on the system.
■ which display the full path to a shell command or utility.
Ex: which ls
It display: /bin/ls
![Page 38: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/38.jpg)
38
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 system’s 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.
![Page 39: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/39.jpg)
39
![Page 40: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/40.jpg)
40
Linux Graphical User Interface 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.
![Page 41: Introduction to Linux](https://reader031.vdocument.in/reader031/viewer/2022032107/5681339c550346895d9aad5f/html5/thumbnails/41.jpg)
41
Review
Phần mã nguồn mở (free and open software) GNU Linux
Đặc trưng GNU/Linux các bản phân phối (distributions) Các thành phần trong Linux OS User interface