System CTL enables nginx processes to automatically restart after hanging up

  Following the article on July 31, 2018: vim /lib/systemd/system/nginx.service   [Service]Restart=alwaysRestartSec=1Type=forkingPIDFile=/run/nginx.pid    systemctl daemon-reload systemctl start nginx After kill ing, the nginx will be automatically restarted. ------------------------------------------ If the original link is valid, ...

Added by Hoangsta on Wed, 12 Jun 2019 22:53:15 +0300

pinpoint installation deployment (2)

Explanation: I don't know why the editor suddenly got stuck. It can only be divided into two pieces 4. Install pinpoint-web 4.1 Deploy the war package Unzip Tomcat and move the Tomcat rename to the specified location cd /home/pp_res/ tar -zxvf apache-tomcat-8.0.36.tar.gz mv apache-tomcat-8.0.36/ /data/service/pp-web Modify the configura ...

Added by bhonan on Wed, 12 Jun 2019 20:42:46 +0300

Set up web services to implement multiple virtual hosts. Host/user based access control

content 1. Set up web services to implement multiple virtual hosts 2. Host-based access control 3. User-based access control 1. Set up web services to implement multiple virtual hosts www.xiaoming.com RHEL6 httpd-2.2.15 RHEL7 httpd-2.4.6- The key configurations are as follows: To use the virtual host feature, you need to turn on ...

Added by Rianna on Wed, 12 Jun 2019 19:22:11 +0300

Section 5: Dynamic SQL for mybatis

For some complex queries, we may specify multiple query conditions, but these conditions may or may not exist, such as finding a house on 58 Tongcheng, we may specify area, floor and location to find a house source, or we may specify area, price, household type and location to find a house source, at which point the user-specified bar is requir ...

Added by Rheves on Tue, 11 Jun 2019 19:50:18 +0300

Caching summary of mybatis

package com.atguigu.mybatis.test; import java.io.IOException; import java.io.InputStream; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import org.junit.Test; import com.atguigu.mybatis.bean.Emp ...

Added by yogadt on Tue, 04 Jun 2019 23:01:33 +0300

Nagios Plug-in Nagiosgraph Installation Deployment

  Nagios is a commonly used open source monitoring software. Nagios is flexible and portable so that it can be used flexibly according to its actual situation. However, Nagios has a disadvantage that the drawing is not perfect enough, so Nagios has a short board when analyzing monitoring data. However, because of the flexibility of Nagios, ...

Added by sweatje on Tue, 04 Jun 2019 20:30:33 +0300

Maven Building Multi-Module Engineering

Unless it is a simple project, most of the Maven projects encountered in practical work are multi-module. Each project module can be developed independently, and some of them may use the functions of other modules. How to use Maven to build a multi-module project? Maven provides a way of inheritance and aggregation to build multi-module enginee ...

Added by little_tris on Sun, 02 Jun 2019 20:57:24 +0300

Spark MLlib Data Preprocessing-Feature Transform

Tokenizer (Word segmentation device Introduction to the algorithm: Tokenization divides text into separate individuals (usually words). RegexTokenizer provides more partitioning options based on regular expressions. By default, the parameter "pattern" is a delimiter for dividing text. Or you can specify the parameter "g ...

Added by axm on Fri, 31 May 2019 21:05:00 +0300

Introduction to nginx and detailed configuration

Introduction to Nginx Nginx is an open source high performance HTTP server and reverse proxy server that supports both IMAP/POP3/SMTP proxy services. It has the following characteristics: - It is efficient to process static files, index files, and automatic indexing. - Fast and efficient reverse proxy to improve site performance. - ...

Added by smc on Wed, 29 May 2019 11:20:03 +0300

Aliyun Server Builds tomcat Environment

Pre-installation preparation: First you need to install the Xshell, in order to facilitate operation, and then install Xftp. Xshell 5 Xftp 5: Some systems of servers open the firewall by default, and need to be shut down before accessing the 80, 443, 8080 ports of the local machine. If you're not sure if your server has a firewall on, foll ...

Added by Renegade85 on Sun, 26 May 2019 23:10:52 +0300