Using supervisor in Centos7
Top:pip install supervisor is recommended to install the latest version of supervisor. The highest version of yum install supervisor is 3.1.4. There are many bug s.
Name explanation
supervisor: The name of the software to be installed.Supervisord: After installing the supervisor software, supervisord is used to start the supervisor service.supe ...
Posted by R1der on Mon, 30 Sep 2019 20:47:29 -0700
linux limits the use of disk space by users or groups
Experimental environment
Environment: CentOS 7.3, a disk SDB is divided into a partition sdb1.
Install disk quota support software
yum install quota
Make a file system and mount it in a way that supports quota functions
mkfs.ext4 /dev/sdb1
mount /dev/sdb1 /tmp
mount -o remount,usrquota,grpquota /dev/sdb1
Check whether disk quota technology is ...
Posted by keefy on Mon, 30 Sep 2019 15:13:08 -0700
unit7, linux ssh secure connection, change ssh configuration file, see ssh login situation
#################sshd services two computers can login without password ssh, which is a safer way.
sshd connection:
Host Connect Virtual Machine
[kiosk@foundation71 ~]$ ssh root@172.25.254.100 -X
root@172.25.254.100's password:
Last login: Sun Aug 18 15:57:46 2019
[root@desktop ~]#
########## The f ...
Posted by tgh on Mon, 30 Sep 2019 12:55:48 -0700
Construction of LVS Load Balancing Cluster Based on NAT Model
Topology required for the experiment:
First, three machines shut down selinux and firewall.
[root@hostlocal ~]# systemctl stop firewalld
[root@hostlocal ~]# iptables -F
[root@hostlocal ~]# setenforce 0 // temporary, if permanently closed, modify / etc/sysconfig/selinux and change enforcing to disable ...
Posted by PlasmaDragon on Mon, 30 Sep 2019 02:37:55 -0700
SLES15SP1 AutoYast-PXE Technology
Since we've been working on several Ceph projects recently, basically 50 nodes, we often use PXE technology in our projects to automate system installation and improve efficiency. It might be said that PXE technology is too old to understand, but I think it's very useful, especially in project-based projects.So today's experiment is to deploy t ...
Posted by pabs1983 on Sat, 28 Sep 2019 06:57:58 -0700
Get superuser access - redhat 7.2
Get Super User Access Rights
Root user:
In RedHat 7.2, the root user privilege is higher than the general privilege on the file system. It is used in the management system. When performing tasks such as installing or deleting software and managing system files and directories, the privilege must be ...
Posted by plapeyre on Thu, 26 Sep 2019 04:10:40 -0700
Fully Distributed Cluster of Hadoop
Cluster environment:
centOs6.8: hadoop102,hadoop103,hadoop104
JDK version: jdk1.8.0_144
hadoop version: Hadoop 2.7.2
First, prepare three clients (hadoop 102, Hadoop 103, Hadoop 104), close the firewall, and modify them to static ip and ip address mapping.
Configuration cluster
Writing Cluster Distribution Scripts
Create a remote synchro ...
Posted by mcbeckel on Wed, 25 Sep 2019 04:17:21 -0700
Keepalived+Haproxy Build High Availability Web Cluster
Through blog posts: Haproxy service tuning and configuration detailsYou can already understand the role of Haproxy services;Through blog posts: Using Keepalived to Realize Hot Detailed Interpretation of Dual ComputerYou can already understand the role of Keepalived services.
Haproxy service is a tool to build cluster scheduling with good perfo ...
Posted by dkjariwala on Thu, 19 Sep 2019 06:24:19 -0700
mysql Setup Master-Slave Deployment Details
The function of master-slave replication:
Data distribution
Load Balancing (Read)
Backup
High Availability and Fault Switching
MySQL Upgrade Test
The way of master-slave replication:
Master-slave duplication
Mutual dominance and subordinate replication
Semi-synchronous replication
P ...
Posted by zero-one on Thu, 19 Sep 2019 02:00:04 -0700
MongoDB Lesson 2: MongoDB linux Environment Installation and User Configuration
1. Download mongodb
Go to the mongodb website to download the page: https://www.mongodb.com/download-center/community Download the corresponding version, such as the latest version of Linux x64 bit: mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz
...
Posted by kutchbhi on Wed, 18 Sep 2019 03:28:43 -0700