10 2021 档案
摘要:git clone下来,https://github.com/ohmyzsh/ohmyzsh.git 修改:REPO和 REMOTE为国内源然后安装 REPO=${REPO:-mirrors/ohmyzsh}REMOTE=${REMOTE:-https://gitee.com/${REPO}.git
阅读全文
摘要:mingling = "" # started = False # while True: # mingling = input("> ").lower() # if mingling == "start": # if started: # print("汽车已经发动了!!!") # else: #
阅读全文
摘要:<?php //class基本语法 class User { //创建属性 public $username = 'ryu'; public $email = 'a@g.com'; //方法 public function addFriend() { return "$this->email add
阅读全文
摘要:第一章 SELECT语句 ### SELECT 子句 ```sql 语法: 新+行重新命名为:discount_factor SELECT first_name, last_name, points, (points + 10) * 100 AS discount_factor FROM custo
阅读全文
摘要:- nginx反向代理: ``` server{ listen 80; server_name localhost; location / { proxy_pass http://192.168.12.50:8080; } } ``` - nginx的location路径映射 > 优先级关系(loc
阅读全文
摘要:需要3个节点的K8S环境做实验,总结了搭建步骤,主要麻烦在各种源节点在国外,需要换各种国内源,dockerhub,cni插件,master初始化各种组件下不下来,手动在阿里云下载需要的组件,改tag,版本要一致 系统:ubuntu 20 server 规划: master-192.168.1.230
阅读全文