安装镜像:docker pull 镜像名称 查看所有运行容器:docker ps -a 运行容器:docker run --name 容器名称 进入指定容器:docker exec -it 容器名称 bash 重启容器:docker restart 容器名称 停止所有容器:docker stop $ ...
分类:
其他好文 时间:
2021-05-04 15:53:31
阅读次数:
0
jQ创建元素的方法 1.原生代码 .creatElement('tr')` .innerHTML = '<h1>加油</h1>' document.write('<h1>加油</h1>') 2.jQ代码 .html('加油')//会覆盖 A.append('<p>加油</p>')//不会覆盖,添加到 ...
分类:
Web程序 时间:
2021-04-30 12:04:59
阅读次数:
0
jQ创建表格的两种方法 1.模板字符串法 $(function () { //模板字符串的方式添加到页面 $('#btn').click(function () { let str = '' data.forEach(function (value) { str += ` <tr> <td>${va ...
分类:
Web程序 时间:
2021-04-30 12:03:48
阅读次数:
0
externals: 外部的,用户忽略 npm包 前提: 在index.js中引入jquery包,但是打包的时候,就算引入了还是不会进行打包,所以需要用到 cdn引进来 module.exports = { mode:'production', externals: { //忽略库名 --npm包名 ...
分类:
Web程序 时间:
2021-04-29 12:12:10
阅读次数:
0
IaaS 平台构建 1.关闭防火墙,禁止开机自启 systemctl stop firewalld systemctl disable firewalld 2.设置主机名 hostnamectl set-hostname controller 设置主机名compute 3.设置selinux,per ...
分类:
其他好文 时间:
2021-04-29 12:11:43
阅读次数:
0
#### jQuery的四种选择器 jQ选择器与css选择器本质上相差不大,但是在使用容易混淆格式或属性 ##### 1.基础选择器 $('#id名') $('.类名') $('.类名1 .类名2') $('标签名.类名') ##### 2.层级选择器 ###### 1.子代:> children ...
分类:
其他好文 时间:
2021-04-29 11:44:29
阅读次数:
0
防火墙由netfilter组成,iptables是控制netfilter的软件 iptables(重点)- 用户空间的工具 环境准备 systemctl stop firewalld.service systemctl disable firewalld.service 或systemctl dis ...
分类:
系统相关 时间:
2021-04-28 12:11:32
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> body{ text-align:center; } #small{ margin-top:40px; } #showBig{ position:absolute; displa ...
分类:
Web程序 时间:
2021-04-28 12:06:03
阅读次数:
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