linux-3. User and user group management

man useradd can view the following useful information 1, User profile 1.1 user information file / etc/passwd root: x:0:0:root:/root:/bin/bash field Effect 1st field User name 2nd field Password flag x: indicates that the user has a password, and finally goes to / etc/shadow to find the passw ...

Posted by Andrew B on Sat, 18 Jan 2020 07:52:56 +0100

Distribute keys in bulk and test for success

The process of completing a project is a project document. 1. Project demand analysis 2. Project implementation plan 3. Project implementation stage 4. Project acceptance test 5. Project sorting Report Remote service concept introduction: Remote service can download and transmit data remotely Using ssh ...

Posted by sun14php on Fri, 17 Jan 2020 04:46:13 +0100

Lecture on Linux Account Management

1. Manage user accounts 1. Overview of user accounts Linux controls access to resources based on user identity. 2. User Account Management 1) User Account Super user (root); Ordinary users; Program user; UID (User IDentify) user identification number; (1) User account file/etc/passwd The /etc/passwd file is used to hold basic informa ...

Posted by Iank1968 on Thu, 16 Jan 2020 21:17:57 +0100

Brief introduction of linux gcc strip command

Reading catalogue strip introduction strip example strip command usage Whether to strip in program development Reference material strip introduction strip is often used to remove some symbol table and debug symbol table information from the target file, so as to reduce the size of static librar ...

Posted by Deserteye on Thu, 16 Jan 2020 10:10:01 +0100

Docker making image

Structure of this chapter Layer of Docker image Basic creation method of Dockerfile Dockerfile creating various application containers Layer of Docker image Each instruction in the Dockerfile creates a new image layer The image layer will be cached and reused When the Dockerfile instruction is modified, the copied file changes, or the speci ...

Posted by TomNomNom on Tue, 14 Jan 2020 04:12:17 +0100

Android touch event delivery mechanism, as before

Preface To be a great Android developer, you need a complete Knowledge System Here, let's grow up as we want. 1. Understanding the composition of Activity An Activity contains a Window object, which is implemented by PhoneWindow.PhoneWindow uses DecorView as the root View of the entire application window, and this DecorView divides the screen i ...

Posted by rocket on Thu, 09 Jan 2020 06:51:30 +0100

Build Nginx Server and Deep Optimization

1. Introduction to NginxNginx is developed for performance optimization. Its greatest advantage is its stability, low system resource consumption, and high processing power for http concurrent connections. A single physical server can support 20,000-50,000 concurrent requests. This is why a large number of enterprises providing services such a ...

Posted by Slip on Mon, 06 Jan 2020 08:21:31 +0100

CentOS7 deploys docker version 19 (simple, follow up!)

1. Install dependency package [root@localhost ~]# yum install -y yum-utils device-mapper-persistent-data lvm2 2. Set alicloud image source [root@localhost ~]# yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 3. Installing docker CE [root@localhost ~]# yum install -y docker-ce 4. Turn off firewal ...

Posted by kidsleep on Mon, 06 Jan 2020 00:40:28 +0100

Detailed pod Scheduling for k8s

Usually, the default k8s scheduling method is used, but in some cases, we need to run the pod on the node with the characteristic label to run them all. At this time, the pod's scheduling policy can not use the default k8s scheduling policy. At this time, we need to specify the scheduling policy, telling k8s that we need to schedule the pod on ...

Posted by Wireless102 on Sun, 05 Jan 2020 22:12:08 +0100

Introduction to backup and recovery of mongodb

1. Introduction to installation environment: Installation environment for demo mongo:Binary installation package mongoDB3.6.16Grant mongodb the Super Administrator account: mongo --host 127.0.0.1 --port 6068 db.createUser({user: 'root', pwd:'TdLLQ6689', roles:[{role: 'root', db: 'admin'}]}); use admin db.auth("root","TdLLQ6689") Database build ...

Posted by raku on Sun, 05 Jan 2020 22:00:48 +0100