mirror of
https://github.com/pimox/pimox7.git
synced 2026-06-03 20:51:40 +00:00
Merge branch 'master' of https://github.com/pimox/pimox7
This commit is contained in:
38
README.md
38
README.md
@@ -6,23 +6,33 @@ Pimox is a port of Proxmox to the Raspberry Pi allowing you to build a Proxmox c
|
||||
Requirements
|
||||
---
|
||||
* Raspberry Pi 4
|
||||
* Pre-installed Debian __Bullseye__ based ___64-bit___ OS (not 32bit)
|
||||
* Internet connection via ethernet
|
||||
|
||||
Install from "scratch", RPiOS64bit Interactive Automatic Installer
|
||||
---
|
||||
1. Flash and startup the latest image from https://downloads.raspberrypi.org/raspios_arm64/ .
|
||||
2. sudo -s
|
||||
3. curl https://raw.githubusercontent.com/pimox/pimox7/master/RPiOS64-IA-Install.sh > RPiOS64-IA-Install.sh
|
||||
4. chmod +x RPiOS64-IA-Install.sh
|
||||
5. ./RPiOS64-IA-Install.sh
|
||||
6. Follow the prompts
|
||||
|
||||
Manual installation
|
||||
---
|
||||
Prechecks
|
||||
---
|
||||
1. In /etc/network/interfaces, give the Pi a static IP address. You cannot use dhcp.
|
||||
2. In /etc/network/interfaces, remove any IPv6 addresses.
|
||||
3. In /etc/hostname, make sure the Pi has a name.
|
||||
4. In /etc/hosts, make sure this hostname corresponds to the static IP you previous set.
|
||||
|
||||
Install from scratch, RPiOS64bit Interactive Automatic Installer
|
||||
---
|
||||
0. Flash and startup the latest image from https://downloads.raspberrypi.org/raspios_arm64/ .
|
||||
1. sudo -s
|
||||
2. curl https://raw.githubusercontent.com/pimox/pimox7/master/RPiOS64-IA-Install.sh > RPiOS64-IA-Install.sh
|
||||
3. chmod +x RPiOS64-IA-Install.sh
|
||||
4. ./RPiOS64-IA-Install.sh
|
||||
5. Follow the prompts
|
||||
1. Pre-installed Debian __Bullseye__ based ___64-bit___ OS (not 32bit)
|
||||
2. In /etc/network/interfaces, give the Pi a static IP address. You cannot use dhcp.
|
||||
3. In /etc/network/interfaces, remove any IPv6 addresses.
|
||||
4. In /etc/hostname, make sure the Pi has a name.
|
||||
5. In /etc/hosts, make sure this hostname corresponds to the static IP you previous set.
|
||||
6. Make sure the kernel-headers are installed.
|
||||
|
||||
Installation
|
||||
1. echo "deb https://raw.githubusercontent.com/pimox/pimox7/master/ dev/" > /etc/apt/sources.list.d/pimox.list
|
||||
2. curl https://raw.githubusercontent.com/pimox/pimox7/master/KEY.gpg | apt-key add -
|
||||
3. apt update
|
||||
4. apt install proxmox-ve (use a local attatched console! Network connections will be lost/reset during instatallation progress)
|
||||
|
||||
Notes
|
||||
---
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# !/bin/bash
|
||||
#######################################################################
|
||||
# Name: RPiOS64-IA-Install.sh Version: 0.1.2 #
|
||||
# Created: 07.09.2021 Modified: 13.11.2021 #
|
||||
# Created: 07.09.2021 Modified: 06.12.2021 #
|
||||
# Author: TuxfeatMac J.T. #
|
||||
# Purpose: interactive, automatic, Pimox7 installation RPi4B, RPi3B+ #
|
||||
#########################################################################################################################################
|
||||
# Tested with image from: #
|
||||
# https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2021-11-08/2021-10-30-raspios-bullseye-arm64-lite.zip #
|
||||
# Tested with image from: #
|
||||
# https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2021-11-08/2021-10-30-raspios-bullseye-arm64-lite.zip #
|
||||
#########################################################################################################################################
|
||||
|
||||
#### SET SOME COLOURS ###################################################################################################################
|
||||
@@ -19,9 +19,16 @@ GREY=$(tput setaf 8)
|
||||
#### SCRIPT IS MENT TO BE TO RUN AS ROOT! NOT AS PI WITH SUDO ###########################################################################
|
||||
if [ $USER != root ]
|
||||
then
|
||||
printf "This script is ment to be to run as superuser!\n"
|
||||
printf "${RED}PLEASE RUN THIS SCRIPT AS ROOT! DONT USE SUDO! $NORMAL \n"
|
||||
exit
|
||||
fi
|
||||
printf " $YELLOW
|
||||
====================================================================
|
||||
! PLEASE DONT USE SUDO, USE SU TO LOGIN TO THE ROOT USER !
|
||||
! PLEASE STOP THIS SCRIPT NOW WITH CONTROL+C IF YOU ARE USING SUDO !
|
||||
! CONTINUING SETUP IN 3 SECONDS... !
|
||||
====================================================================
|
||||
$NORMAL\n" && sleep 3
|
||||
|
||||
#### GET THE RPI MODEL #### EXTRA STEPS FOR RPI3B+ ##################### UNTESTED #######################################################
|
||||
RPIMOD=$(cat /sys/firmware/devicetree/base/model | cut -d ' ' -f 3)
|
||||
@@ -115,7 +122,7 @@ if [ "$CONFIRM" != "y" ]; then exit; fi
|
||||
#### SET A ROOT PWD FOR WEB GUI LOGIN ###################################################################################################
|
||||
printf "
|
||||
=========================================================================================
|
||||
$RED ! SET YOUR ROOT PASSWORD ! $NORMAL
|
||||
$RED ! SETUP NEW ROOT PASSWORD ! $NORMAL
|
||||
=========================================================================================\n
|
||||
" && passwd
|
||||
if [ $? != 0 ]; then exit; fi
|
||||
|
||||
35
docs/VM-Configuration.md
Normal file
35
docs/VM-Configuration.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Starting a VM
|
||||
Video showing CT and VM configuration: [PiMox7 - RPi4 - arm64 CT & VM Basic Configuration](https://youtu.be/LGb7fB1wK4Q).
|
||||
|
||||
### For a VM using Web-UI:
|
||||
|
||||
1. Click 'Create VM' in upper right
|
||||
#### Under 'General'
|
||||
2. Set 'name'
|
||||
#### Under 'OS'
|
||||
3. 'Do not use any media' (will be added later)
|
||||
#### Under 'System'
|
||||
4. BIOS: 'OVMF (UEFI)'
|
||||
5. Add 'EFI Storage'
|
||||
6. 'Format: raw'
|
||||
7. 'Qemu Agent:' Yes
|
||||
#### Under 'Disks'
|
||||
8. 'Format: raw'
|
||||
#### Under 'CPU'
|
||||
9. 'Cores: 2'
|
||||
10. 'Type: host'
|
||||
#### Under 'Memory'
|
||||
11. 'Memory (MiB): 1024' (can allocate more if your model has the capacity)
|
||||
#### Under 'Confirm'
|
||||
12. 'Finish'
|
||||
|
||||
### On newly created VM sidebar
|
||||
#### Under 'Hardware'
|
||||
13. 'Remove "CD/DVD Drive (ide2)"'
|
||||
14. 'Add 'CD/DVD Drive', 'Bus/Device: SCSI, 2', Choose ISO'
|
||||
#### Under 'Options'
|
||||
15. 'Boot Order: scsi2, scsi0'
|
||||
|
||||
***Start VM***
|
||||
|
||||
Confirmed to be working using an ```aarch64/arm64``` ISO
|
||||
Reference in New Issue
Block a user