腾讯轻量云怎么安装其他系统,例如 Fedora?

2021-11-14 14:21:57 +08:00
 sherlock1122
如题。
7599 次点击
所在节点    云计算
36 条回复
changwei
2021-11-14 23:13:44 +08:00
问个题外话:你们的腾讯云轻量服务器连外网很卡吗?我这边用 wget 下载一些 github 上面的 release 非常慢,速度平均 20kb 每秒,我和我朋友两台轻量云服务器都这样
Osk
2021-11-14 23:14:54 +08:00
@changwei github 现在国内都这样吧...
liuxu
2021-11-14 23:33:48 +08:00
换 debian 吧,你的所有开发和生产需求都会有支持
Remember
2021-11-14 23:51:45 +08:00
@MasterMonkey

Intel 的 U 也可以啊,就是 vnc 在 netboot 启动 installer 之后可能会不响应,可能跟发行版有关。
MasterMonkey
2021-11-15 07:24:47 +08:00
@Remember 我一直没成功,卡死,放弃了
MasterMonkey
2021-11-15 08:42:43 +08:00
@changwei 非常卡
lin0kin
2021-11-15 09:08:30 +08:00
@Osk 服务器上有啥解决方案吗? 连下个 fish 插件都不行
keppelfei
2021-11-15 09:29:20 +08:00
@MasterMonkey 可以考虑装一个 clash
kingfalse
2021-11-15 11:46:09 +08:00
1. 下载 iPXE Linux 内核文件并重命名放至合适位置。

wget https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn -O /boot/generic-ipxe.lkrn
2. 创建 netboot.xyz initrd 文件以连接网络并指定文件下载源。

cat > /boot/netboot.xyz-initrd << "EOF"
#!ipxe
#/boot/netboot.xyz-initrd
imgfree
dhcp
set dns 8.8.8.8
ifopen net0
chain --autofree https://boot.netboot.xyz
EOF
3. 添加 Grub2 启动菜单选项。

cat > /etc/grub.d/40_custom << "EOF"
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'netboot.xyz' {
set root='hd0,msdos1'
linux16 /boot/generic-ipxe.lkrn
initrd16 /boot/netboot.xyz-initrd
}
EOF
4. 延长 Grub 启动菜单显示时间。

sed -i 's|^GRUB_TIMEOUT.*|GRUB_TIMEOUT=60|' /etc/default/grub
5. 更新 Grub 配置并重启,之后在启动菜单选择 netboot.xyz 进入。

grub2-mkconfig -o /boot/grub2/grub.cfg && reboot
6. 进入 netboot.xyz 后,选择 Linux Network Installs ,选择要安装的系统,选择图形化界面安装,之后等待下载好系统文件,便会转到系统安装界面。
kingfalse
2021-11-15 11:46:57 +08:00
照着执行就行,腾讯云轻量后台 vnc 可以看到了,接下来就是安装了
sherlock1122
2021-11-15 12:03:55 +08:00
MasterMonkey
2021-11-15 12:48:46 +08:00
@sherlock1122 用 grub-bootimage, 安装后,把 iso 放到 /boot/images 里面, 执行 update-grub

重启后,选择对应启动项目就可以了
MasterMonkey
2021-11-15 12:50:14 +08:00
@keppelfei 会占一个使用名额,ip 不同,算分享
LLaMA2
2021-11-15 14:27:22 +08:00
请移步 /t/787047
loveminds
2021-12-02 06:13:16 +08:00
iPXE 或者 Netboot ,然后像装物理机一样用 VNC 装,不建议任何的 DD 包,安全性和稳定性都无法保证
kkocdko
2023-03-12 06:21:05 +08:00
https://kkocdko.site/post/202303112316

写了一篇记录,大概是下载镜像 dd 就行

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/815277

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX