On the previous page, we see where directives can be used to conditionally select data from a table. This condition may be simple (like the previous page example). may also be complex.A complex condition is a connection of two or more simple
Modify host name under CENTOS6 version systemVi/etc/sysconfig/network vi/etc/hosts, and then change Localhost.localdomain to the hostname you want to set. Restart: rebootCentos7 Modifying host NamesThe first: hostname hostname hostname Host name
Topic:Backup LogXiaoming is a server administrator who needs to back up the forum data every day (here we replace with the log), back up the day's logs and delete the previous logs. and 年-月-日 the format of the file name after the backup.
1. The remote machine root account (can also be a custom account ABC). Enter the. ssh/authorized_keys file. No, create a new file of the same directory under the user.2. Append the contents of the%userprofile%/.ssh/id_rsa.pub file of the local
Removing users under Linux is more than just userdel-r.If you delete the user, the user has many processes in progress, you are not going to kill each and then delete;If you successfully delete the user, the system also has to change the user's
1, two server SSH free of authorization:Ssh-keygen-t RSA always return to the endSsh-copy-id-i/root/.ssh/id_rsa.pub Remote IP and enter the remote IP passwordYou don't have to verify your password for future visits.2. Compression and Decompression
Variables for shell scripts and regular expressions I. VariablesMeaning: The operation of a program is a variable of some column state, which is represented by the change of variable value.Naming rulesStart with a letter or underscore, and the rest
After 1.alarm () runs, the process will continue to run. During the later (alarm) run, the signal sigalrm is received after seconds seconds and its handler function is run.#include #include #include void sigalrm_fn (int sig) { printf ("
File type
Common types of Linux files are: Normal files, directories, character device files, block device files, symbolic link files, and so on.
Classification
Identification
type
Notes
D
a what is a regular A regular is a way to describe a character or string by combining symbols with special meanings, called regular expressions. Or, the regular is the rule used to describe a class of things.There are regular things in life:For
Reference Document: Http://www.cnblogs.com/panxuejun/p/6186414.htmlHttp://jingyan.baidu.com/article/ff42efa9162ea5c19e22021c.htmlIt is best to install the JDK before installing Tomcat;Decompression version of Tomcat can be;Modify the Tomcat
SOURCE command:The source command, also known as a Point command, is a dot symbol (.). The source command is typically used to re-execute the initialization file you just modified to take effect immediately without having to log off and log back
Start process1, press the power supply2,bios self-test; main hardware equipment such as: CPU, memory. The hard disk and other graphics devices are normal, after the test is completed, will follow the BIOS system setup sequence to boot.3, System
Points
The Linux file system uses a hierarchical tree-like directory structure.
The top-level root directory is "/".
Create additional files and directories under the root directory "/".
Directory structureWhat to store in a common
1. TAILF Trace log fileCommon parametersFormat:Tailf-n logfileThe dynamic trace log file logfile, initially prints the last 10 lines of the file.InstanceTo view the log information from the countdown number of lines2. Tail trace log File/dynamic
Rsync + inotify real-time synchronization, rsyncinotify Real-Time
1. rsync
Compared with the traditional cp and tar backup methods, rsync has the advantages of high security, fast backup, and support for Incremental backup. rsync can meet the demand
Zabbix implements email alarm and zabbix email alarm
Note:
The Zabbix monitoring server and client have been deployed. The monitored host has been added, and Zabiix monitoring runs normally.
Purpose:
Set email alarms on the Zabbix server. When the
Ebook Linux Perf master.htm, perfmaster.pdf
Linux Perf Master
About Application Performance Assessment, diagnosis, monitoring and analysis method. Apply to Linux, Solaris, Mac OS and Windows.
By RiboseYim
Engineers, open-source powder, deep
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