the problem: [Email protected] ~]# vim/boot/grub/grub.conf//or [[email protected] ~]# vim/etc/grub.confLocate crashkernel , change Crashkernel=auto to crashkernel=128m , and restart Linux . 2. if 8G system memory ,Crashkernel=auto will reserve 256M of memory, which is equivalent to crashkernel=256m , kdump does not start failing. 3. If the system memory > 16G ,Crashkernel=auto will reserve 512M memory, that is equivalent to crashkernel= 512M , the sa
13.1 Linux Partitioning 13.1.1 principle Introduction(1) for Linux, no matter how many partitions, to which directory to use, it boils down to only one directory, a separate and unique file structure, Linux each partition is used to form a part of the entire file system.(2) Linux uses a processing method called "loadin
)# || .----------Day (1-31)# ||| .-------Month (1-12)# |||| .----Week (0-6) (Sunday =0 or 7)# |||| |# * * * * * * user-name command to be executedCron is also a service, so you need to start the service to be effective: service Crond start; Service Crond StatusTask Schedule Exercises:Clear/var/log/slow.log This file every 1:20 A.M.Execute "/bin/sh/usr/local/sbin/backup.sh" every Sunday 3 o'clock14th # 4:10 per month to execute "/bin/sh/usr/local/sbin/backup_month.sh"Perform "Ntpdate time.windows
://s5.51cto.com/wyfs02/M01/82/91/wKiom1da0BDC6DYcAAB8ofMduuI580.png "title=" Picture 26.png "alt=" Wkiom1da0bdc6dycaab8ofmduui580.png "/>Clock Source: Pclk_psysBus Control logic unit: generation of IIC Communication timing (Setup I2ccon , I2cstat )Shift Register: the data 1bit shift to SDA lineComparator + address Register: Compares the address to the address register address as it will be received when used from the device.I2ccon : Clock ConfigurationI2cstat : operation mode and condition bit s
edit operationThe continuous u command undoes the previous n edit operations#u: Undo Recent # edits directlyUndo the most recent undo action: Ctrl+r12. Repeat the previous edit operationDot character.13, the visualization mode is used to delete the copy and paste operationsV: Select by characterV: Select by rectangle14, find (support regular expression, in the last row mode)/pattern from yourselves to tail? PATTERN from current to headerN: Find from
number of files in two files and their total number of rows;8. Write a script(1) Prompt the user to enter a string;(2) Judgment:If the input is quit, exit the script;Otherwise, the string content of its input is displayed;9, write a script, print 2^n table; n equals the value entered by a user; (Sorry, I'm naughty)10, write a script, write a few functions: function 1, to achieve the sum of two numeric values, function 2, take a given two numeric value of greatest common divisor, function 3, ta
Anonymous pipelines can only communicate between processes that have kinship, so what if you want to communicate between strangers without having relatives?Don't panic, Linux as the world's * powerful operating system, of course, provides this mechanism, that is named pipe ...The so-called named pipe, that is the name of the pipeline, but also known as FIFO, talking about FIFO, then do a single-chip development of the students must be not unfamiliar.I
TCP connection:Control connection: TCP 21 port, sending FTP command informationData connection: TCP 20 port, uploading dataData connection modeActive Mode: server 2 Port-Active connection-"client"Passive mode: Server XX Port-Passive connection-ClientXX port range must be pre-qualifiedTransfer modeText mode: ASCLL mode, text sequence transferBinary mode: Binary mode, binary sequence transferFTP User typeAnonymous User: FTP or AnonymousLocal User: Linux
? If the init process belongs to the kernel, in addition, TTY1-TTY6 is the login program on this machine, if it is pts/0 and so on, Represents a program that is connected to a host by a network.STAT : The current state of the program, the Linux process has 5 basic states: R : ( running or waiting in the running queue) ;S : The program is currently sleeping, but can be awakened by certain signals (signal) .T : The program is currently pausedZ: Zombie
head and tail are as easy to understand as its name. It is used to display a block of text at the beginning or end of a number, and the head is used to display the beginning of the file to the standard output. and tail is looking at the end of the file . 1. command format: head[ Number of references ]...[ file ]...NBSP; NBSP; 2. command function:the head is used to display the beginning of the file to the standard output . The default head command prints the first 10 lines of
section.----------------------------------------------------------------------Input modeESC enters edit mode----------------------------------------------------------------------Last-line mode: : :!: x equals: Wq:/?: s/Where%s can express full-text SearchOpen multiple Files: Next switches to the next fileVim can open multiple files at the same time by default displaying the first parameter of the file.:p Rev Switch to previous file: Last switch to final file: first switch to file one: QA Exits
I. Introduction to the establishment of a directory mkdir commandThe mkdir command is used to create the specified directory. When you create a directory, the current user has read access to the directory where the action is required. If the directory already exists, it will prompt an error and launch. MkDir can create multi-level catalogs.Common parameter Description-m 设置新目录的存取权限,类似于 chmod-p 该参数后跟一路径名称,可以是绝对路劲或向对路径,如目录不存在则会创建--help 显示帮助信息
The destination path cannot have a directory or
= on/ETC/INIT.D/PHP-FPM ReloadCat/usr/local/php-fpm/var/log/www-slow.log12.23 Open_basedirvim/usr/local/php-fpm/etc/php-fpm.d/aming.conf//[www] Add the following:php_admin_value[open_basedir]=/data/wwwroot/aming.com:/tmp//ETC/INIT.D/PHP-FPM restartCreate a test PHP script to testcurl-x127.0.0.1:80 test.com/sleep.php- I.Change aming.conf again, modify the path, test againConfiguration error LogVim/usr/local/php-fpm/etc/php.iniinstead display_errors =OffError_log =/usr/local/php-fpm/var/log/php
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.