CentOS 7 installs LNMP (nginx 1.14.2, MariaDB 10.3.13, php7.3.3)

Preface System environment [root@lnmp mysql]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@lnmp mysql]# uname -r 3.10.0-514.el7.x86_64 Official Download Address mariadb database php ngixn Install MariaDB 10.3.13 1. Download mariadb binary packageBecause the compilation time of source packages is too long, the binary pa ...

Posted by asuamol on Sat, 09 Mar 2019 22:12:25 -0800

lua module demo (redis, http, mysql, cjson, local cache)

1. lua module demo (redis, http, mysql, cjson, local cache) 1.1. configuration Set lua_shared_dict my_cache 128m in nginx.conf; open nginx local cache and put it in http {} layer location configuration location /redis-get{ resolver 8.8.8.8; default_type text/html; content_by_lua_file /usr/local/openresty/lua/redis-get.lua; } Her ...

Posted by webosb on Fri, 08 Mar 2019 00:48:25 -0800

Dockerfile Building PHP Development Mirror: Alpine+Nginx+PHP7+Supervisor+Crontab+Laravel

Configuration directory structure 1.1 crontabs # do daily/weekly/monthly maintenance # min hour day month weekday command # * * * * * /usr/bin/php /usr/share/nginx/html/artisan schedule:run >> /dev/null 2>&1 Tips: In general, the production environment is load balancing. Timing t ...

Posted by sammon96 on Wed, 06 Mar 2019 17:21:23 -0800

The Use of java B2B2C Imitating Taobao Electronic Mall System-Zuul

Introduction of ZuulZuul is a load balancer based on JVM routing and server, which provides dynamic routing, monitoring, resilience, security and other edge services on cloud platform. Source of articles Javaa B2B2C Imitating Taobao Electronic Mall SystemRouting function: equivalent to the reverse proxy function of nginx.For example: / You may ...

Posted by timon on Wed, 13 Feb 2019 16:54:18 -0800

directory index of "/usr/share/nginx/html/" is forbidden

After installing nginx, access the local ip, and the result will be reported directly. Then go to the nginx error log and see the following error message, which means that there is no error under html. directory index of "/usr/share/nginx/html/" is forbidden 1. If there is no index.php,index.html under / usr/share/nginx/html, the domain na ...

Posted by renzaho on Tue, 12 Feb 2019 20:12:18 -0800

Nginx configures Google fonts reverse proxy to turn on HTTP2/SSL support

Because of the use of Google fonts PT Serif fonts for blog themes, only Google fonts fonts fonts fonts can be used in China through the proxy of CUHK. Recently, however, it has been found that its speed is unstable and its response time sometimes exceeds 600 ms. Just because I have it. VPS of vultr (with small tail) I set up one for myself. The ...

Posted by lhaynes on Mon, 11 Feb 2019 09:45:17 -0800

[docker] single physical machine-multiple physical machines Centralized-Monitoring [ansible-cmdb/netdata/Serverstatus]

netdata-monitoring single vm It is suitable for resource monitoring of single physical machine. github docker run -d --cap-add SYS_PTRACE \ -v /proc:/host/proc:ro \ -v /sys:/host/sys:ro \ -p 19999:19999 titpetric/netdata Serverstatus - Monitor multiple VMS (cs mode - psutil) Disadvantage: Both the serv ...

Posted by dhruvasagar on Sat, 09 Feb 2019 21:27:18 -0800

Technical article | nginx lua small project: displaying different pages according to user_agent incidental and php performance comparison

This article is from the Aliyun-Yunqi community, click on the original article Here. How to learn a new language quickly? If you have mastered a language, all other languages are well thought out. A small need, may encounter many problems, but search for relevant keywords, can quickly achieve a small goal, twice the result with half th ...

Posted by pl_towers on Sat, 09 Feb 2019 09:57:17 -0800

linux redisk: linux+keepalived+lvs+tomcat dual-port load balancing scheme

Let's first feel the keepalived configuration file without reverse proxy if services are provided separately: (ps configuration is not panicky) vim /etc/keepalived/keepalived.conf vrrp_instance VI_1 { state BACKUP interface ens192 virtual_router_id 51 priority 100 advert_int 1 authentication { auth_type PASS ...

Posted by kulikedat on Fri, 08 Feb 2019 06:27:17 -0800

Use Docker to build development environment, including (nginx, redis, mysql, gitlab, nexus 3, activemq, jenkins)

Using Docker to Build Development Environment Since playing Docker, I have been deeply fascinated by Docker and have been working on software for so many years. I never expected that software would develop to this stage. Using container isolation technology to isolate various service processes, I am glad to have access to this ...

Posted by Sonu Kapoor on Wed, 06 Feb 2019 22:33:16 -0800