2023年8月4日

摘要: [TOC] # Kubeasz 安装Kubernetes高可用集群 ## 一、集群规划和基础参数设定 > 官网: https://github.com/easzlab/kubeasz/blob/v3.6/docs/setup/00-planning_and_overall_intro.md ### 阅读全文
posted @ 2023-08-04 13:47 kntvops 阅读(414) 评论(0) 推荐(0) 编辑

2023年7月20日

摘要: # 三、函数与作用域 [TOC] ## 3.1 函数 ```JS function 函数名(函数参数) { 函数体; return 返回值; } ``` ```JS function add(x,y){ return x+y } ret = add(4,5) console.log(ret) ``` 阅读全文
posted @ 2023-07-20 15:20 kntvops 阅读(65) 评论(0) 推荐(0) 编辑
摘要: # 二、控制语句 [TOC] ## 2.1 语句块 JS 使用大括号构成语句块,let只能在块作用域内可见 ``` function fn() { let a = 1; var b = 2; c = 3 } let d =100 if (1) { let d = 4; var e = 5; f = 阅读全文
posted @ 2023-07-20 15:14 kntvops 阅读(27) 评论(0) 推荐(0) 编辑
摘要: # 一、NodeJS 基础语法 [TOC] ## 1.1 安装 - 下载镜像地址: - [阿里云镜像地址](https://registry.npmmirror.com/binary.html?path=node/&spm=a2c6h.24755359.0.0.6d446e51oCsc9D): `h 阅读全文
posted @ 2023-07-20 15:12 kntvops 阅读(271) 评论(0) 推荐(0) 编辑
摘要: # 四、JS对象模型 [TOC] JavaScript 是一种基于原型(`Prototype`)的面向对象语言,而不是基于类对象的面向对象语言 C++、JAVA 有类`Class`和实例`intance`的概念,类是一类事物的抽象,而实例是类的实体 JS 是基于原型的语言,它只有原型对象的概念,原型 阅读全文
posted @ 2023-07-20 13:57 kntvops 阅读(47) 评论(0) 推荐(0) 编辑

2023年4月11日

摘要: Installing MySQL 5.7 On Ubuntu Using Generic Binaries 1、安装依赖 apt-get install libaio1 2、获取软件包 wget https://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.9 阅读全文
posted @ 2023-04-11 11:53 kntvops 阅读(27) 评论(0) 推荐(0) 编辑

2022年11月18日

摘要: 安装容器运行时 1、若您安装过docker,需要先删掉,之后再安装依赖 sudo apt-get remove docker docker-engine docker.io sudo apt-get install apt-transport-https ca-certificates curl g 阅读全文
posted @ 2022-11-18 12:54 kntvops 阅读(90) 评论(0) 推荐(0) 编辑

导航