I posted a written question for an O & M engineer from a company this afternoon and provided it for your reference (the answer will be answered later). I found someone copied my content and did not indicate the source, no more. 1. What does the Linux Command ls-ltr mean? 2. I have edited a script run. sh using vi. in Linux, the error "Permissiondenied" is returned. What is the cause? How can I solve this problem with a command? A: You are not authorized to run the chmod + xrun. sh command.
I posted a written question for an O & M engineer from a company this afternoon and provided it for your reference (the answer will be answered later). I found someone copied my content and did not indicate the source, no more.
1. What does the Linux Command ls-ltr mean?
2. I have edited a script run. sh using vi. in Linux, the "Permission denied" error is returned. What is the cause? How can I solve this problem with a command?
A: The permission is insufficient. You only need to grant the running permission to chmod + x run. sh.
3, there is a collect-3.6.0-3.rpm database backup script ora_bak.sh, need to be automatically executed at every day, use crontab to complete this operation, please write down the command and crontab content.
4. If the tomcat process on the Linux server is stuck (the process contains Java and atat6.0.3 information), write down the steps and commands to manually kill the process.
5. There is an installation package collect-3.6.0-3.rpm that needs to be installed and uninstalled on RedHat Linux, please write down the command separately.
A: Installation of the rpm-ivh collect-3.6.0-3.rpm fails if it was previously installed. Rpm-uvh collect-3.6.0-3.rpm, upgrade installation. To uninstall a package, first find the package name rpm qf xxxx (file name), and then uninstall the rpm-e package name
6. There is a directory/opt/data1gz which is compressed into the data1.tar.gz file. Write down the compression command. If you want to decompress the file, what is the command used.
Answer: compression: tar-zcvf data1.tar.gz tar/opt/data1 unzip: tar-zxvf data1.tar.gz
7. How can I use a command to find out which process a specific port (such as 8088) is occupied in Linux?
A: Use lsof-I: 8080 to find the PID and kill-9 the PID to kill the process.
8. When you use network-based kickstart to install the Linux operating system, you must configure and start the services on the source server.
9. Commonly used Virtual machine engines Vmware, xen, and Virtual Box have their network connection methods: bridyed, NAT, and Host-only. Take the familiar virtualization engine as an example, description of the Three Network Connection Methods
10. Linux now connects to a new storage (such as/dev/sdf, with a capacity of 2 TB). An application needs to use the GB storage space in the/data directory, describes the steps required.
11. Currently, there is a set of two mysql dual-host hot standby systems composed of Linux. You can use heartbeat (Rose HA vcs) or the HA software you are familiar with to perform a dual-host switchover test. The switch version is mysql. sh: Write down the test process of Dual-machine switchover.
12. For Linux-based system monitoring or performance monitoring, write down what performance indicators can be controlled by a familiar monitoring software (nagios, cacti, nmon, or other tools or commands, alarm levels and methods.