tài liệu dành cho người mới tìm hiểu về ubuntu và lập trình trên linux. đây là một tài liệu hướng dẫn rất bổ ích
Trang 1LẬP TRÌNH MÃ NGUỒN MỞ
TS Lê Nhật Duy
Blog: https://Lnduy.wordpress.com
Email: Ln.duy@mail.ru
Trang 2Nội dung chương trình
Mục tiêu môn học
Giúp sinh viên hiểu về lập trình Shell cho Linux, lập trình C/C++ với giao diện trên Linux
Thời lượng
Lý thuyết : 30 tiết
Thực hành: 30 tiết
Mục tiêu môn học
Giúp sinh viên hiểu về lập trình Shell cho Linux, lập trình C/C++ với giao diện trên Linux
Thời lượng
Lý thuyết : 30 tiết
Thực hành: 30 tiết
Trang 3Nội dung chương trình
1. Essential Linux
2. Introduction to Linux Programming
3. Shell Programming
4. Graphics Intergace Programming
5. Qt and Databases
6. Development Tools
1. Essential Linux
2. Introduction to Linux Programming
3. Shell Programming
4. Graphics Intergace Programming
5. Qt and Databases
6. Development Tools
3
Trang 4Kiểm tra đánh giá
Kiểm tra giữa kỳ
Tiểu luận theo nhóm
Thi kết thúc môn
Kiểm tra giữa kỳ
Tiểu luận theo nhóm
Thi kết thúc môn
Trang 5Giáo trình và TLTK
Giáo trình
Neil Matthew, Richard Stones, “Beginning Linux Programming”, 4th Edition, Wiley Publishing, Inc, 2008.
Tài liệu tham khảo
Slides bài giảng của giảng viên
Giáo trình
Neil Matthew, Richard Stones, “Beginning Linux Programming”, 4th Edition, Wiley Publishing, Inc, 2008.
Tài liệu tham khảo
Slides bài giảng của giảng viên
5
Trang 6 …
Trang 7Essential Linux
Trang 81. Introduction Linux and Linux Distributions
2. Installing Linux
3. Getting Help (using man pages, info and other
documentation resources)
4. Using Linux Text Editor
5. Managing the Linux File System
6. Installing and Managing Software on Linux
1. Introduction Linux and Linux Distributions
2. Installing Linux
3. Getting Help (using man pages, info and other
documentation resources)
4. Using Linux Text Editor
5. Managing the Linux File System
6. Installing and Managing Software on Linux
Trang 9What is Linux ?
Linux is an Unix-like operating system
Linux is an free and open source software
Linux is a leading server operating system
Multi-user, security, stability, …
3
Linux is an Unix-like operating system
Linux is an free and open source software
Linux is a leading server operating system
Multi-user, security, stability, …
Trang 10What is Linux ?
Linux is an operating system,
provides key functions in a computer system:
Application Platform
Hardware Moderator
Data Storage
Security
Connectivity
Linux is an operating system,
provides key functions in a computer system:
Application Platform
Hardware Moderator
Data Storage
Security
Connectivity
Trang 11The History of Linux
5
Trang 12The History of Linux
American software freedom activist and computer program
Is a student at Harvard University
a programmer at the MIT Artificial Intelligence Laboratory
In September 1983, he launched the GNU Project to create a free Unix-like operating system
With the launch of the GNU Project, he initiated the free software movement In October 1985, he founded the Free Software Foundation, and in 1989 he wrote the GNU General Public License (GNU GPL)
American software freedom activist and computer program
Is a student at Harvard University
a programmer at the MIT Artificial Intelligence Laboratory
In September 1983, he launched the GNU Project to create a free Unix-like operating system
With the launch of the GNU Project, he initiated the free software movement In October 1985, he founded the Free Software Foundation, and in 1989 he wrote the GNU General Public License (GNU GPL)
Trang 13The History of Linux
By the early 1990s, many of the programs required in the
GNU project’s operating system (such as libraries,
compilers, text editors, a Unix shell, and a windowing system) were completed, although low-level elements
such as device drivers, daemons, and the kernel were stalled and incomplete
In 1991, in Helsinki, Linus Torvalds began a project that
later became the Linux kernel
Development was done on MINIX using the GNU C compiler
7
By the early 1990s, many of the programs required in the
GNU project’s operating system (such as libraries,
compilers, text editors, a Unix shell, and a windowing system) were completed, although low-level elements
such as device drivers, daemons, and the kernel were stalled and incomplete
In 1991, in Helsinki, Linus Torvalds began a project that
later became the Linux kernel
Development was done on MINIX using the GNU C compiler
Trang 14The History of Linux
The first release of the Linux kernel, Linux 0.01, included
a binary of GNU's Bash shell
In 1992, he suggested releasing the kernel under the GNU General Public License
He first announced this decision in the release notes of version 0.12.
In the middle of December 1992 he published version 0.99 using the GNU GPL
The first release of the Linux kernel, Linux 0.01, included
a binary of GNU's Bash shell
In 1992, he suggested releasing the kernel under the GNU General Public License
He first announced this decision in the release notes of version 0.12.
In the middle of December 1992 he published version 0.99 using the GNU GPL
Trang 15Linux Distributions
distribution or distro for short ) is a member of the family of Unix-like operating systems
built on top of the Linux kernel
consist a set of libraries and utilities from the GNU
project
9
distribution or distro for short ) is a member of the family of Unix-like operating systems
built on top of the Linux kernel
consist a set of libraries and utilities from the GNU
project
Trang 16Linux Distributions
users;
platform-specific, even to the extent of certification by the platform vendor;
machine functionalities (e.g firewalls, network routers, and computer clusters);
users;
platform-specific, even to the extent of certification by the platform vendor;
machine functionalities (e.g firewalls, network routers, and computer clusters);
Trang 17Linux Distributions …
Today there are hundreds of different
distributions available popular
■ SUSE Linux ■ TurboLinux
■ Fedora Linux ■ Mandrake Linux
■ Red Hat Enterprise Linux ■ Lycoris Linux
■ Debian Linux
■ CentOS ■ Linspire
■ ALT Linux
■ Gentoo Linux ■ Ubuntu
■Slackware Linux
11
Today there are hundreds of different
distributions available popular
■ SUSE Linux ■ TurboLinux
■ Fedora Linux ■ Mandrake Linux
■ Red Hat Enterprise Linux ■ Lycoris Linux
■ Debian Linux
■ CentOS ■ Linspire
■ ALT Linux
■ Gentoo Linux ■ Ubuntu
■Slackware Linux
Trang 18Linux Distributions …
Trang 19Roles of Linux
Desktop operating system
Server operating system
Firewall
13
Desktop operating system
Server operating system
Firewall
Trang 20Components of Linux
The Linux Kernel
Libraries
Utilities
User Interface
User
The Linux Kernel
Libraries
Utilities
User Interface