Linux OPS Engineer Intermediate questions

Source: Internet
Author: User
Tags log log mysql backup

1. Explanation of top command and Vmstat command

2. Please write iptables statement

3. What are the MySQL high availability programs? What are the MySQL backup scenarios? What are the drawbacks?

4, write the Apache 2.x two modes of operation, and their respective working principle. How to view the modules currently supported by Apache. and see which mode to work in.

5, Linux Basic issues

(1), Linux How to view the user log log

(2), the role of utmp,wtmp,lastlog,messages files in Linux

(3), enumerate the service Area Performance view commands you are familiar with

(4), the server between the implementation of no password login. Enumerating the steps of an operation

6, the Software class problem

(1), keepalived and heartbeat advantages and disadvantages, suitable for those occasions

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

(3), Apache Nginx lighttpd each advantage and disadvantage, suitable for those occasions

(4), squid vamish each advantage and disadvantage, suitable for those occasions

(5), memcache Dredis advantages and disadvantages, suitable for those occasions

(6), introduced under the LVS load pattern and the scheduling algorithm, the Nginx load balance mode has what several algorithms

7, the design of a PV 20 million site architecture

8. Network knowledge

(1), a simple description of the OSI reference model of seven levels

(2), briefly describe the three-time handshake process of TCP protocol

(3), a host IP 202.110.14.137, mask 255.255.255.224, required to calculate the host network address and broadcast address

9. Information Security Section

(1), IDC Room in the ARP attack, the server grabbed the packet, through the analysis of the contents of the packet will see what phenomenon? How to prevent this type of attack

(2), IDC machine Room in a server running game services, is now connected, from a security perspective to analyze the reasons

(3), how to guarantee the recharge, the security of the billing database

10. Script section

(1), extract "warning" or "fatal" from the A.log file, and do not include "Ignor" line, and then extract ":" The fifth field of the split

(2), add a new group class01, and then add 30 users to enter this group, the user name is std01 to Std30

(3), on the first day of each month to backup and compress/etc directory under the content, stored in the/root/backup directory, file name Yymmdd_etc,shell program Filebach stored in the/usr/bin directory

11, with Shell programming, determine whether the file is a character device file, if yes, copy it to the/dev directory

12, please use the Shell to query the file file1 inside the space to start the line number

13. Match e-mail address and website with regular expression

14. AWD SED problem

(1), add a blank line after each line

(2) Insert a blank line after the line that matches the pattern "regex"

(3), calculate the number of rows (analog "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 only if the string "Baz" is not present in the row

(6), connect each line to a line (similar to "paste")

(7), display the line containing "AAA" "BBB" "CCC" (Fixed order)

(8), add comma delimiter for numeric string, change "1234567" to "1,234,567"

(9), only one row in the repeating row is retained, and the others are deleted

(10), delete multiples of 8 lines

15. How Linux learns how long a remote computer is running in the shell environment

16. Sed changes "Haiwao" in the 50th line of the file test to "Haiwai"

17, how to view the current Linux system status, such as CPU, memory, load, version

18. Write the shell to solve the following problems:

(1), move files larger than 50k in the current directory to the/tmp directory

(2), assuming that eth1 IP is 192.168.10.20/255.255.255.0 get eth1 network address

19, there are documents File1

(1), query file1 inside the line number of the empty line

(2), print the 2nd to 5th line of File1

(3), query file1 to the end of Hai line

20, in November, daily from 6 o'clock in the morning to 12, every 2 hours to perform/usr/bin/httpd.sh how to achieve

21, how to forward the local 80 port request to 8080 port, the current host IP is 192.168.2.1

22, DMESG command See ip_conntrack:table full,dropping packet, how to solve

23. Execute the/home/shell/collcet.pl at 6 3:15 per week and output the standard output and standard error to the/dev/null device, write out the statements in the Crontab

24, use a command to see the current system has started the service listening to the port

25. Use the Linux system command to count the number of connections to the establish state

26, a ext3 file partition, when using touch new file times wrong, the error message is that the disk is full, but use df-h to view the partition information only used 50%, please analyze the specific reason

27. List common packaging tools and write the corresponding decompression parameters

28. Explanation

Nginx,rip,mencache,systemv,nc,mtr,nginxmongo,ec2,vps

29, briefly describe the meaning of RAID 0,1,5,0+1,1+0

This article is from the "Perfection" blog, please make sure to keep this source http://alipay.blog.51cto.com/7119970/1598996

Linux OPS Engineer Intermediate questions

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.