# 脚本安装
wget https://dot.net/v1/dotnet-install.ps1 # PowerShell (Windows)
wget https://dot.net/v1/dotnet-install.sh # Bash (Linux/macOS)
./dotnet-install.sh # 默认安装 LTS
./dotnet-install.sh -c Current # 当前最新
./dotnet-install.sh -c 5.0 # 指定版本
docker pull mcr.microsoft.com/azure-sql-edge:latest # 下载镜像
# 开发版
docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 --name sqledge -d mcr.microsoft.com/azure-sql-edge
# 高级版
docker run --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=yourStrong(!)Password' -e 'MSSQL_PID=Premium' -p 1433:1433 --name sqledge -d mcr.microsoft.com/azure-sql-edge
# 配置
https://learn.microsoft.com/en-us/azure/azure-sql-edge/configure
# 安装
yum install iptables
yum update iptables
yum install iptables-services
service iptables status
iptables -L # 列表
iptables -nL --line
iptables -A INPUT -p tcp --dport ssh -j ACCEPT # 开启 SSH
# docker 安装 12.8
docker run --restart=always --name=pg \
-e POSTGRES_PASSWORD=<MySecretPassword> \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v /package/pgdb:/var/lib/postgresql/data \
-p 5432:5432 -d postgres:12.8
# help
https://hub.docker.com/_/postgres
npm install -g browserify # 安装 yarn global add browserify
browserify index.js -o bundle.js # 捆绑打包
# help
http://browserify.org/