Qt development experience tips 181-185
Qt is born in Linux and developed from Linux. Therefore, many Qt programmers often use Linux as their development environment, such as commonly used ubuntu and other systems, and sort out some commonly used linux commands.
commandfunctionsudo -sSwitch to the administrator. If it is sudo -i, the current directory will be changed after switching ...
Added by dc519 on Sat, 30 Oct 2021 14:34:00 +0300
FIFO pipeline
explain
Anonymous pipeline, which can only be used between processes with kinship, greatly limits the use of pipeline. The emergence of well-known pipeline breaks through this limitation. It can enable two unrelated processes to communicate with each other.
The pipeline can be indicated by a pathname and is visible in the file system. Aft ...
Added by audiodef on Sat, 30 Oct 2021 13:27:41 +0300
Kubernetes learning notes: building kubernetes cluster (ubuntu)
kubernetes experiment Add root user
zzs@master:~$ sudo passwd root
Change mirror source
root@master:/etc/apt# vim sources.list
#Clear all contents ggdG
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb ht ...
Added by alexville on Sat, 30 Oct 2021 07:33:28 +0300
k8s cluster deployment - Pod management and resource list
1, Pod management
Pod is the smallest deployable unit that can create and manage Kubernetes computing. A pod represents a process running in the cluster, and each pod has a unique ip.
A pod is similar to a pea pod and contains one or more containers (usually docker s). IPC, Network and UTC namespace are shared among multiple containers.
...
Added by bajer on Fri, 29 Oct 2021 14:05:56 +0300
Sentinel mode of Redis cluster scheme (high availability) (one master, two slave and three sentinels)
Sentinel mode of Redis cluster scheme (high availability) (one master, two slave and three sentinels)
Linux: conts7
Redis edition: 5.0.14
Link to the download page on the official website: https://redis.io/download
Third party Redis Recommended connection tools: RedisDesktopManager
Download from the official website: https://redisdes ...
Added by testtesttesttest on Thu, 28 Oct 2021 16:07:39 +0300
How to write a programming language yourself (first experiment in Unix system programming / U language interpretive language)
1. Experimental Requirements
1. Goals
Implement an interpretive language, Ulanguage, in C, so that it can be executed in the terminal Java and Python are explanatory languages that require an interpreter to interpret execution at execution time - interpret an instruction when you see it (advantages: cross-platform; disadvantages: ineffici ...
Added by neh on Wed, 27 Oct 2021 19:48:44 +0300
Solving cross source resource sharing (CORS) and automatic startup uwsgi - Day 09 on Amazon Linux 2
Solving cross source resource sharing (CORS) and automatic startup uwsgi - Day 09 on Amazon Linux 2
On the back end of the application, we have solved the following problems:
Database access: MariaDB.RESTful API implementation: upload pictures using post.Back end server integration: Nginx and merge Django.
Finally, there are two problems to ...
Added by mick_otoole on Wed, 27 Oct 2021 14:28:23 +0300
NXPi.MX6ULL porting RTL8188 WiFi module
Project scenario:
stay Overlooking Electronics Porting Python 3.9.5 to TW-AC6G-EVM development board:
Compilation environment and development package: Host: Ubuntu 18.04 Cross compiler: arm linux gnueabihf GCC QT5.12.8: qt-everywhere-opensource-src-5.12.8 Development board: TW-AC6G-EVM Linux: Linux-4.1.15 Serial port tool: Xshell
Note: all ...
Added by kharbat on Wed, 27 Oct 2021 08:23:03 +0300
[Linux] Supervisor usage details
[Linux] Supervisor usage details
1, Introduction to supervisor
Supervisor is a general process management program developed in Python. It can change an ordinary command-line process into a background daemon, monitor the process status, and automatically restart in case of abnormal exit. It starts these managed processes as child processes of ...
Added by Kawal on Wed, 27 Oct 2021 02:52:03 +0300
Greenplum cluster deployment and installation guide
catalogue
1, Official installation link
2, Greenplum installation file download
2. Install Greenplum
(1) Install gpdb
(2) Set password free login
(3) Create hostlist and standby on_ seg_ hosts,seg_only
(4) Use gpssh exkeys to get through all servers
(5) Confirm installation
3. Create a data store
(1) Create a data store on the master ...
Added by sameveritt on Tue, 26 Oct 2021 13:32:34 +0300