DHCP service configuration for Linux
1, What is DHCP service
DHCP (Dynamic Host Configuration Protocol) is a LAN network protocol. It refers to a range of IP addresses controlled by the server. When the client logs in to the server, it can automatically obtain the IP address and subnet mask assigned by the server. By default, DHCP, as a service component of Windows Server, wi ...
Posted by Chris_Evans on Tue, 28 Sep 2021 22:15:51 +0200
Program management and file processing under Linux
1 ps/top [[monitor progress]
ps -ef
Display information:
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 S 500 3081 3080 0 80 0 - 1173 wait pts/0 00:00:00 bash
0 R 500 4463 3081 1 80 0 - 1116 - pts/0 00:00:00 ps
Parameter meaning:
UID: the user who started these processes.PID: process ID of the process.PPID: the process number ...
Posted by rline101 on Tue, 28 Sep 2021 20:57:53 +0200
VirtualBox VM space downsizing (vmdk)
Address: https://www.ebpf.top/post/shrink_vbox_vmdk_size
When using VirtualBox (VMDK mode) to manage virtual machines, we often encounter some compilation and installation scenarios (such as compiling Linux kernel), which will lead to a sharp expansion of disk space. However, after the compilation is completed, even if we delete the relevant f ...
Posted by phait on Tue, 28 Sep 2021 11:48:06 +0200
zabbix monitoring service deployment
1. Introduction to ZABBIX
zabbix is an enterprise class open source solution based on WEB interface (which can be operated on the website) to provide distributed system monitoring and network monitoring functions. In addition, there are monitoring software such as cacti (good at drawing, flow diagram, architecture diagram, etc.), nagios (g ...
Posted by cuteflower on Tue, 28 Sep 2021 05:55:39 +0200
Monitoring service Zabbix
Monitoring service Zabbix
Common monitoring software
cacti is good at drawing flow diagram and architecture diagramnagios is good at complex alarm configurationzabbixprometheus
zabbix introduction
zabbix is an enterprise class open source solution that provides distributed system monitoring and network monitoring based on WEB interface
zab ...
Posted by Scott_J on Tue, 28 Sep 2021 05:05:58 +0200
Multiplex I/O - select
1. Principle Compared with multi thread and multi process I/O multiplexing, it solves the blocking problem of the server accept(). When the client needs to connect, use select to listen, and the server enables accept(). Select receives the listening socket created by the server to listen for new client connections and connect events, At the sam ...
Posted by oops73 on Mon, 27 Sep 2021 04:52:24 +0200
To understand redis, you must first understand sds (the most detailed explanation of sds in the whole network)
1, Structure of sds
Definition of sds
sds.h
//Defines a char pointer
typedef char *sds;
/* Note: sdshdr5 is never used, we just access the flags byte directly.
* However is here to document the layout of type 5 SDS strings. */
struct __attribute__ ((__packed__)) sdshdr5 {
unsigned char flags; /* 3 lsb of type, and 5 msb of string l ...
Posted by mimilaw123 on Sun, 26 Sep 2021 20:56:39 +0200
linux based software installation
Software installation is a necessary function of the system. Naturally, Linux also has it. Linux installation has two ways: rmp and source code.
rpm: This is a bit like an exe file in windows. You can click Install. The file format is rmp, which is the format encapsulated by the source code, similar to exe file.Source code: software source cod ...
Posted by TheVoice on Sun, 26 Sep 2021 11:33:14 +0200
[punctual atom linux serial] Chapter 64 Linux multipoint capacitance touch screen experiment - extracted from [punctual atom] I.MX6U embedded Linux Driver Development Guide V1.0
1) Experimental platform: punctual atom alpha Linux development board 2) Platform purchase address: https://item.taobao.com/item.htm?id=603672744434 2) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-300792-1-1.html 3) Students interested in punctual atomic Linux can add group discussion: 93 ...
Posted by [-_-] on Sat, 25 Sep 2021 12:08:29 +0200
MYSQL transactions
mysql transaction In MySQL, transaction is actually the smallest and indivisible unit of work. Transactions can ensure the integrity of a business. Such as bank transfer
a-> -100
update user set money = money-100 where name'a';
b-> +100
updata user set money=money +100 where name='b';
In the actual program. If only one ...
Posted by newbiehacker on Sat, 25 Sep 2021 06:25:24 +0200