Intermediate questions for Linux O & M engineers

Source: Internet
Author: User
Tags mysql backup nginx load balancing

Intermediate questions for Linux O & M engineers

1. Explain the top command and vmstat command

2. Write the iptables statement.

3. What are mysql high availability solutions? What are the mysql backup solutions? What are the disadvantages?

4. Write two working modes of Apache 2.x and their working principles. View the modules currently supported by Apache. And check in which mode the job works.

5. Basic Linux Problems

(1) how to view User Logon logs in Linux

(2) functions of utmp, wtmp, lastlog, and messages files in Linux

(3) List familiar service area performance query commands

(4) How to Achieve password-free login between servers. Procedure

6. software problems

(1) Advantages and Disadvantages of keepalived and heartbeat, suitable for those occasions

(2) Advantages and Disadvantages of LVS haproxy nginx, suitable for those occasions

(3) Advantages and Disadvantages of Apache nginx lighttpd, suitable for those occasions

(4) Advantages and Disadvantages of squid vamish, suitable for those occasions

(5) Advantages and Disadvantages of memcache dredis, suitable for those occasions

(6) introduce the LVS load mode and scheduling algorithm. Which algorithms are available in the nginx Load Balancing mode?

7. Design a website with a PV of 10 million

8. network knowledge

(1) briefly describe seven layers of the OSI reference model

(2) briefly describe the three-way handshake process of the tcp protocol

(3) If a Host IP address is 202.110.14.133 and the mask is too large, the network address and broadcast address of the host must be calculated.

9. Information Security

(1) When an ARP attack occurs in the IDC room and packets are captured on the server, what can be seen by analyzing the data packet content? How to prevent such attacks

(2) The game service is running on a server in the IDC room and cannot be connected now. analyze the cause From the security perspective.

(3) how to ensure the security of recharge and billing Databases

10. Script

(1) extract the "warning" or "fatal" from the. log file without the "IGNOR" Row, and then extract the fifth field separated ":".

(2) Add a new group class01, and then add 30 users to the group. The username format is std01 to std30.

(3) back up and compress the contents under the/etc directory on the first day of each month and store them in the/root/backup directory. The file name is yymmdd_etc, the shell program filebach is stored in the/usr/bin directory.

11. Use shell programming to determine whether a file is a character device file. If so, copy it to the/dev directory.

12. Use shell to query the row number starting with space in file1.

13. use regular expressions to match the email address and website

14. awd sed Problems

(1) Add an empty row after each row

(2) Insert an empty row after matching the row with the style "regex"

(3) calculate the number of rows (simulate "wc-1 ")

(4) Insert 5 spaces at the beginning of each line (to move the full text 5 spaces to the right)

(5) Replace "foo" with "bar" and replace it only when "baz" is not displayed in the row.

(6) connect each line to one line (similar to "paste ")

(7) display rows containing "AAA" "BBB" "CCC" (fixed order)

(8) Add a comma separator to the numeric string and change "1234567" to "1,234,567"

(9). Only one row in the duplicate row is retained, and the others are deleted.

(10) delete multiple rows of 8

15. How does Linux know the running time of a remote computer in the shell environment?

16. sed changed "haiwao" in row 50th of the file test to "haiwai"

17. How to view the status of the current Linux system, such as cpu, memory, load, and version

18. Compile a shell to solve the following problems:

(1) Move files larger than 50 K in the current directory to the/tmp directory

(2) assume that the IP address of eth1 is 192.168.10.20/255.255.255.0 to obtain the network address of eth1.

19. File file1

(1) query the row number of the empty row in file1

(2) print the 2nd ~ of file1 ~ 5 rows

(3) query the rows ending with hai in file1

20. How to Implement/usr/bin/httpd. sh every two hours from to every month

21. How can I forward requests from port 80 to port 8080? The current host IP address is 192.168.2.1

22. How can I solve ip_conntrack: table full and dropping packet in the dmesg command?

23. Run/home/shell/collcet. pl at every week, and output the standard output and standard error to the/dev/null device. Write the statement in crontab.

24. Run a command to view the port listened by the service that has been started by the system.

25. use Linux commands to check the number of connections in the establish status.

26. An ext3 file partition. An error is reported when you use touch to create a file. The error message is that the disk is full, but only 50% is used when you use df-H to view the partition information. analyze the specific causes.

27. List common packaging tools and write corresponding decompression Parameters

28. Explanation

Nginx, RIP, MENCACHE, SYSTEMV, NC, MTR, NGINXMONGO, EC2, VPS

29. Briefly describe the meaning of RAID, + + 0

This article permanently updates the link address:

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.