Skip to content

Commit 71cc5e6

Browse files
Update proxmox.md
1 parent 9830c8e commit 71cc5e6

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

docs/proxmox.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,92 @@ sudo apt install ca-certificates curl gnupg lsb-release ntp htop zip unzip gnupg
2323

2424
## [Raspberry Pi 4][2]
2525

26+
Install Raspberry Pi OS.
27+
28+
Switch to root user. Default password is blank for Raspberry Pi OS.
29+
30+
```shell
31+
sudo su root
32+
```
33+
34+
Set root password so that you can log into Proxmox web GUI.
35+
36+
```shell
37+
passwd
38+
```
39+
40+
Add an `/etc/hosts` entry for your IP address
41+
42+
Please make sure that your machine's hostname is resolvable via `/etc/hosts`, i.e. you need an entry in `/etc/hosts` which assigns an address to its hostname.
43+
44+
Make sure that you have configured one of the following addresses in `/etc/hosts` for your hostname:
45+
46+
1 IPv4 or
47+
1 IPv6 or
48+
1 IPv4 and 1 IPv6
49+
Note: This also means removing the address 127.0.1.1 that might be present as default.
50+
51+
For instance, if your IP address is 192.168.15.77, and your hostname prox4m1, then your /etc/hosts file could look like:
52+
53+
```
54+
127.0.0.1 localhost.localdomain localhost
55+
192.168.15.77 prox4m1.proxmox.com prox4m1
56+
57+
# The following lines are desirable for IPv6 capable hosts
58+
59+
::1 localhost ip6-localhost ip6-loopback
60+
ff02::1 ip6-allnodes
61+
ff02::2 ip6-allrouters
62+
```
63+
64+
You can test if your setup is ok using the hostname command:
65+
66+
```shell
67+
hostname --ip-address
68+
```
69+
70+
```shell
71+
192.168.15.77 # should return your IP address here
72+
```
73+
74+
### Install Proxmox VE
75+
76+
##### Add the Proxmox VE repository:
77+
78+
```shell
79+
echo 'deb [arch=arm64] https://mirrors.apqa.cn/proxmox/debian/pve bookworm port'>/etc/apt/sources.list.d/pveport.list
80+
```
81+
82+
Add the Proxmox VE repository key:
83+
84+
```shell
85+
curl -L https://mirrors.apqa.cn/proxmox/debian/pveport.gpg -o /etc/apt/trusted.gpg.d/pveport.gpg
86+
```
87+
88+
Update your repository and system by running:
89+
90+
```shell
91+
apt update && apt full-upgrade
92+
```
93+
94+
Install Proxmox VE packages
95+
Install the ifupdown2 packages
96+
97+
```shell
98+
apt install ifupdown2
99+
```
100+
101+
Install the Proxmox VE packages
102+
103+
```shell
104+
apt install proxmox-ve postfix open-iscsi
105+
```
106+
107+
Configure packages which require user input on installation according to your needs (e.g. Samba asking about WINS/DHCP support). If you have a mail server in your network, you should configure postfix as a satellite system, your existing mail server will then be the relay host which will route the emails sent by the Proxmox server to their final recipient.
108+
109+
If you don't know what to enter here, choose local only and leave the system name as is.
110+
111+
Finally, you can connect to the admin web interface (https://youripaddress:8006).
112+
26113
[1]: <https://community-scripts.github.io/ProxmoxVE/>
27114
[2]: <https://github.com/jiangcuo/Proxmox-Port/wiki/Install-Proxmox-VE-on-Debian-bookworm>

0 commit comments

Comments
 (0)