Common linux commands sort,uniq,cut,wc

sort The sort command sorts the rows in the file specified by the File parameter and writes the results to standard output. If the File parameter specifies multiple files, the sort command links them together and sorts them as one file. sort syntax [root@www ~]# sort [-fbMnrtuk] [file or stdin] Options and parameters: - f: Ignore the diff ...

Posted on Wed, 26 Dec 2018 10:12:06 -0800 by Bad HAL 9000

Elastic search Learning Notes (V) - - Java in conjunction with Aliyun ES (Spring Book Project Environment)

requirement analysis 1. Realize small programs with ** search functions of [multi-fields], [fast], [support for fuzzy matching and word disassembly] under the environment of large data volume (more than 10 million). 2. Data environment: Aliyun ES, Aliyun MySQL 3. Project deployment: Aliyun server Implementation (Part) Firs ...

Posted on Tue, 25 Dec 2018 11:21:06 -0800 by lisa007

Configuring anti-theft chains, access control Directory, access control FilesMatch, restricting a Directory to prohibit parsing php

I. Configuration of anti-theft chains Implementing the function of anti-theft chain by restricting referer Add the following to the configuration file <Directory /data/wwwroot/www.111.com> SetEnvIfNoCase Referer "http://111.com" local_ref SetEnvIfNoCase Referer "http://aaa.com" local_ref ...

Posted on Mon, 24 Dec 2018 17:15:06 -0800 by sirTemplar

Haproxy+Keepalived+Varnish+LAMP+Memcacked+NFS for Dynamic and Static Separation of web Sites

Haproxy+Keepalived+Varnish+LAMP+Memcacked+NFS for Dynamic and Static Separation of web Sites (1) Architectural Topology Map Display (2) Brief description of the architecture The source code of this dynamic and static separation uses WordPress open source program, WordPress program itself can achieve complete separation of the f ...

Posted on Sun, 23 Dec 2018 22:54:06 -0800 by DLR

Database connection pool and com.mysql.jdbc.exceptions.jdbc4.Communications Exception exception

The abnormal information is as follows: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in mit/datamodel/ibatis/person.xml. --- The error occurred while executing query. --- Check the select * from person where pID = ?. --- Check the SQL Statement (preparation failed). --- Cause: com.mysql.jdbc.exception ...

Posted on Sat, 22 Dec 2018 11:06:06 -0800 by daanoz

Domain is currently unable to handle this request (open_basedir)

Download the Yii2 installation package to Liunx and find that it is accessible with localhost/basic/web But if you use www.basic.com, you won't be able to access it. The page will prompt 500, as follows www.basic.com is currently unable to handle this request Then Stack Overflow looked up and found that just modify php.ini (save the sourc ...

Posted on Sat, 22 Dec 2018 09:51:05 -0800 by tigomark

Apache Commons Beanutils III (BeanUtils, ConvertUtils, Collection Utils...)

Preface I've learned the Property Utils and dynamic bean s in Apache Commons Beanutils package before. Next I'll learn the remaining tool classes, which I think are very useful, especially Collection Utils. BeanUtils Briefly introduce the use of the following two methods, populate and copyProperties. populate can help us copy the key-value ...

Posted on Sat, 22 Dec 2018 02:06:05 -0800 by shaitand

org.codehaus.jackson.map.exc.UnrecognizedPropertyException

Exception description Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "transIpAddr" (Class com.xxx.core.dto.RechargeWapReqDTO), not marked as ignorable at [Source: org.apache.catalina.connector.CoyoteInputStream@3dcc4d63; line: 1, column: 17] (through reference chain: com.jr ...

Posted on Fri, 21 Dec 2018 16:54:06 -0800 by snakebit

centos 6.8 Install LNMP Environment (linux+nginx+mysql+php)

Nginx characteristicsNginx has the advantages of stable performance, rich functions, simple operation and maintenance, fast processing of static files and little system resource consumption.1. Compared with Apache, Nginx serves as a Web server: it uses fewer resources, supports more concurrent connections and is more efficient.2. As a load bala ...

Posted on Thu, 20 Dec 2018 22:03:06 -0800 by russian_god

Spring Cloud Spring Boot mybatis Distributed Microservice Cloud Architecture (38) Logs using log4j

Introducing log4j dependencies When we created the Spring Book project, we introduced spring-boot-starter, which includes spring-boot-starter-logging, which is the default log framework of Spring Boot, Logback. So before we introduce log4j, we need to eliminate the dependency of the package and then introduce log4j dependency, as follows: &lt ...

Posted on Thu, 20 Dec 2018 04:15:05 -0800 by edmore