Zoo Keeper Quick Start
Link to the original text: http://www.dubby.cn/detail.html?id=9024
This brief introduction
This article is intended for beginners of ZooKeeper, introducing simple installation, configuration, and commands to try to run ZooKeeper. Also mentioned are some slightly responsible installations - replicated deployments, log optimization. Of course, ...
Posted by Dan39 on Fri, 24 May 2019 16:29:02 -0700
Installation of tomcat for CentOS Trample Record
Before installing tomcat, you need to install java first.
Install java package directly with centos, so install java directly with yum is simple and fast.
See what jdk versions are available in the yum library (only openjdk is found for the time being)
yum search java|grep jdk
ldapjdk-javadoc.x86_64 : Javadoc for ldapjdk
java-1.6.0-open ...
Posted by MentalMonkey on Wed, 22 May 2019 15:48:09 -0700
Apache Httpd 2.2 Configure CA Certificate to Encrypt Https Communication
Personal blog address: http://www.pojun.tech/ Welcome to visit
What is CA Certificate
_About what CA certificate is, and how to apply for and build CA certificate using Open-SSL, we have already introduced it in previous articles, and we will not repeat it here. If in doubt, refer to the previous article. http://www.pojun.tech/blog/2017/0 ...
Posted by kendall on Mon, 20 May 2019 12:16:34 -0700
android keystore public key, private key, certificate complete resolution
Preface
Before I did not understand the concept of public key, private key and certificate, I recently summarized and sorted it out. Now share it.
Note: The concept of public key, private key and certificate is derived from the generated signature.
Generate key.store
Run - CMD - DOS window
Generate java keystore file
C:\Users\weichyan ...
Posted by touchingvirus on Mon, 20 May 2019 10:59:59 -0700
RestTemplate Configuration and Use of SpringBoot 2.X Kotlin Series
Since the rise of RESTFul API, Spring has provided developers with a client to access Rest. RestTemplate can not only call http interface conveniently, but also call micro-services under the same registry. It also has load balancing and fusing mechanisms. Of course, I've heard about OKhttp, HTTPClient and other network frameworks, but we're fo ...
Posted by teamfox20 on Sun, 19 May 2019 18:16:16 -0700
CXF Realizes Remote Call
Introduction to Apache CXF
Apache CXF = Celtix + Xfire
Holding multiple protocols
SOAP1.1,1.2
XML/HTTP
CORBA (Common Object Request Broker Architecture Common Object Request Broker Architecture, WS used in early languages). C,c++,C#) And it can be quickly and seamlessly integrated with Spring
Flexible deployment: It can run on Tomcat, Jbo ...
Posted by jwoo on Sun, 19 May 2019 15:15:00 -0700
POI Exports Excel and Sets Column Width Adaptively Based on Content
package com.XXX;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespon ...
Posted by TGWSE_GY on Sun, 19 May 2019 14:42:55 -0700
RocketMQ Transaction Message Implementation Principles for RocketMQ Source Code Analysis Part I (Two-Phase Submission)
According to the description above, the entry to send a transaction message is:
TransactionMQProducer#sendMessageInTransaction:
public TransactionSendResult sendMessageInTransaction(final Message msg, final Object arg) throws MQClientException {
if (null == this.transactionListener) { // @1
throw new MQClientException("T ...
Posted by prowley on Sun, 19 May 2019 09:59:30 -0700
Automatic Packaging and Publishing of Code by Jenkins+Maven+Svn
Install jdk, tomcat environment
[root@centos6 ~]# tar zxf jdk-8u111-linux-x64.tar.gz -C /usr/local/
[root@centos6 ~]# tar zxf apache-tomcat-8.5.9.tar.gz -C /usr/local/
[root@centos6 local]# export JAVA_HOME=/usr/local/jdk1.8.0_111
[root@centos6 local]# export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
[ ...
Posted by expl0it on Sat, 18 May 2019 21:15:49 -0700
UDF, UDTF and UDAF in hive
New table "apache_log" in hive
CREATE TABLE apachelog (
host STRING,
identity STRING,
user STRING,
time STRING,
request STRING,
status STRING,
size STRING,
referer STRING,
agent STRING)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.RegexSerDe'
WITH SERDEPROPERTIES (
"input.regex" = "([^ ] ...
Posted by DJH on Fri, 17 May 2019 11:36:59 -0700