首先在VM上安装好CentOS,我安装了CentOS 8 版本,接下来使用Docker官网安装方法https://docs.docker.com/engine/install/centos/,不过安装中出现了一些问题,一一解决。 1、安装过先卸载docker sudo yum remove dock ...
分类:
其他好文 时间:
2021-06-16 17:47:55
阅读次数:
0
#要求 1.为了能够备份和恢复,请确保你的系统上安装了Rsync #Debian/Ubauntu sudo apt-get install rsync # RHEL/Centos sudo yum install rsync 2.配置了与备份目标机器之间的免密认证 #修改gitlab配置文件: vi ...
分类:
其他好文 时间:
2021-06-15 18:36:38
阅读次数:
0
题目链接如下: https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/ 本题使用了如下两个方法: 哑结点:若给定的链表中没有空的头节点,设置一个哑结点在第一个结点前面,最后在删除掉。 如: 题目中给定 head 作为链表的 ...
分类:
其他好文 时间:
2021-06-15 18:34:04
阅读次数:
0
数组基本操作 和结构体类似,数组(array)也是一种复合数据类型,由一些列相同类型的元素(Element)组成,别觉得只能存储数字啊! 还是和结构体类似,数组的元素存储空间是相邻的,结构体的成员可以是基本数据类型,也可以是复合数据类型,数组的元素也是如此,根据相邻组合规则,我们甚至可以定义一个由四 ...
分类:
编程语言 时间:
2021-06-15 18:05:53
阅读次数:
0
You are given two strings s and p where p is a subsequence of s. You are also given a distinct 0-indexed integer array removable containing a subset o ...
分类:
其他好文 时间:
2021-06-15 18:05:39
阅读次数:
0
图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装、卸载和删除的方法。 一、Ubuntu中软件安装方法 1、APT方式 (1)普通安装:apt-get install softname1 ...
分类:
系统相关 时间:
2021-06-15 17:31:58
阅读次数:
0
You are given an array aa of nn integers. Find the number of pairs (i,j)(i<j)where the sum of ai+ajai+aj is greater than or equal to l and less than o ...
分类:
编程语言 时间:
2021-06-13 10:56:21
阅读次数:
0
获取元素有哪两种方法方法? 1 利用DOM提供的方法获取元素。 document.getElementbyId(),document.getELmenntbyTagName() document,getElementsByClassName('') document.querySelector('' ...
分类:
其他好文 时间:
2021-06-13 10:49:35
阅读次数:
0
CentOS 安装 git 教程 移除自带 git yum remove git 安装依赖 yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc yum install gcc perl- ...
分类:
其他好文 时间:
2021-06-13 10:37:37
阅读次数:
0
FPGA(Field Programmable Gate Array) 即现场可编程逻辑门阵列 我们都知道,所有的芯片都是由一个个晶体管组成 通过晶体管的不同组合来实现不同的功能 最常见的莫过于我们手机上的cpu 但是这些芯片的内部电路是固定的 只能完成特定功能 即使是cpu也是靠提前设计好的指令来 ...
分类:
其他好文 时间:
2021-06-13 10:13:53
阅读次数:
0