全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1579|回复: 13

[已解决] Hetzner AX41 安装 Proxmox VE 7

[复制链接]
发表于 2022-12-11 00:28:49 | 显示全部楼层 |阅读模式
1、通过面板启动救援模式,记住登录密码,用于救援模式和安装后的PVE7。



2、重新启动服务器



3、通过 ssh root@10.11.12.13 连接服务器的救援系统,密码为启动救援模式生成的密码。

  1. Linux rescue 5.19.11 #1 SMP Mon Sep 26 04:42:52 UTC 2022 x86_64

  2. -------------------------------------------------------------------------------------------------------------------------

  3.   Welcome to the Hetzner Rescue System.

  4.   This Rescue System is based on Debian GNU/Linux 11 (bullseye) with a custom kernel.
  5.   You can install software like you would in a normal system.

  6.   To install a new operating system from one of our prebuilt images, run 'installimage' and follow the instructions.

  7.   Important note: Any data that was not written to the disks will be lost during a reboot.

  8.   For additional information, check the following resources:
  9.     Rescue System:           https://docs.hetzner.com/robot/dedicated-server/troubleshooting/hetzner-rescue-system
  10.     Installimage:            https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage
  11.     Install custom software: https://docs.hetzner.com/robot/dedicated-server/operating-systems/installing-custom-images
  12.     other articles:          https://docs.hetzner.com/robot

  13. -------------------------------------------------------------------------------------------------------------------------

  14. Rescue System up since 2022-12-10 22:13 +01:00

  15. Hardware data:

  16.    CPU1: AMD Ryzen 5 3600 6-Core Processor (Cores 12)
  17.    Memory:  64250 MB
  18.    Disk /dev/nvme0n1: 512 GB (=> 476 GiB)
  19.    Disk /dev/sda: 6001 GB (=> 5589 GiB)
  20.    Disk /dev/sdb: 6001 GB (=> 5589 GiB)
  21.    Total capacity 11 TiB with 3 Disks

  22. Network data:
  23.    eth0  LINK: yes
  24.          MAC:  de:ad:be:ef:de:ad
  25.          IP:   10.11.12.13
  26.          IPv6: 2a01:4f9:1a:dead::2/64
  27.          Intel(R) Gigabit Ethernet Network Driver

  28. root@rescue ~ #
复制代码


4、开始安装 PVE7

  1. root@rescue ~ # installimage
复制代码




编辑主机名和磁盘分区等信息,F10 保存退出编辑器。

参考:https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage/


  1.                 Hetzner Online GmbH - installimage

  2.   Your server will be installed now, this will take some minutes
  3.              You can abort at any time with CTRL+C ...

  4.          :  Reading configuration                           done
  5.          :  Loading image file variables                    done
  6.          :  Loading debian specific functions               done
  7.    1/15  :  Deleting partitions                             done
  8.    2/15  :  Test partition size                             done
  9.    3/15  :  Creating partitions and /etc/fstab              done
  10.    4/15  :  Formatting partitions
  11.          :    formatting /dev/nvme0n1p1 with ext3           done
  12.          :    formatting /dev/nvme0n1p2 with swap           done
  13.          :    formatting /dev/nvme0n1p3 with ext4           done
  14.    5/15  :  Mounting partitions                             done
  15.    6/15  :  Sync time via ntp                               done
  16.          :  Importing public key for image validation       done
  17.    7/15  :  Validating image before starting extraction     done
  18.    8/15  :  Extracting image (local)                        done
  19.    9/15  :  Setting up network config                       done
  20.   10/15  :  Executing additional commands
  21.          :    Setting hostname                              done
  22.          :    Generating new SSH keys                       done
  23.          :    Generating ramdisk                            done
  24.          :    Generating ntp config                         done
  25.   11/15  :  Setting up miscellaneous files                  done
  26.   12/15  :  Configuring authentication
  27.          :    Setting root password                         done
  28.          :    Enabling SSH root login with password         done
  29.   13/15  :  Installing bootloader grub                      done
  30.   14/15  :  Running some debian specific functions          done
  31.   15/15  :  Clearing log files                              done
  32.          :  Executing post installation script

  33. ----- Update and upgrade system, please wait ... -----

  34. WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  35. ... ... ... ... ... ... ... ... ... ... ... ... ... ...

  36. ----- Done installing Proxmox VE -----


  37.                   INSTALLATION COMPLETE
  38.    You can now reboot and log in to your new system with the
  39. same credentials that you used to log into the rescue system.

复制代码


5、重启系统

  1. root@rescue ~ # shutdown -r now
复制代码


如果无效,通过面板重启。





6、通过 ssh root@10.11.12.13 连接服务器,密码和救援模式密码相同。

7、通过 https://10.11.12.13:8006 连接Proxmox Web GUI,使用 root 和 救援模式密码登录。





 楼主| 发表于 2022-12-11 11:29:59 | 显示全部楼层
ccf 发表于 2022-12-11 11:21
@zxxx 这货用PVE开小鸡,如何避免MAC ABUSE,貌似需要设置啥


在看官方的一个文档,是不是用路由模式不需要申请MAC?

Install and Configure Proxmox VE

https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve

Routed

Advantages:

Multiple single IP addresses and subnets can be used in one VM.

Disadvantages:

Point-to-point setup is required for IP addresses from different networks.

Bridged

Advantages:

Host is transparent and not part of the route.
VMs can directly communicate with the gateway of the assigned IP.
Disadvantages:

VMs may only communicate via the MAC address assigned to the respective IP address.
The virtual MAC must be requested in the Hetzner Robot.

IP addresses from additional subnets can only be used on the host system or a single VM with a single IP (if the subnet is routed to it) (also applies to IPv6)
发表于 2022-12-11 00:39:33 | 显示全部楼层
感谢分享技术贴!
发表于 2022-12-11 00:44:27 | 显示全部楼层
这样不就能整win 了?



/**
* 人死后会成为什么?夜空中的一座孤岛。——《一封孤岛的信》
*/
 楼主| 发表于 2022-12-11 00:46:06 来自手机 | 显示全部楼层
你艾希我奶妈 发表于 2022-12-11 00:44
这样不就能整win 了?



原来就DD的Win,装个PVE学习一下
发表于 2022-12-11 01:55:33 | 显示全部楼层
感谢分享
发表于 2022-12-11 11:15:06 | 显示全部楼层
感谢楼主的使用分享。
发表于 2022-12-11 11:21:58 | 显示全部楼层
@zxxx 这货用PVE开小鸡,如何避免MAC ABUSE,貌似需要设置啥
发表于 2022-12-11 11:31:14 | 显示全部楼层
很好,再来一个whmcs开心版对接教程版,我就可以卖nat小鸡了
发表于 2022-12-11 11:33:06 | 显示全部楼层
本帖最后由 ccf 于 2022-12-11 11:35 编辑
zxxx 发表于 2022-12-11 11:29
在看官方的一个文档,是不是用路由模式不需要申请MAC?

Install and Configure Proxmox VE


他这个说的多个IP貌似指的公网IP?然后桥接模式需要申请各自的MAC

一般母鸡都是单个公网IP吧,然后小鸡用私网IP,这个情况下不可能申请单独的MAC吧

每个私网IP都是随机的MAC,需要避免广播出去,否则肯定是 MAC ABUSE
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-23 17:31 , Processed in 0.065913 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表