FREE SSL, use Let’s Encrypt by acme.sh

https://letsencrypt.org/zh-cn/getting-started/
https://letsencrypt.org/zh-cn/docs/client-options/
https://github.com/acmesh-official/get.acme.sh

https://gh.llkk.cc/https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh

======在windows 下获取 ssl
1. 安装  GIT , https://www.git-scm.com/download/win
2. 打开  git bash,执行如下命令,注意替换对应域名,apnode.win

mkdir /c/.acme.sh
cd /c/.acme.sh
git clone https://gitee.com/apnode/acme.sh.git
cd acme.sh
#
# 设置默认ca
# acme.sh --set-default-ca --server letsencrypt
./acme.sh --home /c/.acme.sh/home --register-account -m admin@apnode.win
# 执行正常注册
./acme.sh --home /c/.acme.sh/home --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --issue -d 'apnode.win'
./acme.sh --home /c/.acme.sh/home --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --renew -d 'apnode.win'
./acme.sh --home /c/.acme.sh/home --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --issue -d 'apnode.win' -d '*.apnode.win'
./acme.sh --home /c/.acme.sh/home --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --renew -d 'apnode.win' -d '*.apnode.win'  --force
./acme.sh --home /c/.acme.sh/home  --installcert --ecc --keylength ec-256 -d 'apnode.win'  --fullchainpath /c/.acme.sh/install/apnode.win-full.crt --keypath /c/.acme.sh/install/apnode.win-full.key 

Linux操作


alias acme.sh='/root/.acme.sh/acme.sh  --home /root/.acme.sh '
# acme.sh --set-default-ca --server letsencrypt
# acme.sh --set-default-ca  --server buypass
# acme.sh --set-default-ca  --server google 
# acme.sh --register-account  --server zerossl  -m admin@apnode.win
# acme.sh --register-account  --server buypass  -m admin@apnode.win
# acme.sh --register-account  --server google   -m admin@apnode.win
# 
# 通配符证书
export Tencent_SecretId="XXXXXXXXXXXXXXXXX"
export Tencent_SecretKey="VVVVVVVVVVVVVVVVV"
acme.sh --issue --dns dns_tencent -d apnode.win -d *.apnode.win


# acme.sh --update-account 
# 执行正常注册
acme.sh  --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --issue -d 'apnode.win'
acme.sh  --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --renew -d 'apnode.win'
acme.sh  --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --issue -d 'apnode.win' -d '*.apnode.win'
acme.sh  --ecc --keylength ec-256  --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --renew -d 'apnode.win' -d '*.apnode.win'  --force
acme.sh   --installcert --ecc --keylength ec-256 -d 'apnode.win'  --fullchainpath ./apnode.win-full.crt --keypath ./apnode.win-full.key 

acme.sh --standalone --httpport 8888  --issue -d {domain} 
acme.sh --installcert -d {domain} --fullchainpath  /root/{domain}.crt --keypath  /root/{domain}.key


acme.sh --issue -d {domain} -w /app/vhost/{domain}/webroot/
acme.sh --installcert -d {domain} --fullchainpath  /app/vhost/{domain}.crt --keypath  /app/vhost/{domain}.key
附录-设置默认使用的CA
参考文档:https://github.com/acmesh-official/acme.sh/wiki/Server
letsencrypt https://acme-v02.api.letsencrypt.org/directory
buypass https://api.buypass.com/acme/directory
zerossl https://acme.zerossl.com/v2/DV90
sslcom https://acme.ssl.com/sslcom-dv-rsa, https://acme.ssl.com/sslcom-dv-ecc

root@localhost:~# acme.sh  --set-default-ca --server letsencrypt

 

===========
参考
https://www.cnblogs.com/network-ren/p/15849756.html

Vue项目,记录,推荐

vue-admin-beautiful
https://gitee.com/chu1204505056/vue-admin-beautiful.git

Avue
https://avuejs.com

Vue管理后台框架
http://element.eleme.io
https://github.com/PanJiaChen/vue-element-admin

Vue Admin
https://admin.vuebulma.com
https://github.com/taylorchen709/vue-admin

iview-admin
https://github.com/iview/iview-admin

vuestic-admin
https://github.com/epicmaxco/vuestic-admin

d2-admin
https://github.com/d2-projects/d2-admin

屏蔽激活Host

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

# 屏蔽Adobe激活服务器:
0.0.0.0 activate.adobe.com
0.0.0.0 practivate.adobe.com
0.0.0.0 ereg.adobe.com
0.0.0.0 activate.wip3.adobe.com
0.0.0.0 wip3.adobe.com
0.0.0.0 3dns-3.adobe.com
0.0.0.0 3dns-2.adobe.com
0.0.0.0 adobe-dns.adobe.com
0.0.0.0 adobe-dns-2.adobe.com
0.0.0.0 adobe-dns-3.adobe.com
0.0.0.0 ereg.wip3.adobe.com
0.0.0.0 activate-sea.adobe.com
0.0.0.0 wwis-dubc1-vip60.adobe.com
0.0.0.0 activate-sjc0.adobe.com
127.0.0.1 lmlicenses.wip4.adobe.com
127.0.0.1 lm.licenses.adobe.com

# 屏幕录制软件camtasia studio 8序列号激活,注册名:TEAM MESMERiZE,序列号:3MHCA-5DMCV-H89T8-V8GML-W6FB8
127.0.0.1 65.52.240.48
127.0.0.1 activation.cloud.techsmith.com

# 屏蔽corel激活服务器:
#0.0.0.0 mc.corel.com
#0.0.0.0 apps.corel.com
#0.0.0.0 origin-mc.corel.com
#0.0.0.0 iws.corel.com
0.0.0.0 compute-1.amazonaws.com
0.0.0.0 ipm.corel.com
0.0.0.0 dev1.ipm.corel.public.corel.net
127.0.0.1 apps.corel.com
127.0.0.1 mc.corel.com
127.0.0.1 iws.corel.com
127.0.0.1 origin-mc.corel.com
# ultraedit
127.0.0.1 licensing.ultraedit.com

 

Windows使用Docker Qemu使用

Qemu 官方站
https://www.qemu.org/
Qemu Windows 下载站
https://qemu.weilnetz.de/w64/
启动命令参考,使用用户模式,开启22和80端口

qemu-system-x86_64w -accel hax -no-user-config -name alpine -m 2048 -smbios type=0,uefi=on -hda 10G-alpine.vhdx -netdev user,id=user0,hostfwd=tcp:127.0.0.1:22-:22,hostfwd=tcp:127.0.0.1:80-:80 -device e1000,netdev=user0