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 prompt APR error
1. Download HTTPD source package
Choose the site of Chinese domain name cn:
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 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 tinyhttpd-C Language
Project Home Page: http://sourceforge.net/projec...
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
 epoll-related system calls
 Code Samples
 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
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
Domestic mirror source for some open source software
(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
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
Posted on Wed, 17 Jul 2019 16:56:30 -0400 by phpdood
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 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