I. Preparation:1.CentOS Release 6.82.mysql-5.6.31-linux-glibc2.5-x86_64.tar.gz3.Linux MySQL5.6 and MySQL5.7 installation methods are slightly differentTwo. Uninstall the original MySQLFind/-name MySQLRM-RF path found above, multiple paths separated
During system maintenance, it may be necessary to review the CPU usage at any time, and to analyze the system condition according to the corresponding information. In CentOS, you can view CPU usage by using the top command. After running the top
I. The concept of command. Terminal (Terminal)?? command is a Linux system management, Linux system users through the terminal login shell process, terminal is the shell Process Control terminal.
??
?? TTY displays the terminal name of the
In Linux, fork is used to create a sub-process, which has the following characteristics:1) executes once, returns 2 times, its return value in the parent process is the PID of the child process, and the return value in the child process is 0. The
use Help--Learning Linux does not need to remember all the commands, is to enter the job, some companies for security reasons, the network will not provide, this time we can only rely on the Linux system to bring the help documentation, so we have
Source Package InstallationConvention: The source package is placed in CD/USE/LOCAL/SRCI first download the httpd source package to CD/USE/LOCAL/SRC as shown belowDownload the source Package#cd/usr/local/src/[[email protected] src]# wget
Truncate is very simple to use:int truncate (const char *path, off_t length);Parameter 1: File nameParameter 2: Size The file needs to be resizedLength is greater than file size, the file is filled with empty bytes or emptyLength is less than the
AWKawk: Report Generator, formatted text outputGawk: Mode scan and processing languageBasic syntax:Options: OptionProgram:awk's languageVar=value: Assigning a value to VarFile: Parameterawk [Options] ' program ' var=value file ...awk [Options]-F
[Last]LastView User Login Record-N Displays only the most recent times information.Related configuration Files/var/log/wtmp[LASTB]LastbLog login information for user error-N Show only recent error login information.Related configuration
Nginx configuration ProcessInstall a GCC firstGCC:C language,C+ + language ... the compilation EnvironmentYum Install GCCwget: A download tool that automatically downloads resources from the networkInstallation of wget(yum install wget) via yum;
Requirements: A directory (such as/data/test) to monitor, when the file or sub-directory in this directory changes (such as modification, creation, deletion, renaming, etc.), send mail! For the above requirements, write the shell script as follows:[
Distance from the last update article has been a period of time, small in this period of time because of some trivial, coupled with physical illness can not update the article, today the body gradually restored to update the article, Today's dream
Chown The owner of the specified file to the specified user or group, the user can be either a user name or a user ID; a group can be a group name or a group ID; a file is a space-separated list of files to change permissions, and wildcard
For Golang development, Windows can be used Vscode or liteide are good, but the development of Linux is only vim, so how to use the fun of vim Golang development?Refer to one of the official recommended plugins: Vim-goInstallation steps:Vim-go
Under Linux, the/dev directory is important and the various devices are below. Here's a brief summary:DEV is the acronym for Devices. /dev This directory is important to all users. Because this directory contains all the external devices used in the
PXE + Kickstart unattended installation and kickstart Unattended InstallationI. Introduction 1. What is PXE?
PXE (Pre-boot Execution Environment, Pre-start Execution Environment) is the latest technology developed by Intel, working in the Network
Introduction to Linux ports and introduction to linux
1. view the port range
[root@lry proc]# cat /proc/sys/net/ipv4/ip_local_port_range 3276860999
32768 when used by the system, if the port above 6099 is set, it indicates that the system failed.
2.
Attach a new hard disk in Ubuntu
1. display the hard disk and partition information. Enter the following command in the terminal window:
fdisk -lu
You can see the 3 T disk to be mounted.
2Partition the hard disk.Enter the following command in the
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