[CentOS 7LAMP Architecture 7], Apache user authentication#

shallow A kind of ove User authentication of httpd vi /usr/local/apache2.4/conf/extra/httpd-vhosts.conf <VirtualHost *:80> DocumentRoot "/data/wwwroot/www.123.com ServerName www.123.com < directory / data / wwwroot / www.123. Com > ා specify the directory for authentication AllowOverride AuthConfig? This is equivalent to turni ...

Posted on Sat, 02 Nov 2019 14:09:57 -0400 by sifix

Simple performance test of snaic and tornado

Operating system: centos7.3.1611 Python version: 3.6.8 tornado version: 6.0.2 snaic version: 19.9.0 CPU: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz 4-core tornado has been used as the framework of http related python programs before. Recently, it was found that the performance of the new snaic is very high. Here, under the same hardware condi ...

Posted on Sat, 02 Nov 2019 14:06:29 -0400 by Jaxeed

Talk about dubbo's LogbackContainer

order This paper mainly studies the LogbackContainer of dubbo LogbackContainer dubbo-2.7.2/dubbo-container/dubbo-container-logback/src/main/java/org/apache/dubbo/container/logback/LogbackContainer.java public class LogbackContainer implements Container { public static final String LOGBACK_FILE = "dubbo.logback.file"; public static fin ...

Posted on Sat, 02 Nov 2019 10:40:33 -0400 by Fari

Talk about dubbo's spring container

order This paper focuses on dubbo's spring container Container dubbo-2.7.2/dubbo-container/dubbo-container-api/src/main/java/org/apache/dubbo/container/Container.java @SPI("spring") public interface Container { /** * start method to load the container. */ void start(); /** * stop method to unload the container. ...

Posted on Sat, 02 Nov 2019 02:55:33 -0400 by hideous

mapreduce implementation -- Tencent big data QQ common friend recommendation system [people you may know]

Based on Tencent big data QQ common friend recommendation system, we implement Test data: the front represents QQ users; the back represents QQ friends of users A:B,C,D,F,E,O B:A,C,E,K C:F,A,D,I D:A,E,F,L E:B,C,D,M,L F:A,B,C,D,E,O,M G:A,C,D,E,F H:A,C,D,E,O I:A,O J:B,O K:A,C,D L:D,E,F M:E,F,G O:A,H,I,J It can be implemented in two st ...

Posted on Fri, 01 Nov 2019 23:21:05 -0400 by jinwu

Enterprise application, how to realize service-oriented three (dubbo entry case)

Today is the June 1 children's day. It's good to return to Guizhou's hometown from Guangzhou thousands of miles away. Good mountain, good water, good mood, then write something. This is the third part of how to realize service-oriented series for enterprise applications. In the previous article: Enterprise application, how to realize service II ...

Posted on Fri, 01 Nov 2019 22:03:41 -0400 by simon13

Lecture 5 hash algorithm (encryption algorithm)

1. Encryption is often involved in the process of identity authentication. Data information is not secure if it is not encrypted. Shiro content implements more hash algorithms. Such as MD5, SHA, etc. And salt adding function is provided. For example, the MD5 code of "1111" is "b59c67bf196a4758191e42f76670ceba". This MD5 code ...

Posted on Fri, 01 Nov 2019 17:29:40 -0400 by anikin

K8S Practice II (Pod of K8S)

I. Static Pod Static Pod is the only Pod managed by kubectl on a specific Node. It cannot be managed through API Server, associated with ReplicationController, Deployment, or DaemonSet, and kubelet cannot perform health checks on them. The static Pod is always created by kubectl and always runs on the Node where kubelet is located.There are t ...

Posted on Fri, 01 Nov 2019 15:36:20 -0400 by supermars

The logging mode of kettle 4.1 and 5.4 redevelopment

The logging mode of kettle 4.1 and 5.4 redevelopment Log4j version: log4j-1.2.17.jar kettle 4.1 logging Problem Description: Because log4j.xml file is integrated in the kettle-engine.jar package, log4j loads XML configuration file by default; This log4j.xml file only provides console output configur ...

Posted on Fri, 01 Nov 2019 14:50:18 -0400 by YorkshireSteve

java client cannot upload file to hdfs

019-07-01 16:45:24,933 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.addBlock from 58.211.111.42:63048 Call#3 Retry#0 java.io.IOException: File /a1.txt could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and 1 node(s) are excl ...

Posted on Fri, 01 Nov 2019 13:23:10 -0400 by rmbarnes82