Reproduced [For users who want to learn more about Linux development] A concise guide to Linux application development to kernel development

Source: Internet
Author: User

[dedicated to learning in depthLinuxDevelopment of Netizens] LinuxA concise Guide to application development to kernel development.

Preface, Linux/unix Community of the section is not lively, novice too many, master too busy, I put myself this several years of the process of Linux learning to speak, hope to give everyone a little help,
Guide beginners to learn the direction, less detours, more than half, but also to stimulate, please have a warm speech.

1. First familiar with Linux
It is recommended that you install the VMware Workstation 6.5.0 (VM) on Windows, and download the seeds on http://www.verycd.com.
After installing the VM, install Linux Fedora Core 4 or the latest Linux Fdrora 12 in the VM, download URL: Http://fedoraproject.org/get-fedora
Use open source putty on Winodws, or securecrt ssh to access Linux in the VM.
Winodws and Linux copy files can be opened through open-source WINSCP, or open file sharing in VMs, or turn on SMB services on Linux.

It is recommended to familiarize yourself with the common shell commands on the text interface. Of course, the graphical interface of Linux is also relatively friendly, in the text interface through the STARTX can enter the GUI.
This kind of books too many, to find two of foreign authors to write the Linux primer.

2. On Linux, use c,c++ for application development (server programs, i.e. non-GUI programs).
Recommended to see the classic Book "Unix Environment Advanced Programming", W.richard Stevens. Network programming can see the "TCP/IP detailed" three volumes of books.
Learn how to makefile.
I'm used to enabling SMB services on Linux, editing C, C + + code with source insight on Windows XP, accessing Linux through SECURECRT, executing the Make command,
The entire project is automatically generated. Of course there are experts like to use VI, I generally do not, unless there is no choice of editor.
If you have VC development experience, learn quickly, estimated 2 weeks to get started.

3. Enter Linux kernel development.
Kernel development is about 3 times times more difficult to learn than Linux application development. Basically, with one year of Linux application development experience, you can proactively enter the Linux kernel development.
Must-see books, "Linux Device Drivers", "Understanding Thelinux Kernel", "Linux Kernel Development" (respectively, Ldd,ulk, LKD). Ldd,ulk, I bought a paper version from the Internet of Excellence or Dangdang. Of course, the electronic version of the PDF format is also available, we can Google.

Learn to compile the kernel, configure the kernel, and boot the system with the new kernel.
Learn to write kernel modules and learn about the APIs commonly used by the kernel.
Can analyze the TCP/IP protocol stack, NIC driver and so on.
For example, the TCP/IP protocol stack, the classic book:
W.richard Stevens the "TCP/IP detailed" three volumes of books.
RFC documentation.
LwIP, an open-source TCP/IP stack, is simpler than Linux's own TCP/IP protocol stack.
Open Source Protocol analysis tool: Wireshark.
Learn the network technology, you can refer to my VC version of the post: http://topic.csdn.net/u/20090923/20/72f47268-f9cd-4daa-a145-4c3ed8af445a.html?25116

Reproduced [For users who want to learn more about Linux development] A concise guide to Linux application development to kernel development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.