Detailed explanation of dpkg command in Ubuntu system
dpkg, package manager for Debian, is a major package management tool in Debian and Debian based systems. It can be used to install, build, uninstall and manage deb format software packages.
Install software
When installing software with the dpkg command, you can use the - i option and specify the path of the deb installation packa ...
Added by gevo12321 on Fri, 21 Jan 2022 22:04:48 +0200
Getting to know shell scripts
What is a shell?
Shell is a program written in C language, which is a bridge for users to use Linux;
Shell is not only a command language, but also a programming language;
Shell refers to an application that provides an interface through which users can access the services of the Linux kernel
Shell scripts include sh, bash, ksh, csh, ...
Added by michaewlewis on Fri, 21 Jan 2022 17:00:45 +0200
linux:uabntu Daily Operations
1. Shared Files 2. Install TensorFlow 3. Install python3
1. Shared Folders
Install vmware toolsVirtual Machine Turn off Ubuntu or you cannot add shared folders In the VMware Virtual Machine window, select VM->Settings->Options->Shared Folders Click Add on the right, click Next->Select the path to the Win7 shared directory, then cl ...
Added by brandye71 on Fri, 21 Jan 2022 16:41:46 +0200
[network socket] temperature reporting based on poll and epoll communication
poll function
poll is a function in the character device driver in Linux. poll is essentially no different from select. It copies the array passed in by the user to the kernel space, and then queries the device status corresponding to each fd. If the device is ready, add an item to the device waiting queue and continue to traverse. If no r ...
Added by FunkyELF on Fri, 21 Jan 2022 16:21:31 +0200
File rights management I
File rights management I
File rights management
##1, Linux user permission analysis
Our linux server has strict permission levels. If the permission is too high, misoperation will increase the risk of the server. Therefore, it is very important to understand various permissions in linux system and allocate reasonable permissions to users ...
Added by dragon_sa on Fri, 21 Jan 2022 10:43:19 +0200
Dock -- dockerfile to build LNMP environment
Dockerfile builds nginx and combines php
1. Build base image First, build a basic image, add a repo environment and a compilation environment, and the centos image is the initial official image. Later, build php, nginx and mysql, and use the image as base image:
[root@server myCentos]# cat Dockerfile #View Dockerfile file
# base image
FRO ...
Added by installer69 on Thu, 20 Jan 2022 17:58:37 +0200
Basic commands of docker
Help command
docker version
Displays the version information of docker docker info
Show docker details docker command -- help
View the help documentation for the command
Mirror command
docker images
View all local mirrorsparameter
-a displays all mirrors-q display id only docker search
You can also go to the docker hub ...
Added by robpoe on Thu, 20 Jan 2022 17:31:24 +0200
linux cannot ping the Internet, yum cannot be used, yum local source, ifconfig no command, centos7 mount centos7
1. Problem description
I just got a CentOS7 virtual machine. Although I have root permission, I found ifconfig prompt: no command found. The first reaction is that I didn't install net tools, and then Yum install net tools. The following error is reported
Plug in loaded: fastestmirror
Loading mirror speeds from cached hostfile
Could not r ...
Added by boushley on Thu, 20 Jan 2022 17:02:07 +0200
Flash + gunicorn enables web services to call Python/pytorch programs concurrently to solve the problem of multithreading / multiprocessing
Flash + gunicorn enables web services to call Python / Python programs concurrently to solve the problem of multithreading / multiprocessing
Project scenario:
Project requirements: forward the client's request to the flash program instance via the Web server and call the python / Python program. Problem Description: since the flame framework ...
Added by Vijay.Bansode on Thu, 20 Jan 2022 16:30:22 +0200
MySQL load balancing cluster deployment
Tip: after writing the article, the directory can be generated automatically. For how to generate it, please refer to the help document on the right
preface
Database server downtime may be encountered in real projects, so the cluster deployment of load balancing is very important. The main mode of MySQL + Haproxy+keepalived is adopted, ...
Added by ernie on Thu, 20 Jan 2022 16:00:18 +0200