SwooleFor: Automatically restart Swoole service by monitoring file changes

SwooleFor Monitor changes in your Swoole program files and restart the server automatically - for development Monitor for any changes in your swoole application and automatically restart the server - perfect for development SwooleFor s are positioned as PHP versions nodemon, node-dev Use of the project mix-phar Development Depend extensions e ...

Posted by AwptiK on Tue, 13 Aug 2019 23:24:07 -0700

springboot integrates oss to upload, view, delete and download files

springboot integrates oss to upload, view, delete and download files 1. What is Object Storage OSS? Answer: Aliyun Object Storage Service (OSS) is a massive, secure, low-cost and highly reliable cloud storage service provided by Aliyun. Its data design persistence is not less than 99.999999% (129), ...

Posted by smurl on Sat, 10 Aug 2019 07:07:28 -0700

Use of Zookeeper03's Java API

Articles Catalogue Use of Zookeeper03's Java API Java program operation Zookeeper 1. Create java projects and import related jar packages maven project coordinates 2. Simple use of API 2.1 Configuring Zookeeper objects Common API operations Adding Nodes Judging whether a node exists or not Getting ...

Posted by Murciano on Thu, 08 Aug 2019 20:24:16 -0700

Build ldap dual main mode

1. Install OpenLDAP yum install openldap openldap-clients openldap-servers Start directly after installation ``` systemctl start slapd ``` Set Administrator Password``` slappasswd -h {SSHA} ``` You will then be asked to enter a clear text password and return to you an encrypted password, remembering the password that was returne ...

Posted by roustabout on Thu, 08 Aug 2019 12:14:57 -0700

Environment Preparedness --- Configure tomcat (yum installation openjdk) under linux

What is tomcat? How does Tomcat work? please Reference website https://tomcat.apache.org/tomcat-9.0-doc/index.html For more information, please click on https://www.cnblogs.com/xdp-gacl/p/4097608.html Method 1: Download the tomcat installation package decompression Run. / startup.sh under bin file bin: It's about opening and changing To ...

Posted by Anti-Moronic on Mon, 05 Aug 2019 21:48:07 -0700

RocketMQ Operation and Maintenance Monitoring

Monitoring is an essential function of a perfect message middleware. Through monitoring, we can check the operation of the system, whether there are any abnormalities, which is the basis of system stability and operation and maintenance. 1. Construction of Monitoring Platform Download address: https://github.com/apache/rocketmq-externals The Ro ...

Posted by zenabi on Mon, 05 Aug 2019 20:02:12 -0700

Introducing the hierarchical structure of Docker images and creating them (docker commit and docker file)

1. Introduce the hierarchical structure of Docker image: (1) docker mirror: The Docker image is a read-only Docker container template, which contains the file system structure and its content needed to start the Docker container, so it is the basis for starting a Docker container. Docker image file ...

Posted by solaris77 on Mon, 05 Aug 2019 02:56:12 -0700

maven --- The "Canal" in Packaging

Since taking over the project with maven, packing has not been done manually. 1: Make a jar bag. There are many ways to make jar packages with maven. Here are two ways I have used: assembly, add the following code in pom.xml: <plugin> <artifactId>maven-assembly-plugin ...

Posted by kparish on Mon, 05 Aug 2019 00:45:34 -0700

Generating html pages (NVelocity) using templates

The company's website needs some news, each news format is the same, but do not want to query every time, so want to save these news pages into static html, and then search to find this template engine, of course, other template engines can, such as: Razor, written by yourself manual replacement. And so on. NVelocity is an excellent project in ...

Posted by private_click on Sun, 04 Aug 2019 23:54:40 -0700

Chapter 2 RDD Programming (2.1-2.2)

Chapter 2 RDD Programming 2.1 Programming Model In Spark, RDDs are represented as objects that are converted through method calls on objects.After a series of transformations define the RDD, actions can be invoked to trigger RDD calculations, either by returning results to the application (count, collect, etc.) or by saving data to the stor ...

Posted by Chizzad on Sun, 04 Aug 2019 10:52:20 -0700