IaaS 平台构建 1.关闭防火墙,禁止开机自启 systemctl stop firewalld systemctl disable firewalld 2.设置主机名 hostnamectl set-hostname controller 设置主机名compute 3.设置selinux,per ...
分类:
其他好文 时间:
2021-04-29 12:11:43
阅读次数:
0
防火墙由netfilter组成,iptables是控制netfilter的软件 iptables(重点)- 用户空间的工具 环境准备 systemctl stop firewalld.service systemctl disable firewalld.service 或systemctl dis ...
分类:
系统相关 时间:
2021-04-28 12:11:32
阅读次数:
0
unique(arr) { const res = new Map(); return arr.filter( (arr) => !res.has(arr.strat_id) && res.set(arr.strat_id, 1) ); }, ...
分类:
编程语言 时间:
2021-04-28 12:04:33
阅读次数:
0
环境说明: node1: 192.168.44.128 服务端 (已经装好zabbix_agentd和zabbix_server) node2: 192.168.44.129 客户端 (已经装好zabbix_agentd) //配置本地邮箱[root@node1 ~]# systemctl stop ...
分类:
其他好文 时间:
2021-04-27 14:45:06
阅读次数:
0
<template> <div class="box"> <div class="swipers"> <template v-for="(item, index) in lists" > <div class="item" v-if="index==active" :key="'0'+index" ...
分类:
其他好文 时间:
2021-04-26 13:50:48
阅读次数:
0
First reader and writers problem (读者优先) no reader be kept waiting unless a writer has obtain permission to write semaphore rw=1, readcnt_m=1; int read ...
分类:
其他好文 时间:
2021-04-26 13:39:39
阅读次数:
0
意思就是在使用response.sendRedirect()或者request.getRequestDispatcher(args).forward(request,response)进行页面跳转时,后面还有未执行完的语句,解决方法就是在界面跳转语句时加return;或者竟可能把跳转语句加到末尾。 ...
分类:
其他好文 时间:
2021-04-26 13:35:56
阅读次数:
0
## 198. House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only co ...
分类:
其他好文 时间:
2021-04-23 12:11:50
阅读次数:
0
常用的基本操作列表 命令行 解释 创建container docker container create image_name 创建并运行container 及进入交互终端参数 docker container run -it image_id CMD -i 交互模式 -t 终端 -it 为分配一个 ...
分类:
其他好文 时间:
2021-04-20 15:28:37
阅读次数:
0
解决问题-》有的放矢 1.spark 报错 Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient reso ...
分类:
其他好文 时间:
2021-04-19 15:56:23
阅读次数:
0