I. MySQL replication related concepts1, Master-slave replication: The primary node synchronizes data to multiple slave nodes2. Cascade replication: The master node synchronizes data to a slave node, and the other slave nodes replicate data to the
Environment
centos6.4
Install SVN
Yum-y Install Subversion
Configuration
Build the Repository DirectoryMkdir/lh/svndataSvnserve-d-r/lh/svndataTo see if it started successfully: NETSTAT-LNT | grep3690 Ps-le | grep SVN
case: Building a soft RAID disk arrayRequirements DescriptionAdd 4 SCSI drives to a Linux serverBuild RAID10 arrays with Mdadm software packages to improve disk storage performance through RAID0 high-read, RAID1, high reliability⑴ installation Mdadm[
Install the Nginx steps and the problems encountered:1, yum install GCC gcc-c++//execute the command after the problem, has been circulating the execution of three of these sentences, as shown:The solution is to Ctrl-Z, then enter
Linux file propertiesIn Linux, for each file has the corresponding attributes, in the root user home directory of Linux in the new file A.txt as an example, enter a few characters in the A.txt
Use command Ls-ild a.txt to view file
Preparatory work: 1. Download Xshell (Https://pan.baidu.com/s/1edKFDZ1NjQZdzJZooZqZ1Q)2.Linux Configure IP address.Installation: Xshell installation: Divided into enterprises, school personal Two, enterprises need to pay, I installed the school
Some important configuration files of the three-linux system of Linux Learning1. Network Card configuration file/etc/sysconfig/network-scripts/ifcfg-eth0DescriptionDevice=eth0 #网卡名称Hwaddr=xx:xx:xx:xx:xx:xx #网卡的mac地址, total 48 bits This is
1. Lsof-i: Port number2. Netstat-tunlp|grep Port numbercan see which process is consuming the specified portTools/Materials
Linux,windows
Xshell
Method/Step
"Step One" lsof-iThe lsof-i is used to display conditions that
As a qualified Java background developmentOften need to query the log on the line, to locate the problem on the lineSo master the command of log queryAllows you to locate the error log location more quickly and solve the problem in a timely
A blocking/nonblocking method is available when an application accesses a device file. If you are using blocking mode, call Open (), read (), write () directly, but the driver layer will determine whether it is readable/writable, and if
Add the following to the/etc/profile for all users effectively. Valid only for the current user in the home directoryAdd the following to the. bashrc or. Bash_profile:(Note: Do not add a space before the equal sign, or command not found may
The memory cache appears to be resolved, the difference between the read and write speed of the device!00. Linux Cache Interpretation/proc/sys/vm/drop_caches (since Linux 2.6.16)Writing to this file causes the kernel-to-drop clean caches,dentries
Linux Public key Private key implementation without password login
First local host generates convention and private key
# Ssh-keygen /Generate public and private keysDo not change the default path, do not enter the password in the middle,
First, the boot automatically mount file system settings
Create a new Rhel directory under/media and mount the/DEV/SR1 second optical drive to that directory
#mkdir/media/rhel#mount/dev/sr1/media/rhel
Automatically mount file
A log is a historical event used to record the state of a system's operation, primarily recording events that occur at a particular time, and, depending on the log level, the critical program of the event, often called LogLevel.System Log
Several ways to empty Linux files1. How to use redirection[[email protected] ~]# du -h test.txt 4.0K test.txt[[email protected] ~]# > test.txt [[email protected] ~]# du -h test.txt 0 test.txt2. Use the true command to redirect the empty
1. Sort Command functionThe sort command is used to sort the contents of the text file, sorting the input rows by key-value fields and data type options, and by locale.A predictable sequence of records makes it easier for users to see and use: 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