1, download the tar package, can directly download the server onlinewget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz2. Install MySQL under/usr/local/mysql# UnzipTAR-XVF mysql-5.7.22-linux-glibc2.12-x86_64.
1th SED Foundation 1.1 sed options-R supports extended regular-N cancels the default output-I direct modification does not output to the desktop-i.bak BackupThe writing format of 1.2 sedSed ' conditional command 'Sed ' pattern command 'Sed ' mode
Environment description
IP
programs that need to be installed
192.168.209.12
Nginx MySQL PHP
*LNMP The installation of the schema *① install Nginx② install Mysql③ install Php④ last
1. Remote connection Server
1. View IP Address
Ifconfig
2.IP configuration: (Redhat)
Netconfig (Graphical configuration)
3. Restart the Network Service
Service Network restart
4. Stop the firewall, you need to shut
Tar-zcvf/home/xahot.tar.gz/xahotTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingExample: Package the/xahot folder into a/home/xahot.tar.gz file.Zip compression method:Compresses the current folder Zip-r.
ObjectiveIn Linux, it is important to manage and update the software on the system, which can be easily managed by command line or graphical functions.1. Recognize the naming rules of RHEL softwareSoftware Management-Source code Tar Ball
Parameters :
-A or--text : Do not omit binary data.
-a or--after-context= : In addition to displaying the column that conforms to the template style, the contents after that line are displayed.
- B or--byte-offset : Indicates the number of
1. First, create the file as a mount pointmkdir/File name/2.mount/iso/rhel-server-7.3-x86_64-dvd.iso/dir/Mount the image under the/iso directory on the/dir/file 3. cd /etc/yum.repos.d/ 进入文件4. rm -fr *
High concurrent serversHigh concurrent serversConcurrent Server Development1. Consider the following points when using multiple-process concurrent servers with multiple-process concurrent servers:
Parent Maximum file description (the parent
truncate ftruncate functionBoth truncate () and ftruncate () can be used to modify the file size, but there are some differences between the two.one, truncate () functionHeader file:#include function definition:int truncate (const char *path, off_t
View Tomcat logs usually use tail-n or tail-f or grep or VI cat and other commands to see the exception information, but the log is constantly brush screen, tail is dynamic in the change, we often expect from the last line of the Log page forward
1.SSH IP standard usage ssh [email protected] (default current system login user, if it is a normal user, when not labeled as root, is a normal user login) SSH [email protected] (Springboard machine)2.W (view system load)3. View current logged in
Rights Management for Linuxthree basic permissionsR Read permission (read)W Write permission (write)X Execute permission (execute)Permission Description Format: Owner belongs to group others1th bit: File type (d directory,-normal file, L link
GNU AWK: The Three Musketeers tool for text processing:grep, SED, awkgrep, Egrep, Fgrep: Text filtering tool; pattern sed: Row editor mode space, hold space awk: Report Builder, formatted text output, and when working with text files, the words in
After Ubuntu 7.04 is installed, the keyboard sometimes becomes invalid due to poor performance in many places, such as no sound. The online cool-man said that the ultimate way to solve these problems is to compile the latest kernel, so he thought of
Preface:Actually, this articleArticleI don't know what the name should be. I don't feel like I'm talking about anything. Alas... In fact, my intention is to describe the IP layer of the Linux protocol stack to route data packets. For example, if
Function Description: create or modify a file to be kept, or extract files from the file to be kept.
Syntax: Ar [-dmpqrtx] [cfossuvv] [A ] [B ] [I ] [keep files] [member files]
Note: Ar allows you to collect many files and make them a single file.
Mode operation
After the reset response, the card is in one of the following two operation modes:
--If TA (2) exists, it is in a specific mode;
--If TA (2) does not exist, it is in the negotiation mode.
The figure shows how to select and switch the
UClinux is started in two phases:Part 1 bootloader startup phasePart 2 Linux kernel initialization and startupSection 1: start_kernelSection 2: Start In user_mode and end in start_kernelSection 3: After loading the Linux kernel, transfer it to 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