[Blog recommendations] Linux Enterprise O & M efficiency tips and sharing (1)

Source: Internet
Author: User
Tags tar unzip

[Blog recommendations] Linux Enterprise O & M efficiency tips and sharing (1)

This blog post is from the blog of Bkjia blogger Wu guangke. If you have any questions, please visit the blog homepage for an interactive discussion!

Blog address: Http://wgkgood.blog.51cto.com/1192594/1641247

With the rapid application of Linux in enterprises, for better O & M in enterprises, familiar with daily O & M skills can better meet the development of enterprises, while making our O & M easier, I no longer feel that O & M is a tough task. I really want to train, grow, and hone my skills.

Make our O & M more "charming" and make our life better. Through this course, I will share my experiences and experiences in daily O & M so that you can get real knowledge and apply it to your O & M work.

So what should we pay attention:

1) Linux Industry goals

We need to understand the purpose of studying Linux O & M, and believe that everyone is trying to find a very good job, a high-paying job, continuous exercises, and continuous growth.

Through work, we can make our life more complete and full.

2) Linux learning route

After understanding our big goals, we need to break down the big goals. The next step is to truly act and work toward the small goals. What are the small goals?

Basic computer knowledge-> hardware knowledge-> daily windows system operations-> Linux system entry-> Linux directory and permission learning-> linux requires 20 commands (ls pwd cd cat useradd groupadd rm cp chown chmod vi find grep ps free top sed awk if for case wc yum rpm tar unzip more head tail, etc)

-> Linux Simple Server SETUP (master the common tar file decompression methods and master the software installation methods:

Install yum install; three steps for source code compilation and installation: configure, make, and make install)

-> Apache service building-> Mysql Service Building-> PHP server building-> LAMP architecture integrated discuz Forum-> Kickstart automated system installation-> cacti monitoring deployment-> Shell script programming (including learning various statements, if for awk for while sed) -> Linux Advanced Server SETUP-> Nginx WEB server setup-> Tomcat server setup-> resin server setup-> Nginx balanced java Server-> LNMP architecture setup (yum/source code) -> Nginx dynamic/static separation-> LVS + Keepalived Server Load balancer deployment-> LVS + Keepalived + Nginx + Tomcat server Load balancer architecture deployment-> advanced Shell writing-> automated O & M Learning (KVM, Puppet, ZABBIX, Ansible, Mysql + DRBD)

3) Editor command skills

Familiar with searching, matching, and redirection of command lines and vi editors. For example, in shell command lines, ctrl + a redirects to the beginning and ctrl + e to the end.

In the vi Editor:

Shift + ^ jump to the beginning, shift + $ jump to the end.

Match/word characters, delete the character where the cursor is located and Press x to jump to the last line of the text, press G to jump to the first line of the text, press gg.

Delete the cursor row to the last line of text: dG

Delete the cursor row to the first line of text: dgg

4) System Operation Status Monitoring

You can use free-m to view the remaining memory size.

 
 
  1. -/+ Buffers/cache: 881 112 (this value is about the actual memory value)

You can use df-h to view the tmpfs memory file system and accelerate static files and images:

Tips for viewing traffic of a local NIC:

 
 
  1. yum install iftop -y 

Iftop-I eth0:


 
 
  1. The left and right arrows in the middle indicate the direction of traffic.
  2. TX: Send traffic.
  3. RX: receives traffic.
  4. TOTAL: TOTAL traffic.
  5. Cumm: total traffic for running iftop to the current time.
  6. Peak: traffic peak.
  7. Rates: the average traffic in the past 2 s, 10 s, and 40 s respectively.


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.