docker environment configuration
Correct time zone time
# View current time
# Modify current time
$ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo 'Asia/Shanghai' > /etc/timezone
Replace the software source to aliyun
cp /etc/apt/sources.list /etc/apt/sources.list.bak
# Ubuntu14.0 aliyun source:
deb http://mir ...
Posted on Sun, 24 May 2020 19:17:31 -0700 by danlayton00
OS: Tencent cloud, CentOS7
Login authority: ordinary user
Docker version: 17.12.0-ce
Final implementation: visit the customized page of nginx server in the container
1. Check for nginx image
[sun@docker ~]$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
Posted on Sun, 03 May 2020 21:38:19 -0700 by phpnewbie112
Pictures from the Internet
artificial intelligence  At present, the hottest technology has profoundly changed human social life and the world. City Lions can't fall behind the times, TensorFlow  It is an artificial intelligence development framework developed by Google for machine learning and deep neural network. Here's how to use ...
Posted on Sun, 03 May 2020 07:12:23 -0700 by F.Danials
If you are managing Debian or Ubuntu servers, you may often use dpkg or apt get commands. These two commands are used to install, uninstall, and update packages.
In this article, let's look at how to check if a package is installed on a DEB based system.
To check whether a specific package, such as firefox, is install ...
Posted on Sat, 02 May 2020 12:31:17 -0700 by dadamssg
This article begins with: Chinese Community of Jenkins
Text Link Author: Johann Gyger
The integration of Vault and Kubernetes is illustrated with specific examples to make the use of passwords safer for applications running Kubernetes
Kubernetes has become the industry standard for container layouts, while Vau ...
Posted on Wed, 15 Apr 2020 17:28:40 -0700 by Antnee
PX4 official website has released a tutorial of using script to configure Linux firmware compilation environment. It only takes 5 steps to complete the steps required for PX4 firmware compilation:
Input the following command at the terminal:
sudo usermod -a -G dialout $USER
Log out and log back in
Save the followi ...
Posted on Tue, 14 Apr 2020 10:02:25 -0700 by Dr Evil
I've written an MVC framework before. It's a little low encapsulated. After a period of precipitation, I plan to reconstruct it This article A verification code class has been encapsulated.
There are several great achievements in the transformation of MVC
>All the code is written in Ubuntu+Vim, which was previously developed on windows. Th ...
Posted on Sun, 05 Apr 2020 22:09:31 -0700 by theweirdone
1. Each package has a globally unique import path
2. According to the Convention, the name of a package is the same as the last field of the package import path
Exercise 2.2: write a general unit conversion program. Read the parameters from the command line in the way similar to the cf program. If it is the default, read the parameters from the ...
Posted on Fri, 03 Apr 2020 07:55:20 -0700 by seanmayhew
Overview of slow query log
The so-called slow query log is used to record SQL statements with response time exceeding the set threshold in MySQL. By turning on the slow query switch, MySQL will record SQL with response time greater than the threshold in the log for performance analysis.
The slow query log option is off by default. If you want t ...
Posted on Tue, 31 Mar 2020 14:44:01 -0700 by misteraven
Background: When writing c++ using VS code before, you didn't use multiple files, so you didn't configure launch.jason and task.jason configurations too much, but you don't support multi-file compilation and debugging.
Note: Makefile is used mainly for larger projects involving the compilation of multiple files.If a header fi ...
Posted on Sat, 28 Mar 2020 09:53:20 -0700 by Wolfsoap