When Tomcat is started in a container, its log time is inconsistent with the local time

At container startup, tomcat's output log information is as follows. docker logs 5ddb9eeb4815 Using CATALINA_BASE:   /opt/tomcat-8.5.11Using CATALINA_HOME:   /opt/tomcat-8.5.11Using CATALINA_TMPDIR: /opt/tomcat-8.5.11/tempUsing JRE_HOME:        /opt/jdk1.8.0_73Using CLASSPATH:       /opt/tomcat-8.5.11/bin/bootstrap.jar:/opt/tomcat-8.5.11/bin/t ...

Posted on Mon, 22 Jul 2019 11:11:51 -0400 by JimF

Apache httpd source installation prompts APR error: solution

Apache httpd source installation prompt APR error 1. Download HTTPD source package https://www.apache.org/ Choose the site of Chinese domain name cn: Find httpd: 2. Back in Linux CentOS, download the httpd compressed package using the wget name: [root@magedu ~]# wget https://mirrors.tuna.tsinghua.edu.cn/apache/httpd/httpd-2.4.38.tar.gz ...

Posted on Mon, 22 Jul 2019 08:11:45 -0400 by JNorman

sersync and rsync real-time synchronous backup

sersync and rsync real-time synchronous backup Sersync is developed on the basis of Inotify, similar to Inotify-tools tools. Basically, Inotify can implement functions. Sersync also has functions. Therefore, sersync can also monitor changes in directories in real time (including additions, deletions, modifications). sersync and rsync rea ...

Posted on Sat, 20 Jul 2019 10:52:37 -0400 by ruthsimon

Implementing the Simplest HTTP Server in C-C Language

Implementing the Simplest HTTP Server in tinyhttpd-C Language github: https://github.com/EZLippi/Ti... Project Home Page: http://sourceforge.net/projec... Main function This is the declaration of all functions: //Processing an HTTP request monitored from a socket can largely reflect the server processing request flow here. void accep ...

Posted on Sat, 20 Jul 2019 00:14:46 -0400 by hardyvoje

[I/O multiplexing] epoll system call

Article Directory [1] epoll-related system calls epoll_create() epoll_ctl() epoll_wait() [2] Code Samples [1] epoll-related system calls epoll is a Linux-specific I/O multiplexing function.It differs greatly from select and poll in implementation and use.First, epoll uses a set of functions to ...

Posted on Fri, 19 Jul 2019 21:04:32 -0400 by whit555

Running time of statistical program/function under linux

time command Effect The time command is often used to measure the running time of a command. But a closer look at man's manual shows that time can not only measure run time, but also memory, I/O usage. The statement on the manual page is time a simple command or give resource usage, in which the word time, I think, should mean measuring or mea ...

Posted on Thu, 18 Jul 2019 22:07:40 -0400 by StewardManscat

CentOS7 Minimum Installation vmware Create Virtual Machine nmcli ip systemctl

Mirror site Domestic mirror source for some open source software Site Edition (1) Enterprise Station 1. Sohu: http://mirrors.sohu.com/ 2. NetEase: http://mirrors.163.com/ 3. Ali Cloud: http://mirrors.aliyun.com/ 4. Taobao: http://npm.taobao.org/ (2) Educational stations 2. Central China University of Science and Technology: http://mirror.hust.e ...

Posted on Thu, 18 Jul 2019 20:48:47 -0400 by prakash911

Bird Brother's linux Private Vegetables Learning Notes "Twenty-Five" Account Management

Summary Each file will have the so-called owner ID and group ID. When we have the need to display the file attributes, the system will find the corresponding account number and group name of UID / GID according to the contents of / etc/passwd and / etc/group. View user-specific password files [root@CentOS ~]# grep 'kevin' /etc/passwd kevin: ...

Posted on Wed, 17 Jul 2019 16:56:30 -0400 by phpdood

PHP Manual of Memcache/Memcached (Manuscript Edition)

Memcache/Memcached Of PHP Operational Manual (Pure Manuscript Edition) Memcache and Memcached It's actually a thing, just php Extensions used in Chinese are different, 2009 There are plenty of people around the year. memcache Usage and performance, write a libmemcached Is an independent third party client library,That's it. memcached ,U ...

Posted on Tue, 16 Jul 2019 18:27:44 -0400 by grigori

Linux users and user groups

linux uses a number to distinguish different users, namely user id, or uid. The system automatically records the corresponding relationship between user name and uid. I. Users, User Groups Users are divided into three categories: 1. Root user. uid is 0, that is root user, superuser. 2. System users. uid from 1-499. I ...

Posted on Tue, 16 Jul 2019 18:03:20 -0400 by ricerocket