Summary of Linux environment variable configuration
01. Linux Environment Variable Configuration
When you customize software installation, you often need to configure environment variables. The following list shows how to configure environment variables.
The environment for all the examples below is illustrated as follows:
System: Ubuntu 14.0 User name: uusama MySQL environment variable p ...
Posted on Sun, 05 Dec 2021 19:26:03 -0500 by andco
make tool and makefile file foundation of Linux tools
Why use the make tool and makefile file
it is very simple for us to compile a helloWorld program with gcc command, because it has only one file. However, when multiple files are compiled into an executable file, the linker is required to link the target file. However, when our project is very large and there are many source files design ...
Posted on Wed, 01 Dec 2021 01:05:51 -0500 by waseembari1985
Socket service example: TCP (stream oriented socket) implements ECHO server and client
The so-called ECHO service is to print relevant parameters on the screen. The relevant application process is as follows:
Server logic
1. Create a server socket after the server is started, and always call accept after making corresponding settings (2) to wait for the connection of the client. After the client is connected normally, create a ...
Posted on Tue, 30 Nov 2021 02:03:22 -0500 by sarabjit
Alpha lighting LED lamp (V) BSP project management
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
preface
This is mainly to optimize the previous project, classify different files, learn how to sort out the project, create the folder classification of the project just like learning ...
Posted on Mon, 29 Nov 2021 00:24:23 -0500 by dreams4000
Install Ubuntu 18 + P4 + onos from scratch
1. Install VMware Tools (there are too many tutorials on installing Ubuntu for VM virtual machine, so I won't write them)
First download from the virtual machine, then move the folder in the compressed package out (you can decompress or directly click the compressed package to move out of the VMware Tools District folder), enter the folder and ...
Posted on Sun, 28 Nov 2021 22:06:35 -0500 by Sno
Get geographic location in fluent [fluent topic 61]
Hello, everyone. I am nuts. The official account is "nuts front end".
Get geographic location in fluent
Today, discovering user locations is a very common and powerful use case for mobile applications. If you've ever tried to implement location in Android, you'll know how complex and confusing the sample code can become.
But this ...
Posted on Sat, 27 Nov 2021 22:06:36 -0500 by wobbit
Summary of MongoDB learning notes (including errors, problems, techniques)
Environmental Science
OS: Ubuntu20.04
MongoDB: v5.0.2
Introduction to MongoDB
MongoDB is an open source document database that provides high performance, high availability, and automatic scaling to provide scalable high performance data storage solutions for WEB applications.
MongoDB is a product between relational and non-relational datab ...
Posted on Fri, 26 Nov 2021 15:12:50 -0500 by Cugel
Transplantation of Linux system EC20 module on NUC980 development board PPP dialing
1. EC20 module connection
For embedded Linux, 4G network connection is an easy function to realize. Most 4G module interfaces are MiniPCIE interfaces. After a deep understanding, it will be found that the communication interface of 4G module is USB, so the driver of 4G module often uses USB driver. As long as the USB driver is normal, the ...
Posted on Tue, 23 Nov 2021 19:57:46 -0500 by Jumba
Compile linux kernels, uklin swaps kernels
Compile Kernel
sudo apt-get install libncurses5-dev build-essential kernel-package
Experimental environment
Version issues use newer but more stable, the newest is unstable, don't believe you look at win11. VMware Workstation 16.2.1 Pro + Ubuntu Desktop 20.04.3 LTS + linux-5.10.78
Ubuntu Desktop 20.04.3 LTSV ...
Posted on Tue, 23 Nov 2021 15:15:35 -0500 by anfo
Linux - Ubuntu automatically blacklists IP addresses that fail to log in multiple times through SSH through shell script
1: Introduction to login related documents
Introduction to the three file logs of ubuntu: 1: / var/run/utmp: records the information of the currently logged in user. By default, who and w record the information of the currently logged in user, and uptime records the system startup time;
2: / var/log/wtmp: records the user information current ...
Posted on Tue, 23 Nov 2021 07:29:06 -0500 by jtravis