GlusterFS for Kubernetes persistent storage
GlusterFS is an open-source distributed file with strong horizontal expansion ability. It can support several petabytes of storage capacity and thousands of clients. It is interconnected into a parallel network file system through the network. It has the characteristics of expansibility, high performance and high availability.
Premise: you mu ...
Posted by raje on Mon, 09 Dec 2019 11:17:00 -0800
Build the host Nginx + Docker WordPress Mysql
Environmental Science
Linux 3.10.0-693.el7.x86_64
Docker version 18.09.0
docker-compose version 1.17.0
install
Required dependencies for installing docker
$ sudo yum install -y yum-utils device-mapper-persistent-data lvm2
Install docker CE
$ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
$ s ...
Posted by thenewguy on Mon, 09 Dec 2019 06:21:46 -0800
002-docker Network Setup and Data Management
Docker Network Settings
Docker creates a bridged network card [docker 0]. docker has two mappings, one is random mapping and the other is specified mapping
Production scenarios generally do not use random mapping
The advantage of random mapping is that ports are allocated by docker and do not conflict
Install nginx specified port
docker pull ...
Posted by MickeyAsh on Sun, 08 Dec 2019 18:26:50 -0800
Nginx+Tomcat load balancing cluster + reverse agent
Experimental environment
Nginx server (192.168.13.177)
Tomcat1 server (192.168.13.151)
Tomcat2 server (192.168.13.178)
client tester
I. load balancing
1. Install Tomcat service on Tomcat1 and Tomcat2
[root@tomcat1 ~]# systemctl stop firewalld.service ##Turn off firewall
[root@tomcat1 ~]# mkdir /abc
[root@tomcat1 ~]# mount.cifs //192.168.100.3 ...
Posted by lily on Sun, 08 Dec 2019 15:05:40 -0800
dockerfile making image
The process of making nginx image is divided into three steps1. Make dockerfile file2. Make nginx installation script of nginx.sh3. Make ngx-depolyment.yaml file
Here are the details
#mkdir /root/dockerfile
#cd /root/dockerfile
#touch Dockerfile
#mkdir nginx
//Making a dockerfile file
root@<cc_172.16.0.2|~/dockerfile/nginx>:#cat Docker ...
Posted by leon_nerd on Sun, 08 Dec 2019 11:32:00 -0800
Configure lnmp environment using yum (CentOS7.6)
I. details of installation version
Server: MariaDB
Server version: 5.5.60-MariaDB MariaDB Server
[root@ln-125 ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@ln-125 ~]# nginx -v
nginx version: nginx/1.14.2
[root@ln-125 ~]# php-fpm -v
PHP 5.4.16 (fpm-fcgi) (built: Oct 30 2018 19:32:20)
Copyright (c) 1997-2013 The PHP Group ...
Posted by ozzythaman on Sun, 08 Dec 2019 01:58:32 -0800
LNMP deployment instance and HTTPS service implementation
LNMP deployment instance and HTTPS service implementation
What is LNMP: Linux + nginx + MySQL + (PHP FPM, PHP MySQL)
The web service architecture of Nginx+Mysql+Php on the Linux operating system.
MySQL in CentOS 6, Mariadb in CentOS 7
What's the function: it provides web services and can parse applications of PHP classes;
Next, I will dep ...
Posted by jason102178 on Sat, 07 Dec 2019 21:27:47 -0800
Bold prediction: docker app will be an alternative to docker compose
Docker 19.03 introduces an experimental feature: app, which is an instruction of docker, such as image, run, exec, swarm
Official documents: https://docs.docker.com/engine/reference/commandline/app/
Docker app arranges the docker container as a bundle, named application application. You want to package a set of docker containers as an applicati ...
Posted by harinath on Sat, 07 Dec 2019 15:06:18 -0800
lua getting started demo (read by HelloWorld+redis)
1. lua introduction demo
1.1. Hello World!!
Because I am used to using docker to install various software, this lua script also runs on the docker container
Openresty is a variety of modules of nginx+lua, so you can install openresty directly in docker
Modify the nginx.conf configuration file, and add
lua_package_path "/usr/local/openresty/lu ...
Posted by HHawk on Sat, 07 Dec 2019 14:38:08 -0800
LSP merchant API
Your domain: lsp-api-merchant.hhs2717.cn
Virtualhost conf: /usr/local/nginx/conf/vhost/lsp-api-merchant.hhs2717.cn.conf
Directory of: /data/wwwroot/lsp-api-merchant.hhs2717.cn
Rewrite rule: /usr/local/nginx/conf/rewrite/laravel.conf
Self-signed SSL Certificate: /usr/local/nginx/conf/ ...
Posted by spoons84 on Sat, 07 Dec 2019 06:12:50 -0800