Linux small ape circle of operation and maintenance engineers face questions (answers Edition)

Xiao Bian wrote two articles in the previous operation and maintenance engineers face questions today then continue the previous contents, if done this interview questions, I feel pretty good, small series before it can turn two, small ape circle you break through the difficulties with the interview, took their love for the operation and maintenance jobs.

1 What are the common Linux distributions? What is generally the most common that? What is its official web site is? Explain which one are you good at?

Find common Linux versions Redhat, Centos, Debian, Ubuntu, Suse

Best at Redhat and Centos

Redhat's official website: www.redhat.com

Centos official website: www.centos.org

I'm good at basic Linux command operations and related services to build

2, generally what software you can use the remote linux server? What file upload and download files? By

Linux remote connection software: xshell, SecureCRT, putty, vnc (graphical)

Upload and download files: lrzsz, sftp

3, the installation of a system using a DVD-ROM installation, how to install 50 Linux system how to install it? think for a while. (The last time have been out oh)

a, you can use a few more than one of a DVD installation.

b, can be mounted Kickstart batch (starting from the network client)

4, / mnt directory is mainly used for what? / Root directory with root user have anything to do? / Root directory has any contact with the / boot directory?

/ Mnt typically used to mount the external device

/ Root is a directory, the root user's home directory

/ Boot directory is a subdirectory / directory

5, one day misuse, performed rm -rf *, what would happen? Please give examples.

1, if the current directory is "/ tmp", then something in this directory will delete all (by default does not contain hidden files)

2, if the current directory is "/", then the data on the system will be lost, and can not be started, the system crashes (this command with caution)

6, what is the enterprise Linux system partition server is the standard? (Hard disk is 300G, memory 16G)

/boot 200M

/swap 16G

/    70G

/ Data all the remaining space

7. What Linux NIC configuration file path? To make the server on the external network, the conditions must be met for what? What you need to configure?

NIC configuration file path: / etc / sysconfig / network-scripts / ifcfg-eth * (* represents a number)

To external networks need: the ability to link internet network cable (or wireless), network card

Needs to be configured: IP, netmask, gateway, dns (automatic or manual are ok, the server automatically general)

8, is created in the / tmp / directory test.txt file contents:! Hello, World, written with a single command.

echo "Hello,World!" > /tmp/test.txt

9 ,. test.txt file to increase the execution rights except the owner, the final figures write access to the file.

655

The default is 644, by "chmod 655 /tmp/test.txt"

10, how to modify the Linux startup mode and level of permanent character, how temporary, permanent and close selinux firewall, please write operation method, respectively.

Changing the character mode: modify / etc / inittab a behavior id: 3: initdefault:

Temporary closure selinnux setenforce 0

Temporarily turn off the firewall iptables -F

Permanently closed selinux modify / etc / selinux / config an act SELINUX = permissive

Permanently closed firewall iptables -F; /etc/init.d/iptables save

11, how to add a new piece of 50G hard disk to the linux server system as a separate partition, and is being used? What steps need?

a, into the hard disk connected to the server and

b, create partitions (through fdisk command)

c, format the partition

d, mount the partition (can be written to / etc / fatab, the automatic restart mount)

12,. / Var / www / html / directory is the site of release, 0:30 how to be automatically backed up every day, write procedures? (Part of this also)

a, crontab -e to enter edit mode

b, add the following 30 0 * * * / bin / tar -czf / backup / web_bak _ $ (date + \% Y \% m \% d) .tar.gz / var / www / html> / dev / null 2 > & 1

c, start the service service crontab start; chkconfig crontab on

Finish this quiz we feel how, it is not difficult. If you feel a little more difficult individual issues, then we can go to a small circle ape look at the white teacher video, have detailed explanations for each piece of content, operation and maintenance for linux linux, is relatively little simple technique to hope that we can find job satisfaction.

Guess you like

Origin www.cnblogs.com/xiaoyuanquan/p/10978781.html