Update Ubuntu System & Replace Mirror Source
1. Upgrade the ubuntu version
premise
You can upgrade directly from Ubuntu 18.04 or Ubuntu 19.10 to version 20.04. If you run any previous release, you must upgrade to 18.04 or 19.10 first.
backups
First and foremost, make sure you back up your data before making a major upgrade to your operating system. If you're running Ubuntu on a vi ...
Posted by mrfritz379 on Sat, 09 Oct 2021 09:34:45 -0700
docke - docker introduction and installation
1, Docker introduction
1. Introduction
Docker is an open source application container engine and a lightweight container technology. Open source based on Go language and 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 an ...
Posted by tvaughan77 on Sat, 09 Oct 2021 06:23:30 -0700
day55 network security
Firewall
Firewall function
In the computer field, firewall is a device used to protect information security. It will allow or restrict data transmission according to user-defined rules.
A device used to protect intranet securityProtection according to rulesUser defined rulesAllow or deny access to external users
Firewall classifica ...
Posted by offsprg01 on Sat, 09 Oct 2021 05:11:45 -0700
Advanced ipc - dbus details
What is IPC
IPC [inter process communication] interprocess communication refers to some technologies or methods for transmitting data or signals between at least two processes or threads. In Linux/Unix, many IPC are provided. Seven IPC of UNIX:
Pipe: nameless pipe, the most basic IPC, one-way communication, only between parent / child process ...
Posted by joel danny on Sat, 09 Oct 2021 02:54:07 -0700
Linux C/C + + shared memory with message queue and semaphore encapsulation
Encapsulation of Linux 'C/C + + shared memory with message queue + semaphore
1, Train of thought
The server demo I do is divided into two servers: the front server and the rear server. The front server is used to receive information, contract and unpack, while the rear server is used to process the package business. The front and rear process ...
Posted by no_one on Fri, 08 Oct 2021 22:28:22 -0700
Ubuntu 18.04 installing OpenCV for image programming
The purpose of this paper is to compile and install the famous C/C + + image processing open source software library OpenCV3.4.12 on Ubuntu 18.04 system, and practice using OpenCV to process pictures and videos.
1, Compile and install OpenCV
1. Compile and install source code
Now there are some posts about installing OpenCV on the I ...
Posted by Hitman2oo2 on Fri, 08 Oct 2021 12:21:26 -0700
Linux builds Oracle database and makes remote connection
Project resource requirements
VMVare15 resource link: https://pan.baidu.com/s/1cVzeKjqu0Cmp4qMRDbFx8Q Extraction code: tdn4 CentOS7 image file link: https://pan.baidu.com/s/14QyfiXYYObdynswJlOoI1g Extraction code: 6cxp oracle11 Linux version link: https://pan.baidu.com/s/16hWmzGudLjUEpkRzHAOGZw Extraction code: y34w &e ...
Posted by Cosizzle on Fri, 08 Oct 2021 12:12:46 -0700
gcc generates static library. a and dynamic library. so and their instance usage
1, Generating. a static library and. so dynamic library with gcc
1. Example 1 explanation of Hello program
① Create a directory and edit the generated sample programs hello.h, hello.c, and main.c
(1) Example program hello.h
#ifndef HELLO_H
#define HELLO_H
void hello(const char *name);
#endif
(2) Example program hello.c
#include<st ...
Posted by outpost on Fri, 08 Oct 2021 03:49:23 -0700
Makefile related knowledge (based on the first phase of Weidong mountain course)
1. Disadvantages of traditional gcc -o instruction 9.5
Assuming that there are two C files, a.c and b.c, I call the function in b.c in the main function of A.C, then the compiler directive for generating executable program is:
gcc -o test a.c b.c
This instruction will preprocess, compile and assemble a.c and B.C respectively, finally ge ...
Posted by jfourman on Fri, 08 Oct 2021 01:38:46 -0700
[02] getting started with spring cloud Alibaba_ Nacos service registration and configuration center
1, Introduction to SpringCloud Alibaba Nacos
The full name of Nacos is Naming Configuration Service. Taking the first two letters of Naming and Configuration and s of Service, it is the Configuration management and Service management center.
In short, Nacos = Eureka + Config + Bus, that is, the combination of registry + configuration center. ...
Posted by Duodecillion on Thu, 07 Oct 2021 17:56:50 -0700