一、防火墙的开启、关闭、禁用命令 (1)设置开机启用防火墙:systemctl enable firewalld.service (2)设置开机禁用防火墙:systemctl disable firewalld.service (3)启动防火墙:systemctl start firewalld ( ...
分类:
系统相关 时间:
2021-06-02 13:23:22
阅读次数:
0
环境准备 0. 服务器环境 系统版本 IP 配置 主机名 CentOS Linux release 7.4.1708 192.168.1.183 8核32g 40G磁盘 node1 CentOS Linux release 7.4.1708 192.168.1.185 4核8g 40G磁盘 node ...
分类:
其他好文 时间:
2021-06-02 13:15:54
阅读次数:
0
有时候需要查看一些日志文件,然后要从底部开始查看的话 可以按 shift+g 即可跳到文件底部 要返回文件顶部的时候 按 gg即可 ...
分类:
系统相关 时间:
2021-06-02 13:09:42
阅读次数:
0
AI算子列表 概述 目前只有部分算子可在一个库中同时运行在MLU220和MLU270平台。也就是用户使用 ./build_cnplugin.sh --mlu270 命令编译生成的 libcnplugin.so 文件可同时在MLU220和MLU270上运行,其余算子只能在MLU270上运行。支持MLU ...
分类:
其他好文 时间:
2021-06-02 13:02:34
阅读次数:
0
C:\Users\xuefen.lv>nrm ls 'nrm' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 解决方法: 安装nrm npm install nrm -g ...
分类:
其他好文 时间:
2021-06-02 12:59:54
阅读次数:
0
描述:编写一个函数来查找字符串数组中的最长公共前缀。如果不存在公共前缀,返回空字符串 ""。例如输入:strs = ["flower","flow","flight"],输出:"fl"。输入:strs =["dog","racecar","car",输出:""。 思路一:横向扫描,从第一个开始,把第 ...
分类:
编程语言 时间:
2021-06-02 12:53:32
阅读次数:
0
还是5.7.29,还是CentOS 7 二进制包安装MySQL 一、下载 安装依赖包 yum install ncurses-devel.x86_64 libaio.x86_64 -y 下载MySQL二进制包 方法一:使用wget命令直接下载 wget https://downloads.mysql ...
分类:
数据库 时间:
2021-06-02 12:51:22
阅读次数:
0
Checking out and building Chromium on Linux https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/build_instructions.md ...
分类:
系统相关 时间:
2021-06-02 12:50:21
阅读次数:
0
基于Redisson的分布式锁。 使用apollo的addChangeListener方法监听配置。 Redis Pttl 命令以毫秒为单位返回 key 的剩余过期时间。pexpire 以毫秒为单位设置 key 的生存时间Psetex 命令以毫秒为单位设置 key 的生存时间 1、通过以下方法创建r ...
分类:
其他好文 时间:
2021-06-02 12:48:39
阅读次数:
0
一、环境 *centos7.6 二、安装步骤 *设置yum源 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager --add-repo htt ...
分类:
其他好文 时间:
2021-06-02 12:47:47
阅读次数:
0