password
type
status
date
slug
summary
tags
category
Property
May 17, 2023 09:31 AM
URL
icon
在之前的博客容器云教程中,我向大家介绍了很多容器。但是经过我的实测发现,基本大部分的容器云的提供商的网络只有IPv4。而这篇博客容器云系列教程中提到的Koyeb,就是目前容器云中唯一一个能支持双栈网络的。不过唯一一点不好的地方就是对新用户来说需要信用卡(之前在公测时候的老用户的账户还是和以前一样不用信用卡)
准备材料
- 一枚邮箱(最好是大厂邮箱)
- 一张信用卡(仅针对现在注册的新账户)
部署步骤
- 打开Koyeb官网:https://www.koyeb.com ,点击“Sign UP”进行注册。如有账户可以点击“Login”登录。
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F500579c6-39de-4b81-a240-2ed787bf63af%2F20230210101629.png?table=block&id=2ac4cfbf-35c2-4337-9619-a41c887283f6&t=2ac4cfbf-35c2-4337-9619-a41c887283f6&width=700&cache=v2)
- 输入姓名、邮箱和密码
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9492979b-1531-40d5-88a0-fb8c2425c973%2F20230210102115.png?table=block&id=a46be654-f1d9-4c85-9d94-fea5c8fdf1ae&t=a46be654-f1d9-4c85-9d94-fea5c8fdf1ae&width=700&cache=v2)
- 输入信用卡信息验证
- 点击“Create App”按钮
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0204fa91-f41a-4161-96d9-ef278a3a8295%2F20230210102323.png?table=block&id=e305307d-29c3-4246-bea1-ed9f74e542b9&t=e305307d-29c3-4246-bea1-ed9f74e542b9&width=700&cache=v2)
- 选择“Docker”
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0351db91-f26a-4791-a1cc-dade68e7dcbb%2F20230210102344.png?table=block&id=149090c1-79c8-4044-9df7-b6ac9eb8319a&t=149090c1-79c8-4044-9df7-b6ac9eb8319a&width=700&cache=v2)
- 镜像名称输入
docker.io/misakablog/xray-for-paas
,tag输入latest
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0a67732e-9c5e-499d-a33f-52d2e64a627c%2F20230210102412.png?table=block&id=5dba6a24-1419-40b9-9464-290c3d10e6e6&t=5dba6a24-1419-40b9-9464-290c3d10e6e6&width=700&cache=v2)
- 输入应用名称,选择实例(推荐选Nano的)
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F93eb641c-1c80-41e5-a56a-b609a3323ba7%2F20230210102529.png?table=block&id=6abb1994-2839-49d0-81b7-3c534d1d3578&t=6abb1994-2839-49d0-81b7-3c534d1d3578&width=700&cache=v2)
- 点击“Advanced”按钮,将原来的默认端口
8080
改成80
,然后点击“Add Variable”,参考下表填写环境变量
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F7451bd6c-8bf0-4b46-b138-80cca12fb3e7%2F20230210102651.png?table=block&id=c02e7cf5-1248-41d5-9f7f-df38afa6c60f&t=c02e7cf5-1248-41d5-9f7f-df38afa6c60f&width=700&cache=v2)
- 等待3-5分钟,待状态出现“Healthy”,即为部署成功。复制Public URL备用
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Faa17c2fc-a4ef-464a-9941-f1a90ded360d%2F20230210103210.png?table=block&id=ffbba2ec-3e9b-4806-9e9c-f922ceb18115&t=ffbba2ec-3e9b-4806-9e9c-f922ceb18115&width=700&cache=v2)
- 节点配置如下
Xray内核支持WebSocket的0RTT降低延迟功能,可在path路径末尾加上参数:?ed=2048,以激活该功能
在我们有时候需要玩游戏的时候,由于自己的电脑配置不太够,导致游戏会变得异常卡顿。这时候,一台云电脑可以解决你的临时需求。今天就向大家介绍由Unity中国开发的云电脑——URDP。
目前公测可免费领取1000点,可使用基础型机器4小时
准备材料
- 一枚邮箱(最好是大厂的)
- 一枚手机号(用来接码)
部署步骤
- 打开URDP官网:https://urdp.unity.cn/cloud-desktop ,点击个人头像,然后点击“登录”按钮
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F49ed6d2a-9142-47e0-9089-9e2077273b37%2F20230209102723.png?table=block&id=c338cad0-ff86-4f34-b763-af7532ea3e63&t=c338cad0-ff86-4f34-b763-af7532ea3e63&width=700&cache=v2)
- 在此处注册账号,如有账号可直接登录
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F4202d79d-ddff-458e-94a9-0656c76ee285%2F20230209102800.png?table=block&id=22fb6ac2-8f56-466b-888e-349b53297cfc&t=22fb6ac2-8f56-466b-888e-349b53297cfc&width=700&cache=v2)
- 点击右下角的每日签到,领取点数
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ff57d6e43-109f-4d70-a80c-e018c634193d%2F20230209102837.png?table=block&id=2f119c7a-e344-4c69-93f4-1afc82e99ae4&t=2f119c7a-e344-4c69-93f4-1afc82e99ae4&width=700&cache=v2)
- 选择节点及云电脑配置,点击“购买”
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F8d2b58e9-6bd4-4f04-bf6b-c36c5565cc4a%2F20230209102932.png?table=block&id=9c118766-26c7-4e8e-900d-b4984f8aca06&t=9c118766-26c7-4e8e-900d-b4984f8aca06&width=700&cache=v2)
- 同意协议
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9fa24730-5293-47ff-955b-7ce0a9e3570c%2F20230209103003.png?table=block&id=3edeef77-828c-4db4-927c-7281033a9fcb&t=3edeef77-828c-4db4-927c-7281033a9fcb&width=700&cache=v2)
- 等待系统分配机器,然后点击“立即体验”
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd052e8d0-4d92-43e8-b269-f09a8ad2e19c%2F20230209103107.png?table=block&id=b7cf8615-dcb3-4fe5-80b7-373596bfbb44&t=b7cf8615-dcb3-4fe5-80b7-373596bfbb44&width=700&cache=v2)
- 点击“继续”
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fac4a3044-9e6d-4b76-a3cf-5c6601ee5bf8%2F20230209103121.png?table=block&id=abf449cd-d47d-41bc-911a-c588e0dbe2bc&t=abf449cd-d47d-41bc-911a-c588e0dbe2bc&width=700&cache=v2)
- 云电脑启动成功
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fcb0a844b-320a-454a-bc87-fb1aa6b8a5dc%2F20230209103158.png?table=block&id=1a929921-0441-40f0-bc79-9ae3f9c5ae47&t=1a929921-0441-40f0-bc79-9ae3f9c5ae47&width=700&cache=v2)
- 可通过右侧侧边栏进行云电脑操作
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F85c6df7c-3c9d-47df-8dfe-2587ba891d17%2F20230209103215.png?table=block&id=858f9ba2-cd77-4d1a-8ad8-ca98b9f20812&t=858f9ba2-cd77-4d1a-8ad8-ca98b9f20812&width=700&cache=v2)
- 可在个人中心的账户余额查看点数使用情况
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fff31e292-0a83-4d5a-b3b9-6f259716e7b7%2F20230209102914.png?table=block&id=7c6da948-5b24-41f8-a43e-62117fce3c7e&t=7c6da948-5b24-41f8-a43e-62117fce3c7e&width=700&cache=v2)
注意事项
机器为国内腾讯云机器,尽量别安装科学插件
在之前的容器云教程中,我介绍了很多种免费容器。而今天在这篇文章中,介绍一个全新的在线Jupyter notebook的平台——Deepnote,让大家在这个平台上面部署Xray节点。
准备材料
- 一枚邮箱(最好是大厂邮箱)
部署步骤
- 打开Deepnote官网:https://deepnote.com/ ,点击“Get started”进行注册账户。如有账号点击“Sign in”进行登录
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F958d2d7d-ec0a-492f-9ee7-f9e35e92b23a%2F20230208190317.png?table=block&id=e0716333-9c0c-40d5-b33c-00a199d9a4ed&t=e0716333-9c0c-40d5-b33c-00a199d9a4ed&width=700&cache=v2)
- 可以使用GitHub、Google和微软账户进行登录,也可以使用邮件注册并登录
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd9f03af9-267f-4ea6-91bf-27d3ce9d111b%2F20230208190808.png?table=block&id=5056a38b-e125-431a-b290-6048ce78fb9b&t=5056a38b-e125-431a-b290-6048ce78fb9b&width=700&cache=v2)
- 按照图示创建项目
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F5243f9d6-cb0a-4aeb-8828-b49aa5b7f232%2F20230208191514.png?table=block&id=4a3784a9-a63d-4b32-af3d-a765812925eb&t=4a3784a9-a63d-4b32-af3d-a765812925eb&width=700&cache=v2)
- 点击Environment中的Initialization,打开里面的
init.ipynb
。删除里面自带的代码块并创建一个,输入下面的内容。然后点击“Run notebook”
1 | !sleep infinity |
- 打开Allow Incoming Connections的开关,复制链接备用
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb31a27a6-3ecc-4310-b217-7077319f953a%2F20230208191843.png?table=block&id=7ac322cd-e5eb-4671-8656-454969493d0c&t=7ac322cd-e5eb-4671-8656-454969493d0c&width=700&cache=v2)
- 点击“Terminal”,创建一个命令行
- 复制粘贴,并运行以下代码
1 | wget -N https://raw.githubusercontent.com/Misaka-blog/xray-for-deepnote/main/deep.sh && bash deep.sh |
- 输入UUID,UUID可在此生成:https://www.uuidgenerator.net/ 。也可以直接回车使用脚本自己的UUID
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F1c6cc6be-b644-44e6-8a31-deb26589d23c%2F20230208192006.png?table=block&id=67d6140e-f417-4ee1-a73d-735b5a3a5e0e&t=67d6140e-f417-4ee1-a73d-735b5a3a5e0e&width=700&cache=v2)
- 出现这个提示,打开第5步的链接,提示“Bad request”即为成功
![notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F436f2609-8477-4dcb-a700-04fec4a2a74a%2F20230208192109.png?table=block&id=29a89959-c0a3-42e6-952c-107c5bd4e05a&t=29a89959-c0a3-42e6-952c-107c5bd4e05a&width=691&cache=v2)
- 节点配置如下:
1 2 3 4 5 6 7 8 9 10 11 | 协议:Vmess / Vless / Trojan / Shadowsocks 地址:xxxxx.deepnoteproject.com 端口:443 UUID/密码:8d4a8f5e-c2f7-4c1b-b8c0-f8f5a9b6c384 或自己定义的UUID 额外ID:0 Shadowsocks加密方式:chacha20-ietf-poly1305 传输协议:ws 伪装域名:xxxxx.deepnoteproject.com 路径:/vmess(/vless、/trojan、/shadowsocks) 传输安全:TLS 跳过证书验证:true或false都可以 |
- 作者:李威俊
- 链接:https://vikim.cyou//article/Koyebxray
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。