different for replication to work.Check whether the/data/mysql/auto.cnf uuid of the master and slave server is the same, if you delete one and restart the server again, the change master operation from server MySQL will succeed.
17.5 testing master-Slave synchronizationDefined in MY.CNF: can be in the Lord, or in theOn the primary serverbinlog-do-db=//Synchronize only the specified libraries, multiple can be used, to splitbinlog-ignore-db=//Ignore specified libraryFrom the serverre
written by C + + programs, the Java program can be fetching read, and vice versa.Toss half a day after finding the reason: the Java API reads with the DOC.GETXXXX (String) method, regardless of the order.mongocursor collection.find (docfilter). iterator (); while (Cursor.hasnext ()) { = cursor.next (); // reading order does not matter int col2 = Doc.getinteger ("COL2"). Intvalue (); long col3 = Doc.getlong ("COL3"). Longvalue ();
Firewalld#systemctl Disable FIREWALLD#iptables NVLClose the service process with the command #/usr/local/tomcat/bin/shutdown.shExtendedJava Container comparison http://my.oschina.net/diedai/blog/271367Http://www.360doc.com/content/11/0618/21/16915_127901371.shtmlRelationship between Java EE, J2SE, EJB, JavaBean, Serverlet, JSP http://bbs.csdn.net/topics/50015576Tomcat Server.xml Configuration Detailed http://blog.csdn.net/yuanxuegui2008/article/details/6056754Tomcat Common Database connection m
Tags: xftp pure-ftpd15.4 Xshell using XFTP to transfer filesDownload xftp software from www.netsarang.com websiteor, xftp:http://pan.baidu.com/s/1eSMSLN0 Password: 8os4Installing the XFTP software in the Windows7 system,Centos7 Turn off VSFTPD service #systemctl stop vsftpdcentos7 View Port #netstat-lntpIn the CENTOS7 system, press Ctrl+alt+f to eject the following File Transfer dialog box, and select the file to be dragged to the corresponding system to copy the transfer file.15.5 using PURE-FT
spaces (n is any number) move n characters like rightctrl+f or PageUp The screen moves forward one pagectrl+b or PageDown The screen moves backward one pagenumber 0 or shift+6 (^) move to the beginning of the bankshift+4 ($) move to the end of our lineGG move to First lineG or Shift+g move to Tail lineNG (n is any number) move to Nth rowAt the bottom right, you'll be prompted where the cursor is at the first line, the charactergame familiar with vim move cursor: https://vim-adventures.com/
10.32/10.33 rsync via service syncShut down the firewall, #systemctl stop FIREWALLDView iptables rules, #iptables-NVLTest whether the remote host 873 port is turned on, #telnet 192.168.133.130 873If rsync is changed to a different port, such as 8730, the command is #rsync-avlp--port 8730 192.168.133.130::test//tmp/test/10.34 Linux system logsLogrotate Cutting log files,Last view normal log in log;LASTB View login failure log;Security log/var/log/secure;10.35 Screen ToolVirtual Screen Screens-S c
Tags: Linux notesEight weeks two sessions (March 27)10.28 Rsync Tools Introduction10.29/10.30 rsync Common Options10.31 rsync sync via sshThe native a directory to B directory at a small time just added a file. Either find the file, or cover the B, and read and write a waste of time. You can synchronize the updated file with Rsync. A machine to B machine can also be synchronized.This machine rsyncA machine to B machine10.29 rsync Common Options--DELETE:A Machine 123 Synchronization B machine 123
Ping does not pass 192.168.100.1 and 192.168.100.100To view the gateway, run the following command.No gatewaysSet the gateway and run the following command.Can ping throughSet up DNS. 119.29.29.29 is a public DNS.Can ping the DNS, you can ping the outside network.Only 1 IPCannot ping pass.A machine equivalent to a router, B machine equivalent to a router phone, computer, can now be networked.10.18 iptables NAT Table ApplicationWindows cannot ping through 192.168.100.100Each operation needs to b
command. Clear the rules, save no use.Restart the service and load it back.Zeroing the calculatorI wrote a monitoring script and found that IP had a field that dropped the IP. Review the rules if the number of packets does not exceed 100. can be solved by sealing off. The number through the first column. Recalculate after 30 minutes.After the data came, said not to say, directly kicked off.After the data came, say, can't come in.The usage of-I. -I is inserted, metaphorically queued, inserted to
10.6 Monitoring IO PerformanceIostat and SAR belong to the same installation package; view disk usage;Iotop command, install #yum install-y iotop10.7 Free CommandFree to view memory usage10.8 PS CommandPS static view process status, top is the dynamic display process status;PS aux and ps-elf view process effect is similar;10.9 Viewing network status-l,listen monitoring;LNUTP, view only TCP and UDP;Established the number of concurrent connections, generally less than 1000, more than two thousand
Tags: Linux notesSeven weeks two sessions (March 20)10.6 Monitoring IO Performance10.7 Free Command10.8 PS Command10.9 Viewing network status10.10 Linux under Grab BagExtended TCP three-time handshake four times wave http://www.doc88.com/p-9913773324388.htmlTshark several usages: http://www.aminglinux.com/bbs/thread-995-1-1.htmlInstalling the package Sysstat will install the Iostat. And SAR are the same package.%util is the percentage of waiting IO. The hard disk can affect the performance of th
connect the MONGO from the library. (2) When deleting the MONGO table in hive, remove the jar package configuration in Hive-site.xml, and after disconnecting the Hive table from the MONGO, be careful! If you keep driving and drop directly, the table data in the MONGO will be drop. The most important thing is that your ops should do the right configuration of MongoDB in advance and give read-only permission to prevent misoperation. (3) in general, as long as the configuration is good, this plu
the data has been mistakenly deleted, the first thing to do is to unload the partition of the deleted data, if the data of the root partition is mistakenly deleted, you need to enter the system into single user mode, and the root partition is mounted in read-only mode. Since the file is deleted, only the sector pointer in the Inode node of the file is zeroed out, the actual file is also stored on disk, and if the disk continues to mount in read-write mode, the data blocks of these deleted file
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.