MySQL Architecture Backup Dual Hot Standby
M-S Architecture: Achieving Dual Hot Standby (AB Replication)
1. Reducing master Reading Pressure
2. The database can be "hot-standby". Hot-standby can only solve the hardware and software faults of hardware master, but it can not solve the logic faults caused by human misoperation (such as deleting important records by incorrect in ...
Posted by xterra on Sun, 27 Jan 2019 00:27:15 -0800
Centos7 Builds Samba Server
1. Preparations
Close the firewall
Close selinux
systemctl stop firewalld.service
setenforce 0 && getenforce && \cp /etc/selinux/config{,.ori} && grep -q "SELINUX=disabled" /etc/selinux/config || sed -i 's%SELINUX=enforcing%SELINUX=disabled%g' /etc/selinux/config
2.Yum installs Samba packages ...
Posted by stockdalep on Sun, 27 Jan 2019 00:03:16 -0800
Introduction to Pandas (4)
Article directory
Common functions of Pandas
Pandas grouping
Break data into groups
View grouping
Iterative traversal grouping
Select a group
polymerization
Use multiple aggregation functions at a time
filter
Pandas Merge/Connect
Merge two DataFrame s on one key
Merge two DataFrame s on multiple keys
how parameter
3. Pan ...
Posted by Kevmaster on Fri, 25 Jan 2019 15:06:19 -0800
linux basic learning [9]
Software management
1. yum: The most important function of the upper software management tool is to solve software dependency.
The prerequisite for yum to be operational is that it must have a yum source and configure the source-to-file
1. Getting ISO Mirror Files Matching the System
rhel-server-7.0-x86_64-dvd.iso
2. Mount the mirror file i ...
Posted by coellen on Fri, 25 Jan 2019 13:54:14 -0800
linux basic learning [8]
Virtual Machine Management
I. Installing Virtual Machines with Local Mirrors
1. Graphic Interface Installation
virt-manager ##Open Virtual Machine Manager
File - > New Virtual Machine, select the local image
Select the size of the immediate storage space and CPU
Select allocated sto ...
Posted by ahmad03 on Fri, 25 Jan 2019 10:42:14 -0800
Create efficient ubuntu
virtualbox
Installation of virtual machine under windows brings infinite convenience for learning ubuntu, and saves computer money at the same time uuuuuuuuuuu
ubuntu
Ubununtu is installed in the virtual machine. There are many teaching materials on the internet.
Note: Storage space can not be the default 10G, it is easy to ...
Posted by Floetic on Thu, 24 Jan 2019 01:21:15 -0800
LAMP Configuration Anti-theft Chain Access Control Directory FilesMatch prohibits PHP from parsing PHP-related configuration PHP extension module installation
1. Configuration of anti-theft chain
To prevent people from using the function of file upload, put some static media resources on our website, and then set up the links of these resources on their website to our website. When users of their website visit these resources, they will jump to our server, resulting in an abnormal in ...
Posted by Dark[NSF] on Sat, 12 Jan 2019 18:27:11 -0800
Make vim a code reader (for mac and ubuntu)
Tools needed:
NERDTree
Cscope
ctags
vundle
homebrew(for mac)
Catalog:
Introduction to Software
NERDTree
Cscope
ctags
vundle
homebrew
mac installation
ubuntu installation
Introduction to Software
NERDTree
NERDTree is a vim plug-in that displays tree directories:
Enter the tree interface of ...
Posted by alapimba on Sun, 06 Jan 2019 15:39:09 -0800
LAMP architecture (access control restriction PHP parsing, user_agent restriction, php-related configuration)
Access control restriction php parsing
Some files uploaded by users may be abnormally placed in the runnable files, so what we need to do is set up in advance to prohibit the parsing of executable php or other files in these directories, so as to avoid loss.
Editing Virtual Machine Profile
vim /usr/local/apache2.4/conf/extra/httpd-vhosts.c ...
Posted by karnegyhall on Sat, 05 Jan 2019 09:21:09 -0800
Ubuntu-16.04 deploys OpenStack Ocata< Lower >
Configuration of Dashboard dashboard service (Controller Node)1. Configure Dashboard# apt -y install openstack-dashboard
# vim /etc/openstack-dashboard/local_settings.py
OPENSTACK_HOST = "192.168.30.145" & ...
Posted by kenle on Fri, 04 Jan 2019 23:33:09 -0800