with the popularization of science and technology, Linux as the most popular service-side operating system, nobody knows, no one does not know. Today, whether it is server building, or client development, the basic skills of Linux system for the whole stack is necessary, and understand the following several issues can better help you become a qualified full stack engineer.
1 . Linux system organizational structure
learning a system requires understanding its architecture so that it can learn better. Linux has kernel and user two modes, the kernel, shell and file system Unified form the basic operating system structure, the Linux kernel consists of the following parts: memory management, process management, device drivers, file systems and network management, etc.
While learning the Linux kernel knowledge, we not only need to understand the principle, but also to actually operate the relevant commands, so that our theory is verified, so that we need two of the most basic books to help us to better understand and learn Linux, to the beginner's point of view I chose the " The two books, the official RHEL7 of Red Hat and Linux as it is , can help us understand exactly what a Linux system is and how the kernel works, The latter can provide good experimental tutorials and deepen our familiarity with Linux-related operational commands while I understand the relevant theoretical knowledge. The ancients often said practice is the only standard to test truth, here I would like to say only through theoretical knowledge coupled with the actual operation of the combination, to better learn Linux, as long as we have insisted, before long you will find that learning Linux is actually not so difficult.
2 How do I choose a Linux distribution?
Linux distributions can be divided into two categories, one of which is the release version maintained by a commercial company, the one that is maintained by a community organization, and the former is represented by the famous Redhat (RHEL), which is represented by Debian.
Redhat called the Red Hat series, including Rhel,fedora,centos (used in China, the Rhel Community clone version, free). Ubuntu is strictly not a separate version of the hairstyle, Ubuntu is based on the strength of Debian, one with all the advantages of Debian, as well as the advantages they have strengthened, almost perfect Linux desktop system, the Ubuntu community believes that practicality and innovation above all.
as a production server, it is recommended to select CentOS, the use of CentOS more domestic users, security is high, there are many ways to solve problems, the community is more active, Linux most common commands can be consulted:http://www.linuxprobe.com/chapter-02.html
3 Full Understanding Linux File Systems
Linux is the latest release version by default in the EXT4 format as the default file system,Linux above the file types mainly include the following categories:
1, ordinary documents: divided into plain text and binary
2. directory file: Store file place
3. Linked files: Files that point to the same file or directory
4, divided into block equipment and character equipment
5. Pipeline file: Provide inter-process communication
6. Socket file: related to network communication
7.
Linux uses the standard directory structure, and the installer has created both the file system and the complete directory composition, and specifies the role of each directory and the file types therein.
Directory Name Brief description:
/bin binary Executable command
/dev, device special files
/etc, system administration and configuration files
/ETC/RC.D startup configuration files and scripts
/home User Master Directory
/bin Standard Programming Library
/sbin System Management commands, which are stored by the system administrator using the command or program
/tmp common temporary File Store path
/root System Administrator Home Directory
The/MNT system provides this directory for users to mount other file systems
/lost+found This directory is empty by default, some files will be kept in this directory when the system shuts down abnormally.
/proc virtual directory is the system memory mapping, you can access this directory directly to obtain information about the system
/var overflow area of a particular large file, usually used to store log files for various services
The main directory of the/USR Linux system, because most of the Linux services and files are stored in this directory
engaged in It industry personnel, whether it is research and development, front-end, testing, or operations need to understand the basic knowledge of Linux, the first three may only need to know about the simple knowledge of Linux and simple operation, operations need to learn more Linux knowledge, and to become a qualified full stack engineer, You need to tap into good code, and you need more Linux knowledge so you can use it in the ocean of technology. Since the day I contacted Linux, I knew there was a lot to do in this life, and I wanted to achieve a small goal through Linux and earn a house of money. The road long its repair far XI, I will go up and down and quest.
All-Stack engineers learn the advice of Linux technology