Notes on cluster construction
Catalog
Integrated architecture
Host planning ip
Basic optimization
m01 build yum warehouse
Backup Rsync network wide backup
nfs shared storage project
Real time replication of NFS shared storage data to backup
SSH, Ansible, batch management service project
MySQL database environment construction
The construction of Nginx+PHP popular dynamic W ...
Posted by ben_johnson1991 on Fri, 20 Dec 2019 08:04:42 -0800
Docker Series 2: Docker Installation Configuration and Basic Use
1. Introduction to Basic Environment
1. Introduction of basic software and hardware environment
64-bit CPU required
linux Kernel Version 3.10 and above
Kernel supports cggroups and namespace
System version is CentOS7.4 [centos6 is also available but unstable]
Docker version 18.06
K8S version 1.16 [k8s version must be compatible with docker ve ...
Posted by rupturedtoad on Thu, 19 Dec 2019 18:20:55 -0800
Docker implements data persistence
Due to the explosion of Docker technology, companies of all sizes are now using Docker.Friends who are familiar with Docker know that DOcker containers run for a lifetime and that if a docker container fails, it means that the data in the container will also be lost.So data is important for the enterprise!How to persist data in docker containe ...
Posted by Ameslee on Thu, 19 Dec 2019 14:53:30 -0800
LNMP memcached front end data cache and session session retention
Article directory
1, memcached front end data cache
1. Test the lnmp environment.
2. Download and install memcache
3. Modify php.ini configuration file
4. Restart nginx and php
5. Write php connection memcached test
2, memcached for web session retention
1. Modify the configuration file (all web environments)
2. restart
...
Posted by mostwantedunm on Thu, 19 Dec 2019 13:51:19 -0800
Resolve NFS single point of failure
yum install -y keepalived
Profile on nfs01
[root@nfs01 ~]# cat /etc/keepalived/keepalived.conf
! Configuration File for keepalived
global_defs {
router_id nfs01
}
vrrp_script check_data {
script "/server/scripts/data.sh"
interval 2
weight 60
}
vrrp_instance oldboy {
state MASTER
interface e ...
Posted by NewPHP_Coder on Wed, 18 Dec 2019 11:26:17 -0800
Docker data persistence
I. Introduction
When we use Docker to create a mysql container, the data is stored in the containerIf you accidentally execute docker rm $(docker ps -aq) to delete all container s one day, the data in mysql will also be deleted, which is not safeWe need to persist the data and store it outside the container. Even deleting the container will no ...
Posted by ryanh_106 on Wed, 18 Dec 2019 08:16:59 -0800
Command that operation and maintenance must master -- Systemd instruction
I. origin
Historically, Linux startup Always used init Process.
The following command is used to start the service.
$ sudo /etc/init.d/apache2 start
# perhaps
$ service apache2 start
This method has two disadvantages.
First, it takes a long time to start. init process is started serially. The next process will be started only afte ...
Posted by mwkdesign on Wed, 18 Dec 2019 02:23:27 -0800
LNMP environment building (PHP7.2.25)
catalog
preparation
Install wget
Install net tools
Install vim
Configure display line number
Turn off firewall
Install Nginx
Installation dependency
Compile and install Nginx
Configure environment variables
Systemd management
Instal ...
Posted by cheekychop on Wed, 18 Dec 2019 00:06:50 -0800
Preliminary Practice of Using helm-v3, a Native Microservice Management Tool for k8s
Helm-v3 Application Package Manager
3.1 Why do I need Helm?The application objects on K8S consist of specific resource descriptions, including deployment, service, and so on.Save each file or write it together to a configuration file.Then deploy kubectl apply-f.
Why use helm?In k8s, when we deploy applications, we usually use yaml files to man ...
Posted by jeev on Tue, 17 Dec 2019 12:26:57 -0800
Docker+Jenkins build a multi version php environment
In recent days, we have just set up a small project server, which uses the combination of docker + (jenkins, nginx, PHP FPM, mysql, redis). Let's summarize today.
Docker has been out for a long time. Even the k8s high-end gadget is very "popular". To be honest, this is the first time I use docker in a production environment.
Using d ...
Posted by satyricon on Mon, 16 Dec 2019 23:01:24 -0800