The tech blog uses a Aliyun server, the lowest-configured type (only 512M of RAM). When installing the latest version of MARIADB, it always fails to install because of insufficient memory. So tech decided to turn on swap.
Since opening swap reduces
Preface * * * * This article is not a tutorial, only for reference to the small night tutorial a record of the operation, for everyone to make a reference.
First, SSH uses the root user login to check the current hard disk space usage:
Batch kills the process that contains the keyword "php-fpm".
Kill ' Ps-ef|grep Process name | Grep-v Grep|awk ' {print $} '
For example:
Kill ' Ps-ef | Grep/etc/pam.d/su |grep-v grep |awk ' {print $} '
Batch Kill a program process that contains
The operating system in our virtual machine is a CentOS without a graphical interface.
In the absence of a network configuration, it is now necessary to copy the files to the Linux system on the virtual machine, I use the U-disk mount on the way to
After the Linux system is installed, configure the network card IP via command mode.Configuration files are usually/etc/sysconfig/network-scripts/ifcfg-interface-name
1. Configure the network card IP address
Check to see if Linux is in accordance with Samba services, RPM-QA | grep Samba if not installed, yum installation or RPM-IVH installation, then service SMB start to see if the SMB service is started with Ps-aux | grep SMB or see if the
1. Query the database character set firstSql> Select Userenv (' language ') from dual; USERENV (' LANGUAGE ')----------------------------------------------------American_america. Al32utf8sql> exitLearn from the above that the database character set
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
Reprint Description:FirstOriginal address: http://www.cnblogs.com/autum/archive/2012/10/12/linuxmalloc.htmlWhy do I need to use virtual memoryAs you all know, the code and data that the process needs to use are in memory, much faster than in
When executed, you can add & to the background to execute it at the end of the command, but its output is still displayed, and its run is bound to the current shell.If the script is already running, you can use Ctrl-z to pause, then use BG to move
(1) File search: Find-name according to the file name, * matches any character,? Single character-iname based on file name, case insensitive-size based on file size lookup (+ greater-than-less) (-A and-O or)-user based on owner lookup-group based on
Previously described under Linux SendMail and SendEmail mail system environment deployment, today describes the environment deployment process using Mutt to send mail.Mutt This software, it is a text-based interface of the mail client, is a powerful
Mdeltree deletes all files and directories under the specified directory and directory. If the specified file or directory does not exist, an error message is returned.SyntaxMdeltree [-v] msdosdirectory [msdosdirectories...]Parameter description:
Displays records in the directory stack.SyntaxDirs [+/-n-l]Parameters: + N indicates the n directory from the left. -N: displays the n directory from the right. -L displays the complete directory records.InstanceLists the details of all
Execute this command to check the number of FTP logon users and the maximum number of FTP logon users.SyntaxFtpcountParameter description: -F : specifies the path of the set file. -H, -- help: displays help information.InstanceFtpcount can
The let command is a tool used in BASH for computing. It is used to execute one or more expressions. You do not need to add $ to variable calculation. If the expression contains spaces or other special characters, it must be caused.Syntax formatLet
The lpr (line printer, print by line) utility is used to put one or more files into the print queue for printing.SyntaxLpr [-P printer]Parameters: -P Printer: send data to the specified Printer. The default value is lp.InstanceThe following
Find the rows in the two files with the same field content, merge them, and output them to the standard output device.SyntaxJoin [-I] [-a ] [-e ] [-o ] [-t ] [-v ] [-1 ] [-2 ][-- Help] [-- version] [file 1] [File 2]Parameters: -A not only
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