Installation of PHP 5.6.30 Service under CentOS 7.0

In the last section, we talked about how to install MySql service under CentOS 7.0. If you don't see the welcome page, you can add my personal tweet: LiTaO 514148204. Attach a section address: http://www.cnblogs.com/riverdubu/p/6426852.html On php-fpm nginx itself can not handle PHP, it is only a web server, when it receives a request, if it is ...

Posted by diddy1234 on Tue, 02 Apr 2019 20:30:30 -0700

linux apt speech recognition

To be revised Project introduction: Baidu voice is used to recognize and synthesize voice into Chinese, Turing robot is used for intelligent dialogue, and pythonaudio module is used for linux. Because pythonaudio is incompatible, raspberry pier uses arecore to record. The final code is about 150 lines. The code is published on ...

Posted by Swole on Fri, 29 Mar 2019 23:12:30 -0700

How to Open SSH Service on Port 80 of Web Server

The network port multiplexing discussed in this paper does not refer to Socket Bind multiplexing with SO_REUSEADDR option in network programming. It is more like a port forwarding tool with a specific routing function, implemented in the application layer. background The firewall in my network only opens one port, but I hope to provide a variet ...

Posted by jon23d on Thu, 21 Mar 2019 03:54:52 -0700

ES2.4.1 double instances of ELK are smoothly upgraded to 5.2.1 and supervisor management notes

The 2.4.1 version of ES used in the old cluster has been running well and has not moved. Recently, the data ES5.X has been stable and its performance has been greatly improved, which makes my heart itchy. However, to maintain the high availability of business, I have to think of a smooth upgrade scheme. Finally, I think of a method of excessive ...

Posted by newyear498 on Thu, 21 Mar 2019 03:15:52 -0700

The simplest k8s User JWT token manager in the whole network

Three-step installation of kubernetes cluster Summary The token of the kubernetes server account is easy to obtain, but the token of the User is very troublesome. This paper presents a minimal way to generate the User token, which can be obtained by the User with an http request. What is token mainly used for? The official dashboard login is re ...

Posted by Deltran on Thu, 21 Feb 2019 07:18:20 -0800

Kotlin & Spring boot uses @Valid to check invalid solutions

kotlin data (corresponding to java entity class) @Entity @Table(name = "user") data class User( @NotNull(message = "User name cannot be empty") @Column(name = "user_name", nullable = false) var userName: String = "", @NotNull(message = "user ID Can not be empty") @Column(name = "user_id", unique = true ...

Posted by Sephiriz on Mon, 11 Feb 2019 05:21:18 -0800

spring webflux returns application/stream+json

order This paper mainly studies the example of spring webflux returning application/stream+json maven <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId> </dependency> controller /** * curl -i localhost:8080/stream * @return ...

Posted by jason_kraft on Thu, 07 Feb 2019 14:18:17 -0800

50:nginx Access Diary | Diary Cutting | Static Files do not record diaries and expiration times

1. nginx access diary: Diary format: search log_format in the main configuration file nginx.conf; [root@localhost_001 conf]# vim nginx.conf log_format combined_realip '$remote_addr $http_x_forwarded_for [$time_local]' ' $host "$request_uri" $status' ' "$http_referer" "$http_user_agent"'; Note: combined_realip represents the name of the ...

Posted by supratwinturbo on Sat, 02 Feb 2019 02:36:16 -0800

kong series: admin-api use

After deploying kong, we need to add our own interface to Kong management. Kong provides a more comprehensive restful api. Each version will be different. The following record is based on kong v0.14.x kong's 8001 port is resful admin api, through which services, routing and configuration are managed, so after deployment, pages can access localh ...

Posted by gojiita on Fri, 01 Feb 2019 16:06:16 -0800

Elastic Search Installation Guide and Basic Operations of its REST API

This article aims to show you how to install ES in windows system and how to use its REST API to operate ES in windows system. (1) Installation of ES under Windows Make sure that the machine has java installed before installing es, preferably a newer version. I have 10 installed on my machine. C:\>java -version java versi ...

Posted by angel_cowgirl on Wed, 30 Jan 2019 02:06:15 -0800