Simple setup of master-slave MySQL
192.168.190.128 "====" 192.168.190.129Master ---- slaveSlave ---- master1. Configure the my. cnf file on the master 128 and add the following parameters:Server-id = 1Log-bin = mysql-binLog-salve-updatesSync_binlog = 1Auto_increment_increment = 2Auto_increment_offset = 1Restart mysql[Root @ calvin1 ~] #/Etc/init. d/mysqld startStarting MySQL: [OK][Root @ calvin1 ~] # Mysql-u root-p123456Welcome to the MySQL monitor. C
I. Introduction
Network Time Protocol (NTP) is used to synchronize time between the distributed time server and the client. NTP is transmitted Based on UTP packets. The UDP port used is 123.
NTP is used to synchronize the clock of all devices in the network, so that all devices in the network are consistent with the clock, so that the devices can provide a variety of unified applications.
If a time error occurs, the server will be down. Therefore, t
Linux Time synchronization Server SetupNTP(Network Time Protocol) is used to make the computerTime Synchronizationudp protocol 123 The port provides services externally, it can make the computer to its server or clock source (such as quartz clock, gps and so on to do time synchronization, it can provide high accuracy time correction (lan is less than the standard difference between 1 milliseconds, wan on dozens of milliseconds), and can be ref
Linux system setup and basic Operation ? Use the Preferences settings and system management tools in the GNOME desktop suite to perform the following tasks A. set a static IP address for the first NIC and be able to communicate with other hosts in the same network segment Steps: 1. Click "System" → "Manage" → "network" To open the "Network Configuration" window. : 650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px;
'#'[aliases] [groups] Project_w=Yangyun Project_r=Test [/] Project_w=RW Project_r=R4, start the SVN service [[Email protected]]# svnserve-d-r/data/SVN5, initialize SVN data [[Email protected]]# svn import MySitefile:///data/svn/project/-M ' initial import 'will copy the directory MySite to the repository under Project [[Email protected]]# svn listfile:///Data/svn/projectmanage.py MySite/Static/Templates/WEB02/after the import, the original directory tree did not convert to a working copy, in ord
Pages are enabled (click to allow. In addition, the configuration of asp. net2.0, php, and cgi is not described here.
Figure 2
2. Implement WAP applications
WAP is a Wireless Application Protocol. This is also an open global standard that allows users of mobile phones and other wireless terminals to quickly and securely obtain information on the Internet and enterprise intranets and other communication services. The configuration path is in the "MIME type" of the last HTTP Content box in the w
service is released, and NTP uses UDP 123 port for communication. [Email protected] ~]# firewall-cmd--add-service=ntp--permanentSuccess[Email protected] ~]# Firewall-cmd--reloadSuccess[3] Verify the working status .[Email protected] ~]# CHRONYC sourcesSources = 1MS NAME/IP address stratum Poll Reach Lastrx Last sample===============================================================================^? 210.23.25.77 2 7 98-107ms[ -107ms] +/-193ms3.NTP Clie
specifically implemented, you cannot create objects with abstract classes.Here are a few things to note: In the 11 Select 5 Platform set up 32,663,975,971 book, the abstract class is defined as "the class containing the abstract method", but later found that if a class does not contain abstract methods, but only with the abstraction of the same abstract class. That is, abstract classes do not necessarily have to contain abstract methods. Personally think this belongs to the problem of the dead,
executing netdate-d from the client is as follows:Transmit (192.168.30.22)Transmit (192.168.30.22)Transmit (192.168.30.22)Transmit (192.168.30.22)Transmit (192.168.30.22)192.168.30.22:server Dropped:no DataServer 192.168.30.22, Port 123.....Jul 17:42:24 ntpdate[14148]: No server suitable for synchronization foundThis problem can occur because:Check the version of NTP, if you are using ntp4.2 (including 4.2) after the version, in the definition of res
NTP Service setup under Linux(CentOS)1. installationCentOS NTP service. If you are unsure whether you have installed ntp The package can be ordered rpm – QA|GREPNBSP;NTPNBSP; check it out. If not installed, you can use the command YUMNBSP;INSTALLNBSP;NTP Install, you can also from centos Installation disk installation (build simple yum source, Install disc image as source). [[email protected] ~]# Rpm-qa |grep NTPNtp-4.2.6p5-1.el6.c
Label:MySQL Setup does not connect after remote loginReference: http://www.jb51.net/article/33813.htmHttp://www.jb51.net/article/58096.htmBy default, MySQL only allows log on locally, and if you want to turn on remote connections, you need to modify the/etc/my.cnf file
sudo vim/etc/mysql/my.cnfComment This line: bind-address=127.0.0.1Save exit.Mysql-u root-pTo grant permissions to users who require remote logins:The code is as follows: Mysql>use MyS
First, the download and installation of PythonPython can be applied to multiple platforms including Linux and Mac OS X, and you can enter the "python" command from the terminal window to see if the Python and Python installation versions are installed locally, and Python can also be ported to Java and. NET virtual machines.The operating systems supported by Python are as follows:Unix (Solaris, Linux, FreeBSD, AIX, Hp/ux, SunOS, IRIX, etc.). ) Win 9x/n
Mysql high-availability architecture MHA setup and test failover
MHA project website
Https://code.google.com/p/mysql-master-ha/
1. environment introduction
1. host deployment
Manager: 10.10.54.154Master: 10.10.54.156Server load balancer 1: 10.10.54.155 (backup master)
Server load balancer: 10.10.54.157
2. general stepsA. First, use ssh-keygen to achieve mutual key-free login between the four hostsB. install MHAmha4mysql-node, mha4mysql-manager softwa
:* Fs_base: The module can only operate BDB version libraries.* Fs_fs: This module works with the text file (FSFS) version Library.Cyrus SASL authentication is available.Code Library creationAfter installing the SVN software, you need to create a SVN Library.[[Email protected] modules] # mkdir-p/opt/svn/repo[[Email protected] modules] # svnadmin create/opt/svn/repoAfter executing the preceding command, the repo test Library is automatically created. Check the/opt/svn/repo folder and find files i
Simple setup of Varnish in Red Hat Linux 7
Host environment rhel6 selinux and iptables disabledLab host 172.25.254.2 varnish172.25.254.3 apache172.25.254.4 apacheFirst obtain the two packagesVarnish-3.0.5-1.el6.x86_64.rpm varnish-libs-3.0.5-1.el6.x86_64.rpmInstallYum install varnish-*-y### Configure a backend serverVim/etc/varnish/default. vclBackend xp1 {
. Host = "172.25.254.3 ";
. Port = "80 ";
}
3 is the backend. Create a homepage for testing.
###
= passwd, authz-db = Authz four items . SVN Server Basic ConfigurationAnon-access = read indicates that anonymous access is read-only and anon-access = none does not allow anonymous access. Allow anonymous access cannot view timeline, so I generally do not allow anonymous access.2.2 Add user name passwordOpen the passwd file with text and add the user name and password you want to add under [users] in the format username = password specific configurationUser information configuration (user nam
Windows platform:Select User () to view the current login usernamemysql-uroot-p123 switch to root account loginMysqladmin-uroot-p password "123" to modify the root account passwordMysqld--install MySQL into a system serviceMysqld--remove removal from system serviceNET Start/stop MySQL shutdown or turn on MySQL serviceMYSQLD--skip-grant-tables Skip Authorization table binding MySQL ServiceUpdate Mysql.user Set Password=password ("111") where user= "roo
Download Zip, configure1, System variable added: ... \mysql-5.7.10-winx64, environment variable added:%mysql_home%\bin2, modify Mysql.iniBasedir= (same system variable path)Datadir= (System variable path \data)Port = 33063,cmd:%mysql_home%\bin\mysqld--initialize--user=mysql--consoleA randomly generated initial password appears at the end of the console message and is noted4,%mysql_home%\bin\mysqld--install MYSQLnet start MySQL5,Mysql-u root-pEnter the random password that you just recorded after
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.