1. Overview of MHA
At present, MHA is a relatively mature solution in mysql high availability. It is developed by Japanese DeNA company youshimaton (now working in Facebook company), and it is an excellent high availability software for failover and master-slave improvement in mysql high availability environment. In the process of mysql failov ...
Posted by dbakker on Sun, 22 Mar 2020 16:49:22 +0100
Adding modules to the kernel
Add drivers to the linux source directory, typically inside / Drivers
Add the project compilation option corresponding to the driver in the Kconfig file where the directory is located
Add compilation statements for new drivers to the Makefile file file ...
Posted by jonnyw6969 on Mon, 16 Mar 2020 02:26:13 +0100
Install EPICS in CentOS 6 [detailed operation]
1, Install EPICS Base
1. Installation tools
2. Install Base
2, Create IOC
1. Create startup file
2. Start IOC
4, Install Extensions
1. Download the installation package
2. Environment settings
3. Install software tools
4. Installation ...
Posted by skyxmen on Thu, 06 Feb 2020 08:38:56 +0100
There is a log library for developers to use in boost, but the efficiency is not the highest:
Add the header file "include < boost / log / trial. HPP > to import the log Library
The log Library in boost has the following six levels:
BOOST_LOG_TRIVIAL(trace) << "A trace severity message" ...
Posted by phpyoungdeveloper on Mon, 27 Jan 2020 15:23:30 +0100
Using the tree command under linux can easily view the file tree structure under the specified directory, but some systems do not install the command, so you need to install it manually. Take the installation of Ubuntu as an example, and other linux systems are similar.
To install under ubuntu:
With the net ...
Posted by bedted on Tue, 31 Dec 2019 06:39:21 +0100
The main contents of this chapter are as follows:
Python Keyword - cdef
Typedef and function pointer
C / C + + log to Python
C / C + + calls Python ConfigParser
Python to C / C + + callback
Integration with build systems
Embedding python in C/C + +
Posted by _rhod on Sat, 28 Dec 2019 16:21:24 +0100
It is really too pit, really want to Tucao about this operation system practice, each time is compile the kernel. The textbook was written in 2009, all the code before kernel 3.3.
I record the system call experiment, hope you can avoid stepping on the pit.
Method 1: kernel compilation
Here I give you a link. This blog is wel ...
Posted by derrick1123 on Sat, 30 Nov 2019 12:19:12 +0100
I. Driver Module Transfer Parameters
1. Pass a single parameter
(1) Location: in include/linux/moduleparam.h under the source directory
(2) Function prototype
* module_param - typesafe helper for a module/cmdline parameter
* @value: the variable to alter, and exposed parameter name.
* @type: th ...
Posted by trevorturtle on Wed, 02 Oct 2019 13:55:16 +0200
1. Create a per-cpu variable, initialize and modify it
2.per-cpu variable is a synchronization mechanism in Linux kernel. When all CPUs in the system access and share a variable V, CPU0 modifies the value of variable V.
CPU1 also modif ...
Posted by PhpMachine on Mon, 02 Sep 2019 08:23:18 +0200
linux Kernel Learning 10 - Start with the first kernel module
// The kernel module initialization function can load a kernel module through the insmod comman ...
Posted by iFlex on Sat, 31 Aug 2019 14:37:37 +0200