Linux basic command learning notes
dpkg -- deb series software package management system
#List the software packages in the current system
dpkg -l
#Install package
dpkg -i packageName.deb
#Uninstall package (keep profile)
dpkg -r packageName
#Uninstall package (delete profile)
dpkg -P packageName
#Lists the contents of the specified installed packages
dpkg -L packageName
#Repor ...
Posted by slobodnium on Mon, 08 Nov 2021 11:32:55 -0800
Explain several ways for Linux to view real-time network card traffic
If kept has 10 VIPs, how to check the traffic of each VIP?
Here you can use the sar command to view the network card traffic. The premise is that when you keep listening to the network card. Set the subinterface when setting up the network card.
That is, your network card is bound to the sub interface. In this way, eth0:0 and eth0:1 can see t ...
Posted by XenoPhage on Mon, 08 Nov 2021 11:01:58 -0800
DL -- environment matching
preface
To start the in-depth learning journey, we must first determine where the alchemy furnace is placed. It is understood that the conventional platform combination includes:
win + anacondawin + wslubuntu + anacondaubuntu + docker
The above combination methods are used more frequently. Of course, GPU/CPU and tensorflow/pytorch are ba ...
Posted by Xoom3r on Mon, 08 Nov 2021 07:58:44 -0800
Detailed explanation of TCP communication process (matching code, case)
The location is different, and the ip address is different Network protocol is the collection of a group of network rules, which is the agreement or standard we abide by together. Common protocols TCP: UDP: HTTP: Port number: uniquely identifies an application (process) on a host Why layering: The data link layer solves the transmission be ...
Posted by stilgar on Sun, 07 Nov 2021 21:16:34 -0800
Linux device driver learning notes - character device driver - Note.1
Linux device driver learning notes - character device driver - Note.1
LINUX DEVICE DRIVERS,3RD EDITION
1, Character drive
[1] Primary and secondary equipment No
Character devices are accessed by names in the file system. Device files with names called file systems
Specify that they are located in the / dev directory. You can view thei ...
Posted by storyboo on Sun, 07 Nov 2021 18:38:23 -0800
docker of Linux system
The main contents of this chapter are as follows:
1, Install docker
Docker is an open source application container engine, which is based on Go language and complies with Apache 2.0 protocol. Docker allows developers to package their applications and dependency packages into a lightweight and portable container, and then publish them to ...
Posted by techiefreak05 on Sun, 07 Nov 2021 14:57:22 -0800
SRE operation and maintenance engineer's notes - Linux user group and permission management
Users, groups, and permissions
Content overview
Security model of LinuxUser and group related filesUser and group management commandsUnderstand and set file permissionsDefault permissionsspecial competenciesFile access control permissions
1. Linux Security Model
Resource allocation:
Authentication: authentication to verify the user's i ...
Posted by cerin on Sun, 07 Nov 2021 13:54:44 -0800
Linux server program specification, server log, user and relationship between processes
Server program specification
Linux server programs generally run as background processes (daemons). It does not control the terminal, so it will not accidentally receive user input. The parent process of the daemon is usually the init process (PID 1).A professional log system is required for the debugging and maintenance of the server. L ...
Posted by hammerloaf on Sun, 07 Nov 2021 11:31:49 -0800
[Linux system programming] Linux thread control primitive
This is the notes of Niuke Linux C + + course.
0. About threads
Note: LWP number is different from thread id. LWP number is the basis for CPU to allocate time slice, and thread id is used to distinguish threads within the process.
1. Difference between thread and process
For processes, the same address (the same virtual address) is used ...
Posted by php_tom on Sat, 06 Nov 2021 16:50:17 -0700
An online problem I solved at work
In many scenarios, the zookeeper cluster is used. For example, it uses its consistency ability and node monitoring ability to realize a variety of business functions.The problem encountered this time is that the zookeeper disk util is too high.First view the await index and util index of the disk through iostat, as shown in the following figure ...
Posted by maxrisc on Sat, 06 Nov 2021 13:34:02 -0700