网友 ***an.net 说:
今天给大家带来这个免费的***,有**ot访问权限,Debian**,x86架构要比ibm的更实用些。而且部署还算简单,无需***。
仅仅需要一个GitHub**即可!不过这个**不能是**邮箱注册的,这个后缀不行。如果你正好是**注册的,可以在GitHub后台添加个**ail邮箱,并且把原来的删除即可。小提示:如果你**无法访问GitHub,看看https://iweec.com/381.html
开始*作:
一、打开页面:https://github.com/MetaVPS/x**h 直接登录,创建一个分支,库名称保持x**h;
二、打开页面:https://dashboard.ng**k.com/login 直接使用GitHub**登录,**在入门中找到授权令牌如图:
授权令牌.PNG
三、在你自己仓库中修改config.sh,内容为 NGROK_TOKEN=&*uot;这里粘贴你的令牌&*uot;,**返回仓库,拷贝仓库地址,格式例如:https://github.com/你的名字/x**h
四、打开页面:https://cloud.okteto.com/#/login 同样用GitHub登录,**在左上角点击:新建开发环境——git方法——**l获取,填写上一个步骤中你的x**h **L,分支填写 main,**启动。稍等1-3分钟,直到**部署显示运行!
**部署.PNG
五、我们回到ng**k,在端点或者隧道**中可以看到,类似 tcp://2.tcp.ng**k.io:12795 这样的一个地址。
这样就可以了,接下来我们进行**h连接,你的用户名和密码和我保持一致,地址和端口要看你自己的后台哦:
地址:2.tcp.ng**k.io
端***2795
用户名:**ot
密码:majalaya
连接成功,我查看了一下htop,哇哦4核32G!!
htop.PNG
ng**k和okteto的网页关闭后,机器仍然能运行,我也简单**了两个脚*,能跑。
免责声明:此文包括**内容为原创,在**中参考了一些**内容,感谢GitHub、ng**k和okteto以及majalaya!
更多的问题请看这里:
vps能用多久?未知,我只用了半个小时测一下就关闭了,理论上永久,而且可以重装;
安全吗?不知道,这是由亚马逊提供的**实例,不是我的,想保存重要文件肯定不行,玩玩而已吧;
能搭建**吗? 额,我建议你用这个实例来学习Linux**,如果仅仅搭建**,ng**k或者okteto都可以胜任。
当然你要是需要更高级的功能,我也支持你购买ng**k和okteto。
原文:https://iweec.com/470.html
网友 HOH 说:
很明显并不靠谱
网友 fly*ie 说:
楼上说的对。
你能看到4h 32g完全就是因为隔离问题。。
*身就仅仅只是给你开了个k8s pod,根*就不可能当做正常机器用。
之前做lxc的时候正好遇到了类似的隔离问题,研究了下发现alpine不会去读lxcfs提供的/p**c,所以会直接显示宿主机的硬件**。
网友 windywinter 说:
okteto用kubernetes给你搭开发环境
majalaya/x**h在这个开发环境里面配置了一个**h和nginx,**用ng**k做CDN暴露到网上
你实际上是在用一个k8s pod
okteto给的*uota是1 CPU 3G内存 5G硬盘
最多10个pod
网友 wolfling45 说:
马克
网友 jiao13**0095** 说:
很明显并不靠谱
网友 Do. 说:
太明显,引流产品
网友 nebulabox 说:
真的假的啊?
如此免费午餐,我真觉得有些恐怖
网友 cmse 说:
不靠谱,难折腾。。。
网友 f*ae 说:
很明显并不靠谱
网友 danube533 说:
很明显并不靠谱
网友 匹格仁波切 说:
算了,楼上说不靠谱
网友 windywinter 说:
okteto用kubernetes给你搭开发环境
majalaya/x**h在这个开发环境里面配置了一个**h和nginx,**用ng**k做CDN暴露到网上
你实际上是在用一个k8s pod
okteto给的*uota是1 CPU 3G内存 5G硬盘
最多10个pod
网友 **w 说:
一坨使这个白**,登录还添加等候名单,我等鲵
网友 **C 说:
不太靠谱
网友 zhongziso 说:
mark
网友 c7** 说:
很明显并不靠谱
网友 hogenwang 说:
试过了。不靠谱
网友 lzlancom 说:
这个怎么改呀,你自己仓库中修改config.sh,内容为 NGROK_TOKEN=&*uot;这里粘贴你的令牌&*uot;
网友 Kinglong 说:
算了,楼上都说不靠谱
网友 TMD 说:
太离谱了
网友 惜为伊人醉 说:
不好玩,(主要是**ot密码不知道在哪里看。。)
网友 fly*ie 说:
楼上说的对。
你能看到4h 32g完全就是因为隔离问题。。
*身就仅仅只是给你开了个k8s pod,根*就不可能当做正常机器用。
之前做lxc的时候正好遇到了类似的隔离问题,研究了下发现alpine不会去读lxcfs提供的/p**c,所以会直接显示宿主机的硬件**。
网友 VM7.COM 说:
oot@web-66ffd55b57-nl5p8:~# cat /p**c/cpuinfo
p**ce**or : 0
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU @ 2.20GHz
stepping : 0
mic**code : 0x1
cpu MHz : 2200.212
cache size : 56320 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid l***l : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr **e **e2 ** ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopolo** nonstop_tsc cpuid tsc_known_fre* pni pclmul*d* **se3 fma cx16 pcid **e4_1 **e4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti **bd ibrs ibpb stibp fsg**ase tsc_adjust bmi1 hle avx2 **ep bmi2 erms invpcid rtm rdseed adx **ap xsaveopt arat md_clear arch_capabilities
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypa** l1tf mds swapgs taa
bogomips : 4400.42
clflush size : **
cache_ali**ment : **
addre** sizes : 46 bits physical, 48 bits virtual
power ma****ment:
p**ce**or : 1
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU @ 2.20GHz
stepping : 0
mic**code : 0x1
cpu MHz : 2200.212
cache size : 56320 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid l***l : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr **e **e2 ** ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopolo** nonstop_tsc cpuid tsc_known_fre* pni pclmul*d* **se3 fma cx16 pcid **e4_1 **e4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti **bd ibrs ibpb stibp fsg**ase tsc_adjust bmi1 hle avx2 **ep bmi2 erms invpcid rtm rdseed adx **ap xsaveopt arat md_clear arch_capabilities
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypa** l1tf mds swapgs taa
bogomips : 4400.42
clflush size : **
cache_ali**ment : **
addre** sizes : 46 bits physical, 48 bits virtual
power ma****ment:
p**ce**or : 2
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU @ 2.20GHz
stepping : 0
mic**code : 0x1
cpu MHz : 2200.212
cache size : 56320 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid l***l : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr **e **e2 ** ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopolo** nonstop_tsc cpuid tsc_known_fre* pni pclmul*d* **se3 fma cx16 pcid **e4_1 **e4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti **bd ibrs ibpb stibp fsg**ase tsc_adjust bmi1 hle avx2 **ep bmi2 erms invpcid rtm rdseed adx **ap xsaveopt arat md_clear arch_capabilities
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypa** l1tf mds swapgs taa
bogomips : 4400.42
clflush size : **
cache_ali**ment : **
addre** sizes : 46 bits physical, 48 bits virtual
power ma****ment:
p**ce**or : 3
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU @ 2.20GHz
stepping : 0
mic**code : 0x1
cpu MHz : 2200.212
cache size : 56320 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid l***l : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr **e **e2 ** ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopolo** nonstop_tsc cpuid tsc_known_fre* pni pclmul*d* **se3 fma cx16 pcid **e4_1 **e4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti **bd ibrs ibpb stibp fsg**ase tsc_adjust bmi1 hle avx2 **ep bmi2 erms invpcid rtm rdseed adx **ap xsaveopt arat md_clear arch_capabilities
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypa** l1tf mds swapgs taa
bogomips : 4400.42
clflush size : **
cache_ali**ment : **
addre** sizes : 46 bits physical, 48 bits virtual
power ma****ment:
**ot@web-66ffd55b57-nl5p8:~# free -m
total used free shared buff/cache available
Mem: 32114 4725 21676 32 5712 27242
Swap: 0 0 0
**ot@web-66ffd55b57-nl5p8:~# lscpu
Architect**e: x86_**
CPU op-mode(s): 32-bit, **-bit
Byte Order: Little Endian
Addre** sizes: 46 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel(R) Xeon(R) CPU @ 2.20GHz
Stepping: 0
CPU MHz: 2200.212
BogoMIPS: 4400.42
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: ** KiB
L1i cache: ** KiB
L2 cache: 512 KiB
L3 cache: 55 MiB
NUMA node0 CPU(s): 0-3
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Mitigation; PTE Inversion
Vulnerability Mds: Mitigation; Clear CPU buffers; **T Host state unknown
Vulnerability Meltdown: Mitigation; PTI
Vulnerability Spec store bypa**: Mitigation; Speculative Store Bypa** disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs bar**ers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Full gene**c retpoline, IBPB conditional, IBRS_FW, STIBP condi
tional, R** filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Mitigation; Clear CPU buffers; **T Host state unknown
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cl
flush mmx fxsr **e **e2 ** ht syscall nx pdpe1gb rdtscp lm constant_tsc re
p_good nopl xtopolo** nonstop_tsc cpuid tsc_known_fre* pni pclmul*d* **se3
fma cx16 pcid **e4_1 **e4_2 x2apic movbe popcnt aes xsave avx f16c rdrand
hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti **bd ibrs ibpb st
ibp fsg**ase tsc_adjust bmi1 hle avx2 **ep bmi2 erms invpcid rtm rdseed ad
x **ap xsaveopt arat md_clear arch_capabilities
**ot@web-66ffd55b57-nl5p8:~# l**lk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 100G 0 disk
|-sda1 8:1 0 99.9G 0 part /etc/hosts
|-sda14 8:14 0 4M 0 part
`-sda15 8:15 0 106M 0 part
sdb 8:16 0 1G 0 disk
sdc 8:32 0 1G 0 disk
sdd 8:48 0 1G 0 disk
sde 8:** 0 1G 0 disk
**ot@web-66ffd55b57-nl5p8:~# fdisk -l
-bash: fdisk: command not found
**ot@web-66ffd55b57-nl5p8:~# df -h
File****** Size Used Avail Use% Mounted on
overlay 97G 63G 35G 65% /
tmpfs **M 0 **M 0% /dev
tmpfs 16G 0 16G 0% /sys/fs/cg**up
/dev/**ot 97G 63G 35G 65% /etc/hosts
shm **M 0 **M 0% /dev/shm
tmpfs 16G 12K 16G 1% /run/secrets/kubernetes.io/*******account
tmpfs 16G 0 16G 0% /p**c/acpi
tmpfs 16G 0 16G 0% /p**c/s**i
tmpfs 16G 0 16G 0% /sys/firmware
**ot@web-66ffd55b57-nl5p8:~# cat /etc/redhat-release
cat: /etc/redhat-release: No such file or directory
**ot@web-66ffd55b57-nl5p8:~# uname -a
Linux web-66ffd55b57-nl5p8 5.4.0-1051-gke #54-Ubuntu **P Thu Aug 5 18:52:13 UTC 2021 x86_** **U/Linux
**ot@web-66ffd55b57-nl5p8:~# **et -O install.sh http://download.**.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
–2022-07-18 04:41:01– http://download.**.cn/install/install-ubuntu_6.0.sh
Resolving download.**.cn (download.**.cn)… 116.213.43.206, 240e:a5:4200:89::256
Connecting to download.**.cn (download.**.cn)|116.213.43.206|:80… connected.
HTTP re*uest sent, awaiting response… 200 OK
Len***: 29592 (29K) [application/octet-stream]
Saving to: ‘install.sh’
install.sh 100%[=======================================>] 28.90K 180KB/s in 0.2s
2022-07-18 04:41:01 (180 KB/s) – ‘install.sh’ saved [29592/29592]
-bash: sudo: command not found
**ot@web-66ffd55b57-nl5p8:~#
限制太多了~~
爱主机