Testing system: centos7
Modify the connection port
Modify configuration files
Remove port 22 comments and add a new port configuration port your_port_num
Custom port selection is recommended for 10,000-bit ports (e.g. between 10,000 and 65,535)
Do not delete port 22 directly to avoid forgetting that the new SSH por ...
Posted on Fri, 21 Dec 2018 10:24:05 -0800 by minds_gifts
ABSTRACT: Failure of multipath devices is caused by sector damage. The phenomenon is as follows: dmesg: device-mapper: multipath: Failing path 8:128. qla2xxx 0000:07:00.
Failure of multipath devices due to sector damage.
The phenomena are as follows:
# dmesg : device-mapper: multipath: Failing path 8: ...
Posted on Thu, 20 Dec 2018 01:27:05 -0800 by Sekka
Build android Development Environment under ubuntu (4) Install android Studio, sdk and jdk (by Star Wuhan)
<div class="article_manage clearfix">
<span class="link_postdate">2016-08-15 23:49</span&g ...
Posted on Wed, 19 Dec 2018 16:06:05 -0800 by pluginbaby
Access Control - Prohibit php parsing.
note prohibits parsing PHP under a directory, which is very useful. When we do website security, this is used a lot. For example, some directories can upload files. In order to avoid the Trojan horse of uploaded files, we prohibit access under this directory to parse PHP.
1. Disable parsing PHP first
Posted on Wed, 19 Dec 2018 03:57:04 -0800 by mohson
(1) Detailed description of CV_8UC1,CV_8UC2 and other parameters when Mat matrix (image container) is created
1--Mat is not only a very useful image container class, but also a general matrix class.
2 -- There are many ways to create a Mat object. Let's first look at the source code of Mat Matrix/Image Container class in OpenCv:
Posted on Mon, 17 Dec 2018 03:18:04 -0800 by sstoveld
Recently, using Ubuntu 18.04 LTS desktop version, we downloaded chromium through foreign proxy, which hit many walls. Here we say that one of the cipd update failure errors, home using windows download also recurs:
C:\myGit\depot_tools>.cipd_client.exe selfupdate -version git_revision:521b9b64770d3b43a221b1e2bd277687616adac ...
Posted on Sun, 16 Dec 2018 15:12:03 -0800 by InO
i2c bus is a very common board-level bus. Taking Linux 3.14.0 as a reference, this paper discusses the i2c driver model in Linux and uses this model to write a driver of mpu6050. Finally, the original data in mpu6050 is read out in the application layer.
i2c subsystem framework
The following figure is the schematic diagram of i2c driver framewo ...
Posted on Sat, 15 Dec 2018 14:00:04 -0800 by Jem
In the linux operating system, every user in the / etc/passwd file has a corresponding record line, which records the basic attributes of the user. This file is readable to all users.
And the / etc/shadow file, like his name, is a shadow of the passwd file. The record line in the / etc/shadow file corresponds to one of the / e ...
Posted on Thu, 13 Dec 2018 01:36:06 -0800 by MrPen
Introduction - the origin of the problem
When learning network programming, we often hear a word, first turn on "port multiplexing SO_REUSEADDR". At that time, we knew little about it.
You know it should be written like that. It's always strange in my heart that the semantics are not clear. Why do you translate it like this? As I li ...
Posted on Thu, 13 Dec 2018 01:18:07 -0800 by Nightslyr
The process creation functions fork(),v_fork(), and u clone() library functions call do_fork() according to their respective parameter flags.
First look at the source code composition of linux-2.6.11:
There are 289 macro definitions.
There are eight system calls _syscalln(), where n ranges from 0 to 6. For each macro, there are 2+ ...
Posted on Thu, 13 Dec 2018 01:15:07 -0800 by metrostars