Docker installation and use tutorial
Docker
Docker installation
1. Uninstall old
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine
2. Install the r ...
Posted on Sun, 05 Dec 2021 06:38:39 -0500 by zohab
linux reads environment variables
Environment variables often need to be configured during custom software installation. The following lists various configuration methods for environment variables.
The environment of all the examples below is described as follows:
System: Ubuntu 14.0
User name: uusama
MySQL environment variable path needs to be configured: / home/uusama/mysql/ ...
Posted on Sun, 05 Dec 2021 03:06:41 -0500 by srboj
The Java non Web Springboot project is packaged and deployed to the Linux server (Maven, Gradle)
preface
Let's start directly. Non Web project deployment is very simple without complicated configuration
1, Modify pom.xml configuration file
Let me take Maven as an example
This is the case when my project is started locally. It is the same when the server is started after deployment. Stop it first.
Open pom.xml, compare whethe ...
Posted on Sun, 05 Dec 2021 01:27:33 -0500 by meomike2000
Linux System Programming II -- Makefile and gdb debugging
1, Makefile
1. What is Makefile
There are countless source files in a project, which are placed in several directories according to type, function and module. Makefile file defines a series of rules to specify which files need to be compiled first, which files need to be compiled later, which files need to be recompiled, and even more complex f ...
Posted on Sat, 04 Dec 2021 23:02:18 -0500 by Donovan
Linux multiprocess Programming II -- process creation and death
1, Process creation and related functions
1. Process creation
The system allows a process to create a new process. The new process is a sub process of the original process. The sub process can also create a new sub process to form a process tree structure model, and its related function is pid_t fork(void); The specific usage is as follows:
/* ...
Posted on Sat, 04 Dec 2021 16:47:53 -0500 by MiniMonty
How Linux views and tests disk IO performance
1. View disk IO performance
1.1 top command
The top command judges the current disk IO performance by viewing the wa% value of the CPU. If this value is too large, it is likely that the disk IO is too high. Of course, it may also be due to other reasons, such as too high network io.
The meanings of other parameters of the top command a ...
Posted on Sat, 04 Dec 2021 16:42:23 -0500 by dvd420
Multiplexer poll
poll
Like select, poll is also a ready event notification scheme. Poll has only one function, that is, waiting.Poll solves two select problems: there is no upper limit on the file descriptor that poll waits for.poll separates the input and output using variables. Therefore, each cycle does not need to be added again.
Introduction to poll ...
Posted on Fri, 03 Dec 2021 23:43:14 -0500 by 2DaysAway
Assembly LED experiment
Assembly language light LED
To get a new chip, the first thing to do is to drive its GPIO and control its GPIO output high and low levels.
GPIO port is one of the functions of IO port.
1, The next steps are inseparable from the chip Manual:
1. Enable all clocks and all clocks of GPIO
2.IO configuration, multiplexing GPIO
3. Set IO register
Conf ...
Posted on Fri, 03 Dec 2021 18:02:53 -0500 by Dillenger
L ocker container network
docker container network
Docker automatically provides three types of networks after installation, which can be viewed using the docker network ls command
[root@localhost ~]# docker network ls
NETWORK ID NAME DRIVER SCOPE
9692fae45042 bridge bridge local
cd5368439dc0 host host local
c49a1db81682 none ...
Posted on Fri, 03 Dec 2021 14:36:06 -0500 by Danicek
[user - authorization - permission management]
linux user management
Basic user overview
What are users
Users refer to those who can log in to the linux system normally, such as users who log in to King glory and users who log in to QQ
Why users
1. Each process (running program) on the system needs a specific user;2. In the company, ordinary users are usually used to manage th ...
Posted on Fri, 03 Dec 2021 09:33:58 -0500 by ih8telepathy.cm