nginx installation record of centos ECS
As a web and reverse server, nginx is widely used, especially for those who learn c/c + +. Today, I installed and configured nginx, which I've heard a lot of. It's mainly a personal experiment for the installation and guidance in the rookie tutorial. The main concern is that the installation of nginx depends on the upgrade of openssl.
1, Prepa ...
Added by Centrek on Sun, 20 Feb 2022 11:59:26 +0200
Log management in LINUX system
Experimental environment
systemctl stop firewalld
1.journald
Service Name: SYSTEMd journal service journalctl Default log storage path: / run/log
Experiment 1 usage of journalctl command
journalctl -n 3 ## latest 3 entries in log --since "2020-05-01 11:00:00" ## displays the log after 11:00 --until "2020-05-01 11:05:00" ...
Added by PrinceOfDragons on Sun, 20 Feb 2022 08:23:00 +0200
Buddy of linux kernel (anti fragment mechanism steel page)
Follow < buddy (anti fragment mechanism) of Linux kernel (4) > , if there is not enough memory in the migration type specified in the same zone, the fallback mechanism will be started to find suitable other types from the fallbacks array, obtain the steel page, and implement the core processing function of steel page as steel_ suitable_ f ...
Added by noguru on Sun, 20 Feb 2022 02:13:17 +0200
Linux user management, file system permissions
user management
Users, Group Management Commands Organize: (1 message) Linux users, group management command collation and example details_ captainyuxiaoyu's Blog - CSDN Blog
sudo user authorization
Privileges to execute commands given to ordinary users by administrators
vim /etc/sudoers
redhat ALL=(ALL) NOPASSWD: /usr/sbin/useradd
Author ...
Added by akimm on Sun, 20 Feb 2022 01:41:19 +0200
Linux network programming - VII
1. Preparation for web server development
In order to write a web server, we need to learn how to write html pages and master some knowledge of http protocol. These two parts will be introduced next. After these two preparations, you also need to know what is the communication process of the web server? We also need to think about how to s ...
Added by 758 on Sun, 20 Feb 2022 00:39:40 +0200
MHA high availability cluster deployment and failover of database
1, MHA overview
MHA (MasterHigh Availability) is a set of excellent software for failover and master-slave replication in MySQL high availability environment. The emergence of MHA is to solve the problem of MySQL single point. During MySQL failover, MHA can automatically complete the failover operation within 0 ~ 30 seconds. MHA can ensure ...
Added by hyp0r on Sat, 19 Feb 2022 22:50:48 +0200
Linux programming time: wall time, cpu time and timer
Getting time in Java/JS is very simple (system. Currenttimemillis()) nanoTime(); new Date(). Gettime (), etc.), which is a little more complicated in C/C + +.
Today, let's learn about time related concepts and acquisition methods in Linux C programming.
Linux time related knowledge
The UNIX system uses the elapsed time since 0:00 on Jan ...
Added by robmarston on Sat, 19 Feb 2022 18:44:13 +0200
Private toolset 7 -- Token timeliness verification in webapi
Confucius said: if a worker wants to do well, he must sharpen his tools first
github: https://github.com/redAntCpp/CSharpTools
Next to the previous article, the previous article only realizes the generation and parsing of token, and incidentally mentions the verification mechanism. However, in actual business, it is usually necessary to ver ...
Added by shah on Sat, 19 Feb 2022 17:44:55 +0200
Latest JSON API specification (v1.0)
JSON:API — Latest Specification (v1.0)
Latest specification (v1.0)
state
This page shows the latest released version of JSON:API, which is currently version 1.0. The new version of JSON:API will always be used, will never be deleted, and only add policies that are backward compatible. Can be in our discuss The district made a supplement.
...
Added by rdog157h on Sat, 19 Feb 2022 15:30:28 +0200
Supervisor daemon
Supervisor( http://supervisord.org/ )It is a client/server service developed in Python. It is a process management tool under Linux/Unix system and does not support Windows system. It can easily monitor, start, stop and restart one or more processes. For a process managed by supervisor, when a process is accidentally killed, supervisor will aut ...
Added by Hikari on Sat, 19 Feb 2022 09:44:57 +0200