Compression and caching for Apache web page optimization

Overview of Apache Web Page Optimization In the enterprise, when Apache is deployed, only the default configuration parameters are used.This causes a lot of problems for the website, in other words, the default configuration is for a lower level than beforeServer Configuration, Previous Configuration No longer Applies to Today's Internet AgeTo ...

Posted by jaiswal on Tue, 12 Nov 2019 01:10:50 +0100

The integration of Tomcat 8.0 and Solr 8.0 linux

Reprint: https://blog.csdn.net/alibaba_f / article / details / 89407754 First, create an empty folder to facilitate the management of tomcat, solr and solr data source management; 2. Install tomcat and solr, and wear an empty folder solrHome         3. Copy the files under server → solr webApp → webApp in the so ...

Posted by webtech123 on Mon, 11 Nov 2019 19:27:17 +0100

mybatis source series Configuration class Configuration

In Chapter 1, we learned that the core configuration class of mybatis is org.apache.ibatis.session.Configuration.java Let's first look at the class diagram of Configuration.java Seeing the class diagram, I was stunned. There are too many properties However, considering that mybatis has such powerful functions and so m ...

Posted by bentobenji on Sun, 10 Nov 2019 15:59:52 +0100

Introduction and Introduction to [Struts2]

1. Overview 2. Struts2 Quick Start Program 2.1 Development Process Comparison 2.2 Introducing dependencies 2.2 Create a jsp page 2.3 Configuring a front-end controller in web.xml 2.4 Create struts.xml configuration file 2.4 Create a HelloAction class 2.5 Configuring HelloAction in the struts.xml file 2.6 Add connections in i ...

Posted by t.bo on Sat, 09 Nov 2019 21:49:32 +0100

java common service cluster building [3] tomcat session sharing

1. Environmental constraints centos 7 64 bit nginx-1.5.0 apache-tomcat-8.5.38 2. Preconditions Complete tomcat cluster building and nginx load balancing https://www.jianshu.com/p/c8aa1a323e3a Decompress apache-tomcat-8.5.38 twice, and divide it into tomcat8180 and tomcat8280 Modify the ports of server.xml in tomcat8180 to ...

Posted by xwishmasterx on Fri, 08 Nov 2019 23:33:18 +0100

Java custom annotation usage

  First, explain 1. Definition of notes The Java file is called Annotation, which is represented by @ interface. 2. yuan annotation There are some notes on @ interface as needed, including @ Retention, @ Target, @ Document, @ Inherited. 3. Retention policy of notes @ Retention(RetentionPolicy.SOURCE) / / the annotation only ...

Posted by doug007 on Fri, 08 Nov 2019 16:55:41 +0100

Brain hole: byte code enhanced log collection scheme

background Demand:java technology stack, to access all the current projects to the log center, the requirements seem relatively simple But in the process of implementation, there are various problems, such as different departments, different development frameworks and different levels of personnel competence, Scheme selection: Each project ...

Posted by vahidi on Fri, 08 Nov 2019 09:32:26 +0100

Download, upload and install maven under Linux

To run maven, you must have a JDK, which is written in the Java language I. installation of JDK Download on ORACLE official websiteJDK jdk-8u231-linux-x64.tar.gz Upload JDK to linux server create folder [root@VM_0_17_centos /]# cd /opt [root@VM_0_17_centos opt]# mkdir jdk Using xftp tool to upload compressed files Connecting to a Linux server ...

Posted by JoelyUK on Wed, 06 Nov 2019 23:47:19 +0100

Change maven source to domestic Alibaba cloud image

For well-known reasons, maven's library is very slow in mainland China. Most of the articles I found on Baidu are directly added to ~ /. m2/setting.xml <mirrors> <mirror> <id>aliyunmaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>https://maven.aliy ...

Posted by Zeekar on Sun, 03 Nov 2019 20:21:00 +0100

HBase custom MapReduce

Transfer of HBase table data In the Hadoop phase, the MR task we wrote has two classes: Mapper and Reducer. In HBase, we need to inherit two classes: TableMapper and TableReducer. Objective: to migrate part of the data in the fruit table to the fruit_mr table through MR Step 1. Build the ReadFruitMapper class to read the data in the fruit ta ...

Posted by brooky on Sun, 03 Nov 2019 19:16:43 +0100