1.安装nodejs, node -v 显示版本号安装成功 安装cnpm 修改淘宝镜像源:npm install -g cnpm --registry=https://registry.npm.taobao.org 安装angular:npm install -g @angular/cli 或者 c ...
分类:
其他好文 时间:
2021-03-03 12:28:28
阅读次数:
0
version: '3' services: zabbix-mysql: image: mysql:5.7 hostname: zabbix-mysql restart: always networks: - zabbix-net ports: - "3306:3306" command: --ch ...
分类:
其他好文 时间:
2021-03-01 13:11:33
阅读次数:
0
const path = require('path'); module.exports = { // 基本路径 publicPath: process.env.NODE_ENV 'production' ? '' : '/', // 输出文件目录 outputDir: process.env.NO ...
分类:
Web程序 时间:
2021-02-25 12:07:38
阅读次数:
0
1、概述 2、示例 [root@node201 ~]# cat docker-compose.yml version: '3' services: web: build: context: ./ dockerfile: Dockerfile #image: nginx ports: - "88:80 ...
分类:
其他好文 时间:
2021-02-24 13:27:58
阅读次数:
0
1.防火墙开放端口 firewall-cmd --zone=public --add-port=8848/tcp --permanent firewall-cmd --list-ports 开放centOS 网关,远程连接 grant all privileges on *.* to 'root'@ ...
一.HTTP METHOD GET方法请求一个指定资源的表示形式. 使用GET的请求应该只被用于获取数据. HEAD方法请求一个与GET请求的响应相同的响应,但没有响应体. POST方法用于将实体提交到指定的资源,通常导致在服务器上的状态变化或副作用. PUT方法用请求有效载荷替换目标资源的所有当前 ...
分类:
Web程序 时间:
2021-02-17 14:30:41
阅读次数:
0
apiVersion: v1 kind: Service metadata: name: zookeeper-service labels: app: zookeeper spec: type: NodePort ports: - port: 2181 name: zookeeper nodePor ...
分类:
其他好文 时间:
2021-02-10 13:32:22
阅读次数:
0
1、 #include <stdio.h> #define NUMBER 5 int main(void) { int a[NUMBER]; int i; puts("please input several numbers."); for (i = 0; i < NUMBER; i++) { pr ...
分类:
编程语言 时间:
2021-02-04 12:18:06
阅读次数:
0
Dr. Tuple is working on the new data-mining application for Advanced Commercial Merchandise Inc. One of the subroutines for this application works wit ...
分类:
其他好文 时间:
2021-02-02 11:09:22
阅读次数:
0
一、setState进阶 1.setState是一个异步函数 在执行this.setState时,后续的代码会马上执行 state = { num:100 } numChange(){ var num = this.state.num; this.setState({ num:++num }); c ...
分类:
其他好文 时间:
2021-02-01 13:00:06
阅读次数:
0