2021-09-08-Nginx Note 2: Nginx's access.log log log
Uses of access.log logs
Statistical access to ip sources and access frequency over a period of timeView most frequently visited pages, HTTP response status codes, interface performanceInterface seconds, minutes, hours and days
Default Configuration Resolution
nginx default log configuration
#log_format main '$remote_addr - $remote_use ...
Posted by lbaxterl on Tue, 07 Sep 2021 10:39:49 -0700
LVM Disk Management
1. Introduction to LVM
LVM is an abbreviation of Logical Volume Manager (Logical Volume Management), which connects several disks or disk partitions into a single block volume group to form a storage pool.Administrators can arbitrarily create logical volumes on volume groups and further create file systems on logical volumes.Administrators can ...
Posted by toplay on Mon, 06 Sep 2021 18:08:58 -0700
Performance analysis of [Linux operating system series]
3, Performance analysis
1. Process query: ps
The man ps manual is very large and not easy to refer to, so I mainly remember several commands
Example
#1. List the processes that are only related to their own environment. The parent process at the top layer is the bash that allows the ps command, but does not extend to the init process
ps ...
Posted by titaniumtommy on Mon, 06 Sep 2021 12:30:02 -0700
Linux software management: RPM management, YUM, building local warehouse, source package management practice
1. Basic overview
1. What is rpm?
The full name of RPM is the abbreviation of RedHat Package Manager, which is developed by red hat for software package installation, upgrade, uninstall and query
2.rpm package name component?
The RPM package is named after - dividing the software into parts bash-4.2.46-28.el7.x86_64.rpm
bash:Software n ...
Posted by DRTechie on Mon, 06 Sep 2021 10:39:25 -0700
Docker Network Mode, Data Volume, and Data Volume Container
1. Four Network Modes of Docker
Network modeTo configureExplainhost-net=hostContainer shares a network namespace and network protocol stack with hostcontainer-net=container:NAME or IDShare a network namespace between containersnone-net=noneContainers have separate network namespaces but do not have any network settings for them, such as as ...
Posted by php.ajax.coder on Mon, 06 Sep 2021 09:09:14 -0700
docker introduction and deployment
What is docker?
Is a lightweight virtual machine, is an engine It is an open source tool for running applications in linux container. docker is a lightweight virtualization solution based on container technology. docker is a container engine that perfectly encapsulates and abstracts the underlying container technologies such as cgroup and ...
Posted by edkuan on Sun, 05 Sep 2021 00:30:11 -0700
Here comes the docker you want!
1, Background of container technology
In the case of linux, the linux operating system has a main process with pid=1, which derives other processes to control different services. For example, PID = 2 -- > Python PID = 3 – > java pid4 – > PHP, the three services may affect each other Users expect these three different s ...
Posted by sukanya.paul on Sat, 04 Sep 2021 21:42:13 -0700
LVM Logical Volume Manager
LVM Logical Volume Manager
The purpose is to solve two problems: 1. Use many small hard disks with combined capacity; 2. Usually, it is difficult to adjust partition size after partition is completed. To dynamically adjust (enlarge or shrink) the disk partition, you can use LVM. 3.xfs file format does not support zooming out 4. When RAI ...
Posted by mikejs on Sat, 04 Sep 2021 10:11:13 -0700
Disk management RAID
Disk management RAID
summary
RAID: (Redundant Array of Independent Disk)RAID initially developed a certain level of data protection technology in order to combine small cheap disks to replace large expensive disks, and hope that the access to data will not be lost when the disk fails.RAID is a redundant array composed of multiple cheap disks. ...
Posted by Design on Thu, 02 Sep 2021 23:30:31 -0700
Linux directory and file management
1. Linux directory structure
1.2, Root Directory
Location starting point for all partitions, directories, files, etc. Use a separate'/'for the entire tree directory structure
1.2. Tree Catalog Structure
Common subdirectories: /root/bin/boot/dev/etc/home/var/usr/sbin/opt/mnt
1.3. Common subdirectories and their functions
/(root)The ro ...
Posted by Panthers on Thu, 02 Sep 2021 16:29:54 -0700