PXE+dhcp+tftp+http+kickstart batch network installation server
The pxe installation server written before forwarding: http://www.attacker.club/article/125
Service list
dhcp: Assign IP addresses, specify startup files and tftp service addresses
tftp-server: Transfer boot file
http: Publish the iso image of CD-ROM
pxelinux.0: The startup file of the system pxe is obtained by installing the syslinux packa ...
Posted by edcellgavin on Mon, 21 Jan 2019 18:57:12 -0800
Ansible's Role Playing: roles. Installation of LAMP environment using roles
roles in ansible
Roles can automatically load variable files, tasks and handlers according to hierarchical structure. Simply put, roles include variables, files, tasks, modules and processors in separate directories, and can be easily included. roles are generally used in host-based service building scenarios, but can also be used to build dae ...
Posted by unerd.co.uk on Sat, 19 Jan 2019 21:15:12 -0800
LInux Enterprise Training Chapter: Configuration of saltstack Management System and Simple Applications (rpm Installation http, php)
Introduction to saltstack
Saltstack is a C/S architecture configuration management tool based on Python. The bottom layer uses ZeroMQ message queue pub/sub mode to communicate, and uses SSL certificate issuance mode to manage authentication. Deployment is easy, it can run in a few minutes, scalability is good, it is easy to ...
Posted by AndyBG on Fri, 11 Jan 2019 23:12:11 -0800
pdiof command, killall command, uname command, uptime command, free command
pidof command
The pidof command is used to query the PID value of a specified service process in the form of "pidof [parameter] [service name].
The process number value (PID) of each process is unique, so different processes can be distinguished by PID. For example,
The following commands can be used to query the PID of t ...
Posted by palito on Thu, 10 Jan 2019 10:27:10 -0800
Install Mysql Galera Cluster - Install MySQL Galera Cluster Offline offline
Install Mysql Galera Cluster - Install MySQL Galera Cluster Offline offline
Install Mysql Galera Cluster - Install MySQL Galera Cluster Offline offline
0. preparation
1. Prepare the server
1.1. Disable mysqld SELinux
1.1.1. disable SELinux for mysql
1.1.2. Disable SELinux directly
1.2. Firewall settings
1.2.1 ...
Posted by fr@nkie on Wed, 09 Jan 2019 14:12:10 -0800
Start docker timeout problem "net/http: TLS handshake timeout"
Preface
Ao Tao is lucky to have the chance to try to learn K8S with a group recently. Xiaocai is a novice. He only knows that the logo of K8S is like a fishing net and a compass. Docker's logo is a whale carrying a container swimming in the sea. From Logo alone, there must be a great relationship between them. So I decided to ...
Posted by scoppc on Tue, 08 Jan 2019 13:09:11 -0800
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
Saltstack's api && httpapi
I. Saltstack's api
Salt-api has two ways, one is in the form of functions, there are well-defined functions, we can call directly, directly write python code to call functions or classes. The second form is that salt-api has an encapsulated http protocol. We need to start a server.
Installation:
yum install –y salt-api
1. Load ...
Posted by deft on Tue, 01 Jan 2019 18:42: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
Centos 7.3 realizes disk sharing based on iscsi+pacemaker+corosync+gfs2+clvmd
demand
One of our services needs to be able to access the stored data by mounting the data directory on the shared storage, so as to achieve high availability of multi-node clusters.
Previous blog posts pacemaker+drbd dual master We use drbd+gfs2 to implement it. Is there a simpler way?
This article will introduce iscsi+pace ...
Posted by SWI03 on Sat, 22 Dec 2018 04:27:06 -0800