" />

kubectl && YAML,深入理解pod对象(下)

2024/5/8 12:49:40

image.png

image.png

image.png

image.png

image.png


查看api的版本

[root@k8s-master src]# kubectl api-versions

admissionregistration.k8s.io/v1

admissionregistration.k8s.io/v1beta1

apiextensions.k8s.io/v1

apiextensions.k8s.io/v1beta1

apiregistration.k8s.io/v1

apiregistration.k8s.io/v1beta1

apps/v1

authentication.k8s.io/v1

authentication.k8s.io/v1beta1

authorization.k8s.io/v1

authorization.k8s.io/v1beta1

autoscaling/v1

autoscaling/v2beta1

autoscaling/v2beta2

batch/v1

batch/v1beta1

certificates.k8s.io/v1beta1

coordination.k8s.io/v1

coordination.k8s.io/v1beta1

events.k8s.io/v1beta1

extensions/v1beta1

networking.k8s.io/v1

networking.k8s.io/v1beta1

node.k8s.io/v1beta1

policy/v1beta1

rbac.authorization.k8s.io/v1

rbac.authorization.k8s.io/v1beta1

scheduling.k8s.io/v1

scheduling.k8s.io/v1beta1

storage.k8s.io/v1

storage.k8s.io/v1beta1

v1


[root@k8s-master src]# kubectl --help

kubectl controls the Kubernetes cluster manager.


 Find more information at:

https://kubernetes.io/docs/reference/kubectl/overview/


Basic Commands (Beginner):

  create         Create a resource from a file or from stdin.

  expose         Take a replication controller, service, deployment or pod and

expose it as a new Kubernetes Service

  run            Run a particular image on the cluster

  set            Set specific features on objects


Basic Commands (Intermediate):

  explain        Documentation of resources

  get            Display one or many resources

  edit           Edit a resource on the server

  delete         Delete resources by filenames, stdin, resources and names, or

by resources and label selector


Deploy Commands:

  rollout        Manage the rollout of a resource

  scale          Set a new size for a Deployment, ReplicaSet, Replication

Controller, or Job

  autoscale      Auto-scale a Deployment, ReplicaSet, or ReplicationController


Cluster Management Commands:

  certificate    Modify certificate resources.

  cluster-info   Display cluster info

  top            Display Resource (CPU/Memory/Storage) usage.

  cordon         Mark node as unschedulable

  uncordon       Mark node as schedulable

  drain          Drain node in preparation for maintenance

  taint          Update the taints on one or more nodes


Troubleshooting and Debugging Commands:

  describe       Show details of a specific resource or group of resources

  logs           Print the logs for a container in a pod

  attach         Attach to a running container

  exec           Execute a command in a container

  port-forward   Forward one or more local ports to a pod

  proxy          Run a proxy to the Kubernetes API server

  cp             Copy files and directories to and from containers.

  auth           Inspect authorization


Advanced Commands:

  diff           Diff live version against would-be applied version

  apply          Apply a configuration to a resource by filename or stdin

  patch          Update field(s) of a resource using strategic merge patch

  replace        Replace a resource by filename or stdin

  wait           Experimental: Wait for a specific condition on one or many

resources.

  convert        Convert config files between different API versions

  kustomize      Build a kustomization target from a directory or a remote url.


Settings Commands:

  label          Update the labels on a resource

  annotate       Update the annotations on a resource

  completion     Output shell completion code for the specified shell (bash or

zsh)


Other Commands:

  api-resources  Print the supported API resources on the server

  api-versions   Print the supported API versions on the server, in the form of

"group/version"

  config         Modify kubeconfig files

  plugin         Provides utilities for interacting with plugins.

  version        Print the client and server version information


Usage:

  kubectl [flags] [options]


Use "kubectl <command> --help" for more information about a given command.

Use "kubectl options" for a list of global command-line options (applies to all

commands).


image.png


用run命令生成yaml文件:

[root@k8s-master src]# kubectl create deployment web --image=nginx -o yaml --dry-run > deployment.yaml

[root@k8s-master src]# vim deployment.yaml 

apiVersion: apps/v1

kind: Deployment

metadata:

  labels:

    app: web

  name: web

spec:

  replicas: 1

  selector:

    matchLabels:

      app: web

  strategy: {}

  template:

    metadata:

      labels:

        app: web

    spec:

      containers:

      - image: nginx

        name: nginx

        resources: {}


用get命令导出yaml文件

[root@k8s-master src]# kubectl get deploy  

NAME    READY   UP-TO-DATE   AVAILABLE   AGE

nginx   1/1     1            1           10h

web     0/1     1            0           5m41s

web2    1/1     1            1           7h15m

[root@k8s-master src]# kubectl get deploy web

NAME   READY   UP-TO-DATE   AVAILABLE   AGE

web    0/1     1            0           5m51s

[root@k8s-master src]# kubectl get deploy web -o yaml

apiVersion: apps/v1

kind: Deployment

metadata:

  annotations:

    deployment.kubernetes.io/revision: "1"

  creationTimestamp: "2020-02-12T12:55:39Z"

  generation: 1

  labels:

    app: web

  name: web

  namespace: default

  resourceVersion: "56329"

  selfLink: /apis/apps/v1/namespaces/default/deployments/web

  uid: 74f83717-d28b-404e-a8a2-ed6a6bb601b6

spec:

  progressDeadlineSeconds: 600

  replicas: 1

  revisionHistoryLimit: 10

  selector:

    matchLabels:

      app: web

  strategy:

    rollingUpdate:

      maxSurge: 25%

      maxUnavailable: 25%

    type: RollingUpdate

  template:

    metadata:

      creationTimestamp: null

      labels:

        app: web

    spec:

      containers:

      - image: nginx

        imagePullPolicy: Always

        name: nginx

        resources: {}

        terminationMessagePath: /dev/termination-log

        terminationMessagePolicy: File

      dnsPolicy: ClusterFirst

      restartPolicy: Always

      schedulerName: default-scheduler

      securityContext: {}

      terminationGracePeriodSeconds: 30

status:

  conditions:

  - lastTransitionTime: "2020-02-12T12:55:39Z"

    lastUpdateTime: "2020-02-12T12:55:39Z"

    message: Deployment does not have minimum availability.

    reason: MinimumReplicasUnavailable

    status: "False"

    type: Available

  - lastTransitionTime: "2020-02-12T12:55:39Z"

    lastUpdateTime: "2020-02-12T12:55:39Z"

    message: ReplicaSet "web-d86c95cc9" is progressing.

    reason: ReplicaSetUpdated

    status: "True"

    type: Progressing

  observedGeneration: 1

  replicas: 1

  unavailableReplicas: 1

  updatedReplicas: 1


[root@k8s-master src]# kubectl get deploy web -o yaml --export > deployment2.yaml 

Flag --export has been deprecated, This flag is deprecated and will be removed in future.


注释掉的可以去掉

[root@k8s-master src]# cat deployment2.yaml 

apiVersion: apps/v1

kind: Deployment

metadata:

#  annotations:

#    deployment.kubernetes.io/revision: "1"

#  creationTimestamp: null

#  generation: 1

  labels:

    app: web

  name: web

#  selfLink: /apis/apps/v1/namespaces/default/deployments/web

spec:

#  progressDeadlineSeconds: 600

  replicas: 1

#  revisionHistoryLimit: 10

  selector:

    matchLabels:

      app: web

  strategy:

    rollingUpdate:

      maxSurge: 25%

      maxUnavailable: 25%

    type: RollingUpdate

  template:

    metadata:

#      creationTimestamp: null

      labels:

        app: web

    spec:

      containers:

      - image: nginx

        imagePullPolicy: Always

        name: nginx

        resources: {}

#        terminationMessagePath: /dev/termination-log

#        terminationMessagePolicy: File

#      dnsPolicy: ClusterFirst

      restartPolicy: Always

#      schedulerName: default-scheduler

#      securityContext: {}

#      terminationGracePeriodSeconds: 30

#status: {}


过滤后得出以下文本:

[root@k8s-master src]# grep -Ev "^#" deployment2.yaml 

apiVersion: apps/v1

kind: Deployment

metadata:

  labels:

    app: web

  name: web

spec:

  replicas: 1

  selector:

    matchLabels:

      app: web

  strategy:

    rollingUpdate:

      maxSurge: 25%

      maxUnavailable: 25%

    type: RollingUpdate

  template:

    metadata:

      labels:

        app: web

    spec:

      containers:

      - image: nginx

        imagePullPolicy: Always

        name: nginx

        resources: {}

      restartPolicy: Always


[root@k8s-master src]# kubectl explain pods

KIND:     Pod

VERSION:  v1


DESCRIPTION:

     Pod is a collection of containers that can run on a host. This resource is

     created by clients and scheduled onto hosts.


FIELDS:

   apiVersion   <string>

     APIVersion defines the versioned schema of this representation of an

     object. Servers should convert recognized schemas to the latest internal

     value, and may reject unrecognized values. More info:

     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources


   kind <string>

     Kind is a string value representing the REST resource this object

     represents. Servers may infer this from the endpoint the client submits

     requests to. Cannot be updated. In CamelCase. More info:

     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds


   metadata     <Object>

     Standard object's metadata. More info:

     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata


   spec <Object>

     Specification of the desired behavior of the pod. More info:

     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status


   status       <Object>

     Most recently observed status of the pod. This data may not be up to date.

     Populated by the system. Read-only. More info:

     

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status



[root@k8s-master src]# kubectl explain pods.spec.containers

KIND:     Pod

VERSION:  v1


RESOURCE: containers <[]Object>


DESCRIPTION:

     List of containers belonging to the pod. Containers cannot currently be

     added or removed. There must be at least one container in a Pod. Cannot be

     updated.


     A single application container that you want to run within a pod.


FIELDS:

   args <[]string>

     Arguments to the entrypoint. The docker image's CMD is used if this is not

     provided. Variable references $(VAR_NAME) are expanded using the

     container's environment. If a variable cannot be resolved, the reference in

     the input string will be unchanged. The $(VAR_NAME) syntax can be escaped

     with a double $$, ie: $$(VAR_NAME). Escaped references will never be

     expanded, regardless of whether the variable exists or not. Cannot be

     updated. More info:

     https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell


   command      <[]string>

     Entrypoint array. Not executed within a shell. The docker image's

     ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME)

     are expanded using the container's environment. If a variable cannot be

     resolved, the reference in the input string will be unchanged. The

     $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME).

     Escaped references will never be expanded, regardless of whether the

     variable exists or not. Cannot be updated. More info:

     https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell


   env  <[]Object>

     List of environment variables to set in the container. Cannot be updated.


   envFrom      <[]Object>

     List of sources to populate environment variables in the container. The

     keys defined within a source must be a C_IDENTIFIER. All invalid keys will

     be reported as an event when the container is starting. When a key exists

     in multiple sources, the value associated with the last source will take

     precedence. Values defined by an Env with a duplicate key will take

     precedence. Cannot be updated.


   image        <string>

     Docker image name. More info:

     https://kubernetes.io/docs/concepts/containers/images This field is

     optional to allow higher level config management to default or override

     container images in workload controllers like Deployments and StatefulSets.


   imagePullPolicy      <string>

     Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always

     if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated.

     More info:

     https://kubernetes.io/docs/concepts/containers/images#updating-images


   lifecycle    <Object>

     Actions that the management system should take in response to container

     lifecycle events. Cannot be updated.


   livenessProbe        <Object>

     Periodic probe of container liveness. Container will be restarted if the

     probe fails. Cannot be updated. More info:

     https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes


   name <string> -required-

     Name of the container specified as a DNS_LABEL. Each container in a pod

     must have a unique name (DNS_LABEL). Cannot be updated.


   ports        <[]Object>

     List of ports to expose from the container. Exposing a port here gives the

     system additional information about the network connections a container

     uses, but is primarily informational. Not specifying a port here DOES NOT

     prevent that port from being exposed. Any port which is listening on the

     default "0.0.0.0" address inside a container will be accessible from the

     network. Cannot be updated.


   readinessProbe       <Object>

     Periodic probe of container service readiness. Container will be removed

     from service endpoints if the probe fails. Cannot be updated. More info:

     https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes


   resources    <Object>

     Compute Resources required by this container. Cannot be updated. More info:

     https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/


   securityContext      <Object>

     Security options the pod should run with. More info:

     https://kubernetes.io/docs/concepts/policy/security-context/ More info:

     https://kubernetes.io/docs/tasks/configure-pod-container/security-context/


   startupProbe <Object>

     StartupProbe indicates that the Pod has successfully initialized. If

     specified, no other probes are executed until this completes successfully.

     If this probe fails, the Pod will be restarted, just as if the

     livenessProbe failed. This can be used to provide different probe

     parameters at the beginning of a Pod's lifecycle, when it might take a long

     time to load data or warm a cache, than during steady-state operation. This

     cannot be updated. This is an alpha feature enabled by the StartupProbe

     feature flag. More info:

     https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes


   stdin        <boolean>

     Whether this container should allocate a buffer for stdin in the container

     runtime. If this is not set, reads from stdin in the container will always

     result in EOF. Default is false.


   stdinOnce    <boolean>

     Whether the container runtime should close the stdin channel after it has

     been opened by a single attach. When stdin is true the stdin stream will

     remain open across multiple attach sessions. If stdinOnce is set to true,

     stdin is opened on container start, is empty until the first client

     attaches to stdin, and then remains open and accepts data until the client

     disconnects, at which time stdin is closed and remains closed until the

     container is restarted. If this flag is false, a container processes that

     reads from stdin will never receive an EOF. Default is false


   terminationMessagePath       <string>

     Optional: Path at which the file to which the container's termination

     message will be written is mounted into the container's filesystem. Message

     written is intended to be brief final status, such as an assertion failure

     message. Will be truncated by the node if greater than 4096 bytes. The

     total message length across all containers will be limited to 12kb.

     Defaults to /dev/termination-log. Cannot be updated.


   terminationMessagePolicy     <string>

     Indicate how the termination message should be populated. File will use the

     contents of terminationMessagePath to populate the container status message

     on both success and failure. FallbackToLogsOnError will use the last chunk

     of container log output if the termination message file is empty and the

     container exited with an error. The log output is limited to 2048 bytes or

     80 lines, whichever is smaller. Defaults to File. Cannot be updated.


   tty  <boolean>

     Whether this container should allocate a TTY for itself, also requires

     'stdin' to be true. Default is false.


   volumeDevices        <[]Object>

     volumeDevices is the list of block devices to be used by the container.

     This is a beta feature.


   volumeMounts <[]Object>

     Pod volumes to mount into the container's filesystem. Cannot be updated.


   workingDir   <string>

     Container's working directory. If not specified, the container runtime's

     default will be used, which might be configured in the container image.

     Cannot be updated.


image.png

image.png

image.png

image.png

image.png


共享存储挂载文件pods文件

[root@k8s-master src]# cat pod2.yaml 

apiVersion: v1

kind: Pod

metadata:

  name: my-pod

spec:

  containers:

  - name: write

    image: centos

    command: ["bash","-c","for i in {1..100};do echo $i >> /data/hello;sleep 1;done"]

    volumeMounts:

      - name: data

        mountPath: /data


  - name: read

    image: centos

    command: ["bash","-c","tail -f /data/hello"]

    volumeMounts:

      - name: data

        mountPath: /data


  volumes:

  - name: data

    emptyDir: {}


[root@k8s-master src]# kubectl apply -f pod2.yaml 

pod/my-pod created


[root@k8s-master ~]# kubectl describe pod my-pod

Name:         my-pod

Namespace:    default

Priority:     0

Node:         k8s-node2/192.168.1.113

Start Time:   Fri, 14 Feb 2020 17:52:46 +0800

Labels:       <none>

Annotations:  kubectl.kubernetes.io/last-applied-configuration:

                {"apiVersion":"v1","kind":"Pod","metadata":{"annotations":{},"name":"my-pod","namespace":"default"},"spec":{"containers":[{"command":["bas...

Status:       Running

IP:           10.244.2.4

IPs:

  IP:  10.244.2.4

Containers:

  write:

    Container ID:  docker://f01cf9f40fcee2dd9648f47afe37f8955638edf98a9a2781f10b8883a95c8f3f

    Image:         centos

    Image ID:      docker-pullable://centos@sha256:117e36305910770bf4c052085d4c51fc1bd54e345fd4a1ae7cc8761bc00e8c4a

    Port:          <none>

    Host Port:     <none>

    Command:

      bash

      -c

      for i in {1..100};do echo $i >> /data/hello;sleep 1;done

    State:          Waiting

      Reason:       CrashLoopBackOff

    Last State:     Terminated

      Reason:       Completed

      Exit Code:    0

      Started:      Fri, 14 Feb 2020 21:21:47 +0800

      Finished:     Fri, 14 Feb 2020 21:23:27 +0800

    Ready:          False

    Restart Count:  32

    Environment:    <none>

    Mounts:

      /data from data (rw)

      /var/run/secrets/kubernetes.io/serviceaccount from default-token-kcfk2 (ro)

  read:

    Container ID:  docker://cc4342804fe91df937a308dfc3e8e01b5Oc25179ea6c2db2120b328e4630a1d8

    Image:         centos

    Image ID:      docker-pullable://centos@sha256:117e36305910770bf4c052085d4c51fc1bd54e345fd4a1ae7cc8761bc00e8c4a

    Port:          <none>

    Host Port:     <none>

    Command:

      bash

      -c

      tail -f /data/hello

    State:          Running

      Started:      Fri, 14 Feb 2020 18:09:44 +0800

    Ready:          True

    Restart Count:  0

    Environment:    <none>

    Mounts:

      /data from data (rw)

      /var/run/secrets/kubernetes.io/serviceaccount from default-token-kcfk2 (ro)

Conditions:

  Type              Status

  Initialized       True 

  Ready             False 

  ContainersReady   False 

  PodScheduled      True 

Volumes:

  data:

    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)

    Medium:     

    SizeLimit:  <unset>

  default-token-kcfk2:

    Type:        Secret (a volume populated by a Secret)

    SecretName:  default-token-kcfk2

    Optional:    false

QoS Class:       BestEffort

Node-Selectors:  <none>

Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s

                 node.kubernetes.io/unreachable:NoExecute for 300s

Events:

  Type     Reason   Age                    From                Message

  ----     ------   ----                   ----                -------

  Warning  BackOff  56s (x638 over 3h11m)  kubelet, k8s-node2  Back-off restarting failed container


查看my-pod调度到哪台机器上面:

[root@k8s-master src]# kubectl get pods -o wide

NAME                     READY   STATUS             RESTARTS   AGE     IP           NODE        NOMINATED NODE   READINESS GATES

my-pod                   1/2     CrashLoopBackOff   34         3h46m   10.244.2.4   k8s-node2   <none>           <none>

nginx-86c57db685-wpkxv   1/1     Running            0          2d11h   10.244.2.2   k8s-node2   <none>           <none>

web-d86c95cc9-8xm8v      1/1     Running            0          2d      10.244.1.4   k8s-node1   <none>           <none>

web2-6884cc5665-qr9bh    1/1     Running            0          2d7h    10.244.2.3   k8s-node2   <none>           <none>


在k8s-node2上面寻找目录

[root@k8s-node2 ~]# docker ps |grep my-pod

cc4342804fe9        centos                                               "bash -c 'tail -f /d…"   3 hours ago         Up 3 hours                              k8s_read_my-pod_default_201e4696-e2be-4e14-a929-480c3267495d_0

b8a789ea68fb        registry.aliyuncs.com/google_containers/pause:3.1    "/pause"                 4 hours ago         Up 4 hours                              k8s_POD_my-pod_default_201e4696-e2be-4e14-a929-480c3267495d_0


进入到对应目录就可以查看容器到挂载到主机上面的目录

[root@k8s-node2 data]# cd /var/lib/kubelet/pods/201e4696-e2be-4e14-a929-480c3267495d/volumes/kubernetes.io~empty-dir/data

[root@k8s-node2 data]# ls

hello

[root@k8s-node2 data]# tailf hello 

91

92

93

94

95

96

97

98

99

100


image.png

image.png


创建仓库的凭据:

 kubectl create secret docker-registry NAME --docker-username=user --docker-password=password --docker-email=email

[--docker-server=string] [--from-literal=key1=value1] [--dry-run] [options]


image.png

image.png

image.png

image.png

查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. Linux系统中的文件传输优化

    scp命令 scp在传输的时候,速率相对而言较慢,但不会加大磁盘输入输出的负载rsync(远程同步) 准备实验素材在输入密码的时候也会加长时间加密:不用输入密码,直接进行生成如图所示的脚本,使进行三次操作,观察scp和rsync运行的时间rsync的用法 文件的归档压缩...

    2024/4/16 15:03:40
  2. Jenkins+Gitlab实现持续集成

    一、Jenkins及持续集成 1)什么是Jenkins? Jenkins是一个开源软件项目,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能。Jenkins是基于Java开发的一种持续集成工具,用于监控持续重复的工作,功能包括:1)持续的软件版本发布/测试项目;2)监控外部调用执行的工…...

    2024/4/16 15:04:00
  3. Linux基本介绍和一些简单指令

    1.什么是Linux是一个“操作系统”最常用的“桌面”操作系统Windows最常用的服务器端操作系统,Linux最常用的移动端操作系统IOS,Android(本质也是Linux)更本质的说,Linux是一个操作系统内核操作系统=内核+一组配套的应用程序现在我们使用的Linux系统是Centos6在Linux内核的…...

    2024/4/20 17:32:02
  4. python 学习笔记--阿里、(腾讯)云升级python

    python简介 支持的系统:跨平台 优点:开发效率高 缺点:执行速度慢 应用面:网站开发、自动化运维、游戏开发、爬虫、数据分析、人工智能 实验环境阿里云、腾讯云 查看python版本 [root@Tencent ~]# python Python 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 201506…...

    2024/4/19 15:53:53
  5. Linux软件管理 - 解压安装

    Linux软件管理 - 解压安装 文本关键字:Linux、软件安装、打包解压、环境变量 一、Linux压缩包介绍 与Windows一样,在Linux系统中也可以对各种压缩格式进行操作。只要有相关的工具,就可以对生成各种压缩格式的文件或解压缩。在Linux中,主要的包管理工具就是tar,主要使用的两…...

    2024/4/16 15:04:46
  6. 2019来自互联网职场的教训

    领英中国发布的《2019年度求职体验调研报告》显示,互联网行业裸辞比例达52.8%,像贝灿一样由于公司因素如领导、团队、薪资等选择裸辞的占比超过四成。离开校园、步入职场后的日子总是过得很快,尤其是互联网职场,钢筋铁骨铸就的城市森林之下,是一个个面目模糊的身影,匆匆移…...

    2024/4/24 8:31:09
  7. 编译安装Redis及使用systemd管理

    环境OS redis 版本 防火墙和selinuxCentOS7 4.0.14 关闭安装步骤 安装前装备 1.因为redis是用C编写的,所以需要安装gcc #yum -y install gcc 2.下载redis源码包 #wget -P /usr/local/src/ http://download.redis.io/releases/redis-4.0.14.tar.gz 编译安装 #cd /usr/local/src…...

    2024/4/24 8:31:09
  8. Shell脚本入门到深入教程:快速入门

    本篇是快速入门教程,后面的文章再对相关内容进行深入。 Shell脚本基础入门 Bash注释 Bash只支持单行注释,使用#开头的都被当作注释语句: # 整行注释 echo hello world # 行尾注释 通过Bash的一些特性,可以取巧实现多行注释: : 注释1 注释2 : <<EOF 注释1 注释2 EOF…...

    2024/4/24 8:31:07
  9. 快速部署一个kubernetes集群

    k8s-master上面的步骤:[root@k8s-master ~]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.1.111 k8s-master192.168.1.112 k…...

    2024/4/24 8:31:09
  10. 二、Docker使用模板创建镜像、容器管理、仓库管理、数据管理

    一、Docker使用模板创建镜像首先下载一个模板http://download.openvz.org/template/precreated///下载速度不快,下载了一个centos6的模板centos-6-x86-minimal.tar.gz[root@fuxi01 ~]# wget http://download.openvz.org/template/precreated/centos-6-x86-minimal.tar.gz 导入…...

    2024/4/24 8:31:05
  11. 第 5 章 shell编程_课后题

    考试题1:用source执行脚本和用bash执行Shell脚本的区别是什么?souce执行脚本相当于是在一个shell当中,而bash执行脚本相当于开启了一个子shell。就变量而言,一个shell当中执行的变量是可以用的,而子shell的变量,父shell中是不能继承的,子脚本执行完后,变量就失效了。 考…...

    2024/4/24 8:31:04
  12. Kubernetes集群部署 上

    概述 K8S集群部署有几种方式:kubeadm、minikube和二进制包。前两者属于自动部署,简化部署操作。而在生成环境中一般使用二进制包部署,以下就是使用二进制包部署Kubernetes集群。 架构总规划图环境准备 三台主机,一台作为master节点,二台作为node节点。 其中master节点需要…...

    2024/4/24 8:31:03
  13. Kubernetes()minikube的安装)

    KubernetesKubernetes是一个开源的Docker容器编排系统,Kubernetes简称K8S。调度计算集群的节点,动态管理上面的作业通过使用[labels]和[pods]的概念,将应用按逻辑单元进行分组K8S用于容器应用程序的部署,扩展和管理K8S提供了容器编排,资源调度,弹性伸缩,部署管理,服务发…...

    2024/4/24 8:31:02
  14. K8S 之 Jenkins安装

    一、Jenkins安装准备条件 #在运维主机操作: 1.准备镜像 ~]# docker pull jenkins/jenkins:2.190.3 ~]# docker images | grep jenkins ~]# docker tag 22b8b9a84dbe test-harbor.cedarhd.com/public/jenkins:v2.190.3 ~]# docker push test-harbor.cedarhd.com/public/jenkins…...

    2024/4/24 8:31:04
  15. Linux磁盘扩容教程

    步骤1:查看磁盘大小 fdisk -l 步骤2:卸载分区 umount /www 步骤3:删除分区并重新建立分区 fdisk /etc/sdb d n p w 步骤4:卸载分区并检查文件系统 umount /dev/sdb1 umount /www e2fsck -f /dev/sdb1 (ext4文件系统) xfs_repair /dev/sdb1 (xfs文件系统) 步骤5:挂载目录…...

    2024/4/24 8:31:00
  16. 借用 AWS 服务 CodePipeling + ECS 实现蓝绿发布 (awscli)

    一、架构图 1.1、架构图1.2、一些文件解释buildspec.yaml: 主要是 codebuile 在构建过程中需要的一个文件,用了告知如何构建。 appspec.yaml: 是 codedeploy 在部署过程中的修订文件,可以比作为一个环境变量配置文件吧。 taskdef.json:是我们的 ECS task 的一个定义文件,有…...

    2024/4/24 8:30:59
  17. 统计指定目录文件夹个数和文件类型和文件总大小

    #!/usr/bin/env python# encoding: utf-8"""@author: eguotangseng@file: file_type.py@time: 2020/02/11 """import os """通过给定目录,统计所有的不同子文件类型及占用内存""" size_dict = {}type_dict = {} …...

    2024/4/24 8:30:58
  18. #IT明星不是梦# 疫情期间远程办公必备指南,延期开工必看

    2020年的春节让一场突如其来的疫情,打乱了企业节后正常复工的节奏,目前各企业会陆续在2月10日上班,在此境况下,如何在防范疫情的同时,并保障企业顺利开工成为面临的头等大事。现在有不少企业,特别是一些互联网公司,开始尝试一种新策略:远程办公。 我们公司已经在2月3号…...

    2024/4/16 15:04:51
  19. kubernetes核心概念

    ...

    2024/5/6 6:18:37
  20. Linux性能调优的优化思路

    Linux操作系统是一个开源产品,也是一个开源软件的实践和应用平台,在这个平台下有无数的开源软件支撑,我们常见的有apache、tomcat、nginx、mysql、php等等,开源软件的最大理念就是自由、开放,那么Linux作为一个开源平台,最终要实现的是通过这些开源软件的支持,以低廉的成…...

    2024/4/16 15:05:02

最新文章

  1. 组合模式(Composite)——结构型模式

    组合模式(Composite)——结构型模式 组合模式是一种结构型设计模式&#xff0c; 你可以使用它将对象组合成树状结构&#xff0c; 并且能通过通用接口像独立整体对象一样使用它们。如果应用的核心模型能用树状结构表示&#xff0c; 在应用中使用组合模式才有价值。 例如一个场景…...

    2024/5/8 12:49:04
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/5/7 10:36:02
  3. yolov9直接调用zed相机实现三维测距(python)

    yolov9直接调用zed相机实现三维测距&#xff08;python&#xff09; 1. 相关配置2. 相关代码2.1 相机设置2.2 测距模块2.2 实验结果 相关链接 此项目直接调用zed相机实现三维测距&#xff0c;无需标定&#xff0c;相关内容如下&#xff1a; 1. yolov4直接调用zed相机实现三维测…...

    2024/5/7 4:57:37
  4. 【干货】零售商的商品规划策略

    商品规划&#xff0c;无疑是零售业的生命之源&#xff0c;是推动业务腾飞的强大引擎。一个精心策划的商品规划策略&#xff0c;不仅能帮助零售商在激烈的市场竞争中稳固立足&#xff0c;更能精准捕捉客户需求&#xff0c;实现利润最大化。以下&#xff0c;我们将深入探讨零售商…...

    2024/5/5 12:33:12
  5. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/5/8 6:01:22
  6. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/5/7 9:45:25
  7. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/5/4 23:54:56
  8. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/5/7 14:25:14
  9. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/5/4 23:54:56
  10. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/5/4 23:55:05
  11. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/5/4 23:54:56
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/5/7 11:36:39
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/5/4 23:54:56
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/5/6 1:40:42
  15. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/5/4 23:54:56
  16. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/5/4 23:55:17
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/5/7 9:26:26
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/5/4 23:54:56
  19. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/5/4 23:55:06
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/5/5 8:13:33
  21. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/5/4 23:55:16
  22. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/5/4 23:54:58
  23. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/5/6 21:42:42
  24. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/5/4 23:54:56
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57