In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "summary of interview questions for Linux operation and maintenance engineers". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Knowledge of Linux operating system
1. What are common Linux distributions? Which one are you best at? What is its official website? Which part are you good at?
What are the detailed steps of the 2.Linux boot process? After the system is installed, how to crack the password when you forget it?
3. What is the partition standard of Linux server system in the enterprise? (take 300 GB of hard disk and 16 GB of memory as an example)
4. What should I do if I suddenly find that the Linux system file is read-only one day? Complete procedure.
5. Install a system using DVD CD-ROM installation, how to install 50 Linux systems how to install? Think about it.
6. I installed a Linux system with a virtual machine and suddenly wanted to clone a server. After cloning, I found that I could not surf the Internet. How to solve this problem?
What is the path to the 7.Linux Nic configuration file? What are the conditions that must be met in order to put the server on the extranet? What needs to be configured?
8. What kind of software can I use for remote linux servers? Through what to upload and download files?
What is the 9./mnt directory mainly used for? What does the / root directory have to do with root users? How does the / root directory relate to the / boot directory?
10. What will happen if I execute rm-rf * one day by mistake? Please give an example.
2. Linux command and file operation
1. Create a test.txt file in the / tmp/ directory with the content: Hello,World!, and write it with a command.
two。 Add the execute permission to the test.txt file in addition to the owner, and finally write out the file as a number.
3. Edit test.txt with vi command, how to jump to the last line, the first line, the beginning of the line, the end of the line, how to insert the next line of the cursor line, how to copy 5 lines, delete 10 lines, find the characters of jingfeng, and replace jingfeng with jfedu.net
4. Look for files on linux systems that end with txt and have not modified for 30 days, whose size is greater than 20K and have execute permissions, and back up to the / data/backup/ directory.
5. The user to which the test.txt belongs is root, and the group is abc. Make the test.txt owned by abc and group by root, and write out the command.
6. How to modify the Linux startup level to character mode and take effect permanently, how to temporarily and permanently shut down selinux and firewall, please write down the operation method respectively.
7. Create a date folder for the current day under the / tmp directory each time you boot (hint: the current date is represented by `date +% Y% m% d`)
8. How to view the contents of the file and what are the commands? Look at lines 1 to 3 of the file and the last line of the file.
9. View the command for the linux server IP, and display only the line containing ip to print out.
10. What is the command to add the ordinary user test to the root group?
3. Linux disk and software management operation
1. How to add a new 50G hard drive to the linux server system as a separate partition and is in use? What steps are required?
two。 There is a Kingston U disk, need to upload an index.html file to the server / var/www/html/ directory, how to operate and complete.
3. There is a portable hard drive with 300G data on it, how to quickly cp to the linux server?
4. There is a httpd-2.2.15.xx.rpm package in the CD. How to mount and install it?
5. Use the rpm command to install, uninstall, remove, and update the ntp-0.7.12.x86_64.rpm software package.
6./var/www/html/ is the publishing directory of the website, how to back it up automatically at 0: 30 am every day and write down the operation steps?
7. Use the tar command to package and compress the / root directory, then move to / tmp and set its permissions to read-only by others.
What is the difference between the 8.Yum command and the rpm command? How do I install a dependent package using rpm?
9. How to create a test.txt file with the content of ok every 2 hours from 6 a.m. to 12:00 every day during this month?
10. Transfer files greater than 100K in the / usr/local/test directory to the / tmp directory.
11. This paper briefly describes the working principle and characteristics of the three working modes of raid0 raid1 raid5.
twelve。 How to view the processes that occupy port 8080.
IV. Configuration and management of Linux services
1. Please write down the two working modes of the apache2.X version and how they work. How do I view the modules currently supported by apache and in which mode are they working?
Nfs cannot be mounted on the client under 2.Linux. Please write down the troubleshooting steps?
The dhcp server has been deployed under 3.Linux, and the IP cannot be obtained by the client. How to solve it?
4. What are the common FTP software? What is the most commonly used Linux? How do I share a resource for others to access using a user name and password?
5. How do I prevent FTP from logging in with anonymous users? How does the command line access the ftp server?
Where is the release directory of the 6.ApacheWEB server?
How many working modes does the 7.ApacheWEB server have, and what is the simple difference between each mode?
What is the purpose of the 8.MySQL server? Can Apache and mysql be installed on the same machine? How do I view apache and mysql ports and processes?
9. How to deploy 4 websites on the virtual machine with the domain name www.a1.com test.a1.com www.a2.com test.a2.com?
10. Suppose the log file generated by Apache is called access_log. When apache is running, execute the command mv access_log access_log.bak. After execution, where will the log of the new apache be printed and why?
11. We all know that the FTP protocol has two working modes, so what is the general workflow of them?
The file from which to read the file system to be loaded when the 12.Linux kernel boots.
13. Write down the common ports of the following services, such as ftp http dns snmp pop3, dhcp, nfs, mysql, samba, etc.
14.Mysql commands to create databases, create tables, insert statements?
15.Mysql backup command? How does Mysql grant root users access to jfedu with a password of jfedu.net? please write a command.
What should 16.Mysql do if he forgets his password?
What skills and professional qualities are required for 17.Linux operation and maintenance engineers?
This is the end of the summary of the interview questions for Linux operation and maintenance engineers. Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.