2024年11月24日星期日 上午9:38:05

vps cloudflare

1 年 前
#23774 引用
购买一个域名

注册 cloudflare 账户
用 cloudflare 解析域名


buy a vps from vultr.com

install nginx on vps
CF
install Let's Encrypt(cerbot)
install frp




0
1 年 前
#23775 引用

Cloud Compute
Virtual machines for apps with bursty performance, e.g. low traffic websites, blogs, CMS, dev/test environments, and small databases.

Intel High Performance
Powered by new generations of Intel Xeon CPUs and NVMe SSD

Server Location
Toronto

Server Image->Server Image
Ubuntu-Select Version
20 64bit
              



install nginx on vps

http://iaspnetcore.usdotnet.com/blogpost-5d9865cc72c1772b244afe0f-how-to-install-and-uninstall-reinstall-nginx-on-ubuntu-1804aliyunvultr
0
1 年 前
#23776 引用
https

root@vultr:~# certbot --version
certbot 0.40.0


root@vultr:~# certbot certonly --register-unsafely-without-email

Saving debug log to /var/log/letsencrypt/letsencrypt.log

How would you like to authenticate with the ACME CA?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel):
1

Plugins selected: Authenticator standalone, Installer None
Please enter in your domain name(s) (comma and/or space separated)  (Enter 'c'
to cancel):
yourdomain.com www.youdomain.com

Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
Waiting for verification...
Cleaning up challenges

IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/999/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/99/privkey.pem
   Your cert will expire on 2024-02-13. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
- If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le






0
1 年 前
#23778 引用
frps

wget https://github.com/fatedier/frp/releases/download/v0.45.0/frp_0.45.0_linux_amd64.tar.gz
tar -zxvf frp_0.45.0_linux_amd64.tar.gz

mv frp_0.45.0_linux_amd64 /usr/local/frp



cd /usr/local/frp


/usr/local/frp/frps -c /usr/local/frp/frps.ini

0