Company procurement of the server installed dual network card, and bond network card binding settings, Nic binding mode A total of seven kinds (0~6) bond0, Bond1, Bond2, Bond3, Bond4, Bond5, Bond6.First mode: Mod=0 , ie: (BALANCE-RR) Round-robin
The default system will load/DEV/SHM, which is called TMPFS, some say with RAMDisk (virtual disk), but not the same. Like a virtual disk, TMPFS can use your RAM, but it can also be stored using your swap partition. And the traditional virtual disk
Original: http://blog.oldboyedu.com/commands-sed/Syntax formatsed [options] [sed-commands] [input-file]sed [options] [sed command] [input file] Description:1. Note there is at least one space between the SED and the following options. 2.
1. Standard input and outputIn general, the program is composed of instruction + data, so it is unavoidable to read and output data, that is, input and outputs. Open files have a Fd:file descriptor (file descriptor), you can see in/proc/$$/fd the
In writing shell scripts, we often have to deal with some input parameters, it is more convenient to find getopts in the process, and can handle the parameters and parameter values of user input very well.Getopts is used to process user input
When debugging a project under Ubuntu, use the Tomcat container, and after setting up the appropriate Tomcat LOCAL path and related information, click Debug Project to appear:Unable to open debugger port:java.net.SocketException "Socket
suse Linux Common commands(1) Command ls--list filesLs-la gives a long list of all the files in the current directory, including a "hidden" file that begins with a periodLS A * lists all files in the current directory that begin with the letter
Linux Programming Implementation PWD commandIn Linux, everything is file. Directory is actually a kind of file, but this file is very special, it is stored in a corresponding table, that is, the file name and I node of the corresponding relational
Enter Useradd create a new user[Email protected] ~]# useradd zhengqi[[email protected]passwd Zhengqipasswd is the command to modify the user password, here will be prompted to enter the password two times, the password is invisible.Then modify the
memcached Boot ModeMethod One:Append the start command to the/etc/rc.d/rc.local file
/usr/local/memcached/bin/memcached-u root-d-M 2048-l 192.168.137.99-p 11211-p/tmp/memcached.pid
You can also specify no IP, which is native by default,
Virtual Machine A1. Set the firewall state to trusted2.SELinux currently modified to permissive3.SELinux permanent status modified to permissive4. Clear the Yum cache to check if Yum is availableVirtual Machine B1. Set the firewall state to trusted2.
Grasping Writer: Li Pengju No.: 20179203
(
original Works reproduced please specify the source )
(Study course: "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000)
First, the
Because want to change memory, want to look at the memory model, frequency, simple search the command can be viewed with the Dmidecode command.DMIDECODE-T MemoryThis command can view almost all the information in memory, including frequency size,
File access Control ListACL: In layman's terms, set permissions on a file for a specific user or group of users specifiedFacl:filesystem Access Control ListSave additional access control permissions with file extensionsThe general permissions are
SAR (System activity Reporter report) is one of the most comprehensive system performance analysis tools available on Linux, which can be used to report the activities of the systems in many ways, including: Read and write of files, usage of system
Linux CD commands can be said to be the most basic Linux command statements, used to switch directories, is the shell's built-in commands, to do other things, are built on the use of CD commands. Therefore, to learn the common Linux commands, the
MySQL database master-slave separation configuration method, mysql database master-slave Separation1. Introduction
Setting read/write splitting for the MySQL database enables write and read operations on the database to be executed on different
Shell Process Control (if, else, case, while, for, until), shellcase
1. Select Conditions
1.1.if statement
Simple syntax
#!/bin/bashMATH_SCORES="$1"NAME="$2"if [ -z "${MATH_SCORES}" ]then printf "The command requires that options have a scores.\n"
Some commands to be mastered in CentOSDetails:
1. tar
Create a new tar file
$ tar cvf archive_name.tar dirname/
Decompress the tar file
$ tar xvf archive_name.tar
View tar files
$ tar tvf archive_name.tar2. grep
Search for strings in files (Case
Centos7.3 build wordpress by compiling and installing LAMP Based on source code
Software environment:
Apr-1.6.2.tar.gz
Apr-util-1.6.0.tar.gz http://apr.apache.org/
Httpd-2.4.27.tar.bz2 http://httpd.apache.org/
Php-7.1.10.tar.xz
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