Configuring DRBD to Build HA NFS Cluster under Centos7

Operating environment Centos 7 DRBDADM_API_VERSION=2DRBD_KERNEL_VERSION=9.0.14DRBDADM_VERSION_CODE=0x090301 DRBDADM_VERSION=9.3.1 Corosync Cluster Engine, version '2.4.3' Pacemaker 1.1.18-11.el7_5.3 crm 3.0.0 Network Topology Installation configuration steps Install DRBD/Corosync/Pacemaker/Crmsh Reference for installation and ...

Posted by acroporas on Wed, 02 Jan 2019 23:54:08 -0800

VirtualBox CentOS 7+Django+uwsgi+nginx

Django Architecture CentOS 7 system is compatible with Python 2 and Python 3. This project is based on Python 3 environment. Install Django CentOS 7 System Installation django pip3 install django Create the Django project dataPlatform under Windows and add the following code to set.py: #In the MIDDLEWARE_CLASSES ...

Posted by jesus_hairdo on Mon, 31 Dec 2018 15:36:09 -0800

Understanding and configuring Out of memory: Kill process

Change from: Love is open source Understanding OOM killer Recently, one VPS customer complained about MySQL hanging up for no reason, and another complained that VPS often crashed. It is a common Out of Memory problem to log on to the terminal and look at it. This is usually due to the lack of system memory caused by a large number of memory ...

Posted by bhavin12300 on Sun, 23 Dec 2018 11:33:05 -0800

HBase Day1 (Introduction to HBase, Environment Building, HBase shell command)

Why use HBase? Hbase is called Hadoop database. The design idea comes from the paper of bigtable (based on NoSQL database on GFS). HDFS supports the storage of massive data, does not support data modification (record level) and does not support immediate access to massive data. Generally, if you want to random read and write la ...

Posted by kanth1 on Fri, 21 Dec 2018 13:36:05 -0800

PXE+DHCP+TFTP+Cobbler Unmanned Installation centos 7

Cobbler (cobbler) is to create a central management node by integrating DHCP, TFTP, DNS, HTTP and other services. Its functions include configuration services, creation of repositories, decompression of operating system media, proxy or integration of a configuration management system, and control of power management. The ultimate goal of Cobble ...

Posted by shergar1983 on Tue, 18 Dec 2018 20:45:05 -0800

CentOS 7 Installs Fail2ban+Firewall to Prevent SSH Blasting and C C Attack

Explanation: Almost many bloggers will encounter the situation of being attacked by CC and exploded by SSH. At this time, we need to take defensive measures. A few days ago, we sent a script to prevent CC. https://www.moerats.com/archives/484/ However, for CentOS 7, because of the firewall factors, it is still a bit troublesome ...

Posted by RCS on Tue, 18 Dec 2018 16:54:04 -0800

RHEL/CentOS/Fedora Various Sources (EPEL, Remi, RPMForge, RPMFusion) Configuration

CSDN GitHub RHEL/CentOS/Fedora Various Sources (EPEL, Remi, RPMForge, RPMFusion) Configuration AderXCoding/system/tools/yum This work adopts Knowledge Sharing Signature - Noncommercial Use - Sharing 4.0 International Licensing Agreement in the Same Way For permission and reprint, please indicate the source. Thank you for your coo ...

Posted by twopeak on Tue, 18 Dec 2018 15:33:04 -0800

CentOS configures local yum source/Aliyum source/163 yuan source and configures the priority of yum source

https://blog.csdn.net/kangvcar/article/details/73477730 1. Building Local yum Source with Centos Mirror Since the default Yum source after installing CentOS is the official address of centos, it is used slowly or even inaccessible in China, so the general practice is to replace the default Yum source with the yum sour ...

Posted by luxe on Tue, 18 Dec 2018 13:57:04 -0800

Connecting Redis with C Language Client (hiredis) -- Huawei Cloud DCS for Redis Experience Series

Key word: hiredis, cRedis, redis clients, redis client, C client, Huawei Cloud Distributed Caching Service Hiredis is a very comprehensive C language version of redis interface library, supporting all commands, pipes and scripts. Huawei cloud distributed caching service Redis version supports hiredis client connection. To conne ...

Posted by qaladien on Fri, 14 Dec 2018 23:48:04 -0800

CentOS 7 Bird Private Cabbage/etc/init.d/* and service Command Alternative Method: System CTL

When I was learning Linux, I read from Uncle Bird's book, / etc/init.d/ there are many related services in the directory, but when I go to my init.d directory, there are only a few poor files... # ll /etc/init.d/ total 92 -rw-r--r--. 1 root root 15131 Sep 12 2016 functions -rwxr-xr-x. 1 root root 2989 Sep 12 2016 netconsole -rwxr-xr-x. 1 r ...

Posted by kansaschuck on Fri, 14 Dec 2018 08:36:03 -0800