Original Author Address: https://www.cnblogs.com/chenshoubiao/p/4793487.html
Recently learning Linux for simple commands have mastered but the complex script shell Python still does not grasp this need to continue to learn ...
A lot of things just learned to build a very inadequate maintenance monitoring content will be very little.
Linux system if the study can choose Redhat or CentOS, especially CentOS in the enterprise use the most, of course, there will be other versions, but learners still learn in these 2 versions of the line, because these two versions are brothers, no difference, have time to study the SuSE, Some companies also like to use, for example, my company.
1, Linux System Foundation
This needless to say, is the basis of the foundation, even this will not be done, reference books, you can see the Bird Brother Linux Foundation, at least to master the book 60% content, do not have to master all, but basic command always will.
2. Network Service
There are many kinds of services, each company will use different, but the basic services must be mastered, such as FTP, Dns,samba, mail, this a few probably learn about the line, lamp and LNMP is must be skilled, I mean is not light will build, but to very familiar with the inside of the quite configuration to do, Because the company's most critical is definitely a Web server, so nginx and Apache to be familiar with, especially nginx must be very familiar with, at least some companies will use Tomcat, this is also the best to learn. In fact, the network services do not have to worry too much, the general company's environment has been set up, even if there is a new server or let you rectification, the company will have the appropriate documentation to make you refer to, will not let you mess, but at least the relevant configuration must be learned, and it is certainly compiled and installed more, those modules should be familiar with In particular PHP those modules.
The above 2 points is only the basis, but also the necessary conditions, can not be said to be tools, the following is the real tool to master.
3. Shell scripts and another scripting language
The shell is the operation and maintenance personnel must have, do not understand this even into the job, at least to write some system management scripts, the simplest also have to write a monitor CPU, memory ratio of the script bar, this is the most basic, do not think will write those guessing numbers and calculate what number, these do not play a role, only for learning significance, Write system script is the most meaningful, and another scripting language is optional, generally 3P, that is, Python, Perl and php,php do not need to consider, unless you want to do development, I personally suggest learning Python will be better, difficult to automate operations, Perl is a very powerful text processing, Anyway, these two learn one on the line.
4. Sed and awk tools
It must be mastered that while mastering the two tools, you also have to master the regular expression, which is painful, is the most difficult to learn the expression, but the combination of SED and awk will be very powerful, in the processing of text content and filtering Web content is very useful, but at the same time as the shell is often used in combination, So the 3rd will be the way to learn the 4th.
5. Text Processing commands
Sort, tr, cut, paste, uniq, tee, etc., must learn, is also combined with the 3rd time to learn.
6. Database
Preferred MySQL, do not ask why I do not learn SQL Server and Oracle, because Linux is used to be the most absolute MySQL, additions and deletions to learn, especially to learn, and other aspects may not be necessary, because operations and maintenance personnel use the most or check, which optimization and development statements will not let you get.
7. Firewall
Do not learn, firewall is also a difficult point, said difficult, said easy, the most important to understand the rules, if learning CCNA friends may be more studious, because Iptables also has a NAT table, the principle is the same, and the filter table with the most, anyway, not to learn is certainly unqualified.
8. Monitoring Tools
Very important, I personally suggest, the best to learn these 3, Cacti,nagios,zabbix, the enterprise should use the most should be nagios and Zabbix, anyway, learn it, but Nagios will be a bit difficult, because it will involve the use of scripting automatic monitoring, the place is difficult.
9. Clustering and hot standby
This is very important, must understand, but to the company will not let you to do, because novice basically do not let you touch, cluster tool has many, the best learning is LVS, this is must learn, best also learn nginx cluster, reverse proxy, and hot spare, this on more tools can realize, like my company is the development of self-prepared tools, MySQL hot spare also to learn, is the master-slave copy, this individual told me easy, in fact, it is not easy to learn to understand the whole process is not easy, just do not mean to do at all.
10. Data backup
Do not learn, there are many tools, but at least to understand the principle of raid, especially the most commonly used 1+0 or 0+1, their own experiments to get out, backup tools have a lot, such as tar, dump, rsync and so on, it is better to understand more.
Forget, say that these 10 points is enough for you, should be able to get started, because some of the technology will be more difficult to learn, such as Apache and Nginx also have some very important technology, such as system tuning and service optimization, and program optimization, these are not in contact with the work difficult to learn before, so the first 10 points to learn it, Expect to learn at least 3 months, the script that part has made you very difficult, I suggest to learn the shell first, and then learn another scripting language after work, this will be better.
The above is to step into the Linux operations engineers need to master the tools, in fact, there are a lot of tools to master, but you in the learning environment is difficult to learn, and finally I would like to remind that the tools here are equivalent to skills, rather than Windows or Ubuntu those graphical tools, those tools useless, and, Learn Linux do not install the graphical interface, so that the virtual machine does not have to eat too much memory, and it is not recommended to install Linux on the real machine, can not achieve the learning effect.
Reprint Linux Operations Fundamentals Learning content