All of the following information is based on go version go1.17.1 darwin/amd64
.
GOOS | Out of the Box |
---|---|
aix |
✅ |
android |
✅ |
#!/bin/sh | |
set -e | |
set -o noglob | |
# Usage: ./install.sh [options] | |
# | |
# Example: | |
# Installing on first master node run: | |
# ./install --num 3 --vip 192.168.2.10 --iface eth0 | |
# Installing on other master nodes run: |
; 搜狗拼音输入法--自定义短语配置文件 | |
; 自定义短语说明: | |
; 1、自定义短语支持多行、空格、指定位置。 | |
; 2、每条自定义短语最多支持30000个汉字,总共支持100000条自定义短语。 | |
; 3、自定义短语的格式如下: | |
; 单行的格式: | |
; 字符串+英文逗号+数字(指定排序位置)=短语 |
高德卫星 AmapSatellite | |
http://wprd04.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&style=6 | |
高德地图 AmapTile | |
http://wprd04.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&style=7 | |
高德路网含标注 AmapRoadMark | |
http://wprd04.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&scl=1&style=8 | |
高德路网不含标注 AmapRoad |
# Clean, simple, compatible and meaningful. | |
# Tested on Linux, Unix and Windows under ANSI colors. | |
# It is recommended to use with a dark background. | |
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
# | |
# Mar 2013 Yad Smood | |
# VCS | |
YS_VCS_PROMPT_PREFIX1=" %{$reset_color%}on%{$fg[blue]%} " | |
YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}" |
#!/usr/bin/sh | |
# config docker | |
mkdir -p /etc/docker | |
cat <<EOF >/etc/docker/daemon.json | |
{ | |
"registry-mirrors": [ | |
"https://2y38832m.mirror.aliyuncs.com" | |
] | |
} |
#!/usr/bin/bash | |
set -e | |
apt-get update | |
apt-get install -y \ | |
curl \ | |
ca-certificates \ | |
unzip \ |
# 默认端口 33400 | |
# binwalk -e TL-R470GP-AC_V2.0_1.0.8_Build_20200703_Rel.60778.bin 提取文件内容 | |
# 搜索 getNewPasswd 查看密码加密方式 | |
# 使用LAN口的MAC地址 | |
macAddr=7844FD5F42E2 | |
key=$(echo -n "$macAddr" | md5sum) | |
key=$(echo ${key:0:16}) | |
echo ${key} |
#Requires -RunAsAdministrator | |
[CmdletBinding()] | |
param( | |
[Alias('Path')] | |
[string]$WorkPath, | |
[ValidateScript({ | |
$existingVm = Get-VM -Name $_ -ErrorAction SilentlyContinue | |
if (-not $existingVm) { | |
return $True |
切换到root用户
运行初始化脚本 init-os.sh
运行安装脚本 install-k8s.sh