Uploaded November 2024 | Updated November 2026, 3 hours ago
#AmazonLinux #VirtualBox #AL2VM
Full steps can be found at i12bretro.github.io/tutorials/0157.html
--------------------------------------------------------------------
What is Amazon Linux?
--------------------------------------------------------------------
Amazon Linux 2 is a Linux operating system from Amazon Web Services (AWS). It provides a security-focused, stable, and high-performance execution environment to develop and run cloud applications. - aws.amazon.com/amazon-linux-2
--------------------------------------------------------------------
Preparation
--------------------------------------------------------------------
01. Install 7-Zip if it is not already installed 7-zip.org/download.html
02. Download ImgBurn download.imgburn.com/SetupImgBurn_2.5.8.0.exe
03. Download the Amazon Linux virtual disk image (.vdi) cdn.amazonlinux.com/os-images/latest/virtualbox
04. Download the sample Amazon Linux cloud init (seed.iso) cdn.amazonlinux.com/os-images/latest/seed.iso
05. Extract the downloaded seed.iso file with 7-Zip
06. Edit meta-data in a text editor
07. Update local-hostname as needed ≫ Save the changes ≫ Close
08. Edit user-data in a text editor
09. Update as needed to create users in the VM ≫ Save the changes ≫ Close
10. Extract the downloaded ImgBurn .exe file with 7-Zip
11. Launch ImgBurn.exe inside the extracted folder
12. Select Build mode from the main menu
13. Click Browse for a file ≫ Browse to and select the updated meta-data and user-data files edited earlier ≫ Click Open
14. At the top right of the window, select the Options tab
15. Set the File System to ISO9660 + Joliet
16. Select the Labels tab
17. Set the two labels to cidata
18. Click the browse icon next to the destination folder
19. Browse to the downloads location and name the file updated-seed.iso ≫ Click Save
20. Click the large icon at the bottom left of the window to build the iso
--------------------------------------------------------------------
Creating the VM
--------------------------------------------------------------------
01. Launch VirtualBox Manager
02. Create a New VM by selecting Machine ≫ New
Name: Amazon Linux
Folder: C:\VMs
ISO Image: ≪not selected≫
Type: Linux
Version: Other Linux (64-bit)
Base Memory: 2048 MB (or more)
Processors: 1 (or more)
Hard disk: Do Not Add a Virtual Hard Disk
03. Click Finish
04. Right click the VM ≫ Show in Explorer
05. Copy the downloaded .vdi file and the updated-seed.iso files inside the VM folder
06. Back in VirtualBox Manager, select the VM and Click Settings
07. Select Storage
08. Click the Add hard disk icon ≫ Browse to and select the Amazon Linux .vdi downloaded earlier
09. Click the Add optical disc icon ≫ Browse to and select the updated-seed.iso file created earlier
10. Select Network
11. Set the attached to dropdown to Bridged Adapter
12. Click OK
13. Make sure the Amazon Linux VM is selected and click Start ≫ Normal
14. Once the boot process completes, login using the credentials created in user-data
15. Welcome to Amazon Linux
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#AmazonLinux #VirtualBox #AL2VM
Full steps can be found at i12bretro.github.io/tutorials/0157.html
--------------------------------------------------------------------
What is Amazon Linux?
--------------------------------------------------------------------
Amazon Linux 2 is a Linux operating system from Amazon Web Services (AWS). It provides a security-focused, stable, and high-performance execution environment to develop and run cloud applications. - aws.amazon.com/amazon-linux-2
--------------------------------------------------------------------
Preparation
--------------------------------------------------------------------
01. Install 7-Zip if it is not already installed 7-zip.org/download.html
02. Download ImgBurn download.imgburn.com/SetupImgBurn_2.5.8.0.exe
03. Download the Amazon Linux virtual disk image (.vdi) cdn.amazonlinux.com/os-images/latest/virtualbox
04. Download the sample Amazon Linux cloud init (seed.iso) cdn.amazonlinux.com/os-images/latest/seed.iso
05. Extract the downloaded seed.iso file with 7-Zip
06. Edit meta-data in a text editor
07. Update local-hostname as needed ≫ Save the changes ≫ Close
08. Edit user-data in a text editor
09. Update as needed to create users in the VM ≫ Save the changes ≫ Close
10. Extract the downloaded ImgBurn .exe file with 7-Zip
11. Launch ImgBurn.exe inside the extracted folder
12. Select Build mode from the main menu
13. Click Browse for a file ≫ Browse to and select the updated meta-data and user-data files edited earlier ≫ Click Open
14. At the top right of the window, select the Options tab
15. Set the File System to ISO9660 + Joliet
16. Select the Labels tab
17. Set the two labels to cidata
18. Click the browse icon next to the destination folder
19. Browse to the downloads location and name the file updated-seed.iso ≫ Click Save
20. Click the large icon at the bottom left of the window to build the iso
--------------------------------------------------------------------
Creating the VM
--------------------------------------------------------------------
01. Launch VirtualBox Manager
02. Create a New VM by selecting Machine ≫ New
Name: Amazon Linux
Folder: C:\VMs
ISO Image: ≪not selected≫
Type: Linux
Version: Other Linux (64-bit)
Base Memory: 2048 MB (or more)
Processors: 1 (or more)
Hard disk: Do Not Add a Virtual Hard Disk
03. Click Finish
04. Right click the VM ≫ Show in Explorer
05. Copy the downloaded .vdi file and the updated-seed.iso files inside the VM folder
06. Back in VirtualBox Manager, select the VM and Click Settings
07. Select Storage
08. Click the Add hard disk icon ≫ Browse to and select the Amazon Linux .vdi downloaded earlier
09. Click the Add optical disc icon ≫ Browse to and select the updated-seed.iso file created earlier
10. Select Network
11. Set the attached to dropdown to Bridged Adapter
12. Click OK
13. Make sure the Amazon Linux VM is selected and click Start ≫ Normal
14. Once the boot process completes, login using the credentials created in user-data
15. Welcome to Amazon Linux
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro



![Install Odoo - Open Source Business Application Suite - on Windows
#Odoo #Python #Windows
Full steps can be found at https://i12bretro.github.io/tutorials/0925.html
What is Odoo?
Odoo is a suite of web based open source business apps. The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing. Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps. - https://github.com/odoo/odoo
Installation
01. Log into the Windows device
02. Download Odoo https://github.com/odoo/odoo/
03. Download Python https://www.python.org/downloads/
04. Download PostgreSQL https://www.postgresql.org/download/windows/
05. Download Visual Studio Build Tools https://download.visualstudio.microsoft.com/download/pr/1afa33fc-e800-4714-9e19-31b928ea2572/1fc592e65b7c697cb80f96ae2c2f7ac9e6b366fecd42d7ecb451cc9f0de89624/vs_BuildTools.exe
06. Run the downloaded PostgreSQL installer, accepting all the defaults
07. When prompted, enter and confirm a superuser password
08. Run the downloaded Python installer, making sure to check the option to add Python to the path
09. Run the downloaded VS Build Tools installer
10. Select Individual components from the top left ≫ Filter the list to C++ x64/x86 build tools ≫ Check the box next to the option for x64/x86 build tools (Latest)
11. Filter the list to Windows SDK ≫ Check the box next to the option for the latest Windows SDK ≫ Click Install at the bottom right
12. Once the installation completes close VS Build Tools installer
13. Extract the downloaded Odoo .zip archive
14. Rename the extracted folder to Odoo
15. Cut the Odoo folder to a location it can safely run from, C:Program FilesOdoo in this example
16. Navigate into the Odoo folder ≫ Right click in the white space ≫ New ≫ Text Document
17. Name the new file odoo.conf then edit it in a text editor
18. Paste the following configuration into odoo.conf
[options]
db_user = odoo_rw
db_password = 0dooDB_rw$
db_name = odoo
db_host = localhost
19. Save the changes to odoo.conf
20. Back in the Odoo folder, hold the SHIFT key and right click in the white space ≫ Open PowerShell window here...
21. Run the following commands in PowerShell
# connect to postgres
&C:Program FilesPostgreSQL16binpsql.exe -U postgres
# enter the postgres seperuser password set during installation
# create odoo database user
create user odoo_rw with password 0dooDB_rw$;
# create odoo database
create database odoo with encoding=UTF8 template=template0 owner=odoo_rw;
# close postgresql connection
exit
# prepare and activate the virtual environment
python -m venv .odoo-venv
.odoo-venvScriptsactivate
# install wheel
pip3 install wheel
# install setuptools
pip install upgrade setuptools
# install odoo
pip install -r requirements.txt
# run odoo
python .odoo-bin config .odoo.conf -i base
22. Open a web browser and navigate to http://DNSorIP:8069
23. Login with the username admin and password admin
24. Click the user icon at the top right corner of the screen ≫ Preferences
25. Update the Email and Email Signature ≫ Click Save
26. Click the Account Security tab ≫ Click the Change Password button
27. Enter admin as the current password ≫ Click Confirm Password
28. Enter and confirm a new password ≫ Click Change Password
29. Login using the updated email address and password
30. Welcome to Odoo
Run Odoo on System Startup (Optional, but recommended)
01. Press CTRL + C to kill the running Odoo process
02. Open a text editor and paste the following
:: Start Odoo server
cd /D %~dp0
start odoo /b python .odoo-bin config .odoo.conf
03. Save the file as odoo.bat in the Odoo directory, C:Program FilesOdoo in this example
04. Click on the Start Button ≫ Type task ≫ Launch Task Scheduler
05. Right click the Task Scheduler Library folder in the left pane ≫ Create Basic Task...
06. Set the name to Odoo and optionally set a Description ≫ Click Next
07. For the Trigger, select When the computer starts ≫ Click Next
08. For the Action, select Start a program ≫ Click Next
09. Complete the form fields as follows:
Program/script: %ProgramFiles%Odooodoo.bat
Add arguments:
Start in: %ProgramFiles%Odoo
10. Click Next
....Full steps can be found on GitHub [link at the top]
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install Odoo - Open Source Business Application Suite - on Windows](https://i.ytimg.com/vi/4XjwIjUD9wY/mqdefault.jpg)
![Running Healthchecks - A Cron Job Monitoring Service - In Docker
#Healthchecks #Cron #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0813.html
What is Healthchecks?
Healthchecks is a cron job monitoring service. It listens for HTTP requests and email messages (pings) from your cron jobs and scheduled tasks (checks). When a ping does not arrive on time, Healthchecks sends out alerts.
Healthchecks comes with a web dashboard, API, 25+ integrations for delivering notifications, monthly email reports, WebAuthn 2FA support, team management features: projects, team members, read-only access. - https://github.com/healthchecks/healthchecks
Installing Docker
01. Log into the Linux based device
02. Run the following commands in the terminal
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository deb [arch=$(dpkg print-architecture)] https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release) $(lsb_release -cs) stable
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
Running the Healthchecks Container
01. Now that Docker is installed, run the following commands to setup the Healthchecks Docker container and run it
# create working directories
mkdir ~/docker/postresql -p && mkdir ~/docker/healthchecks -p
# create containers network
docker network create containers
# download the base configuration
wget -O ~/docker/healthchecks/.env https://raw.githubusercontent.com/healthchecks/healthchecks/master/docker/.env.example
# generate a 32 character random string
head /dev/urandom | LC_ALL=C tr -dc A-Za-z0-9 | head -c 32
# copy the output string to the clipboard
# edit the .env file
nano ~/docker/healthchecks/.env
02. Scroll through the .env file, updating at least the key/value pairs listed below
ALLOWED_HOSTS=*
DB=postgres
DB_HOST=postgres
DB_NAME=healthchecks
DB_PASSWORD=He@lt4Ch3ck$!
DB_USER=healthchecks_rw
DEFAULT_FROM_EMAIL=healthchecks@i12bretro.local
EMAIL_HOST=smtp.i12bretro.local
EMAIL_HOST_PASSWORD=
EMAIL_HOST_USER=
EMAIL_PORT=25
EMAIL_USE_TLS=False
EMAIL_USE_VERIFICATION=False
SECRET_KEY=≪% random string from clipboard %≫
03. Press CTRL+W and search for localhost
04. Update all references to localhost with the DNS or IP address of the docker host (ie SITE_ROOT=http://localhost:8000 -≫ http://ubuntuserver.local:8000)
05. Press CTRL+O, Enter, CTRL+X to write the changes to .env
06. Continue with the following commands in terminal
# set owner of working directories
sudo chown $USER:$USER ~/docker -R
# run the postgresql docker container
docker run -d name postgres -e POSTGRES_USER=healthchecks_rw -e POSTGRES_PASSWORD=He@lt4Ch3ck$! -e POSTGRES_DB=healthchecks -v /home/$USER/docker/postresql:/var/lib/postgresql/data network containers restart=unless-stopped postgres
# run the healthchecks container
docker run -d name healthchecks env-file ~/docker/healthchecks/.env -p 8000:8000 network containers restart=unless-stopped healthchecks/healthchecks
# connect to healthchecks container shell
docker exec -ti healthchecks /bin/bash
# create an admin user
/opt/healthchecks/manage.py createsuperuser
# enter an email address
# enter and confirm a password
# exit the container shell
exit
07. Open a web browser and navigate to http://DNSorIP:8000
08. Login with the admin account created earlier
09. Welcome to HealthChecks
Documentation: https://hub.docker.com/r/healthchecks/healthchecks
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running Healthchecks - A Cron Job Monitoring Service - In Docker](https://i.ytimg.com/vi/4l57CgiHKRI/mqdefault.jpg)

![Run Akaunting - Open Source Accounting Software - in Docker
#Akaunting #AccountingSoftware #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0832.html
What is Akaunting?
Akaunting is a free, open source and online accounting software designed for small businesses and freelancers. - https://github.com/akaunting/akaunting
Installing Docker
01. Log into the Linux based device
02. Run the following commands in the terminal
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository deb [arch=$(dpkg print-architecture)] https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release) $(lsb_release -cs) stable
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
Running the Akaunting Container
01. Now that Docker is installed, run the following commands to setup the Akaunting Docker container and run it
# create working directories
mkdir ~/docker/akaunting -p && mkdir ~/docker/mariadb -p
# download base .env file
wget -O ~/docker/akaunting/.env https://raw.githubusercontent.com/akaunting/docker/master/env/run.env.example
# set ownership on the working directories
sudo chown $USER:$USER ~/docker -R
# run the mariadb docker container
docker run -d name mariadb -e MYSQL_ROOT_PASSWORD=r00tp@$$ -e MYSQL_USER=akaunting_rw -e MYSQL_PASSWORD=@k0unt1ng! -e MYSQL_DATABASE=akaunting -v ~/docker/mariadb:/var/lib/mysql -p 3306:3006 restart=unless-stopped mariadb:latest
# edit .env file
nano ~/docker/akaunting/.env
02. Edit the values in .env as follows
APP_URL=http://DNSorIP:8080
LOCALE=en-US
DB_HOST=mariadb
DB_PORT=3306
DB_NAME=akaunting
DB_USERNAME=akaunting_rw
DB_PASSWORD=@k0unt1ng!
DB_PREFIX=
COMPANY_NAME=i12bretro
COMPANY_EMAIL=accounting@i12bretro.local
ADMIN_EMAIL=i12bretro@i12bretro.local
ADMIN_PASSWORD=≪% something secure %≫
03. Press CTRL+O, Enter, CTRL+X to write the changes to .env
04. Continue with the following steps in the terminal
# run the akaunting container
docker run -d name=akaunting link mariadb -p 8080:80 env-file ~/docker/akaunting/.env -e AKAUNTING_SETUP=true -v ~/docker/akaunting:/var/www/html/storage restart=unless-stopped akaunting/akaunting
05. Open a web browser and navigate to http://DNSorIP:8080
06. Login with the Email and Password setup in the .env file
07. On the Company tab, scroll to the bottom of the form and click Skip this step
08. Select/add the desired currencies ≫ Click Next
09. Click Next on the Taxes tab
10. Click the Create your first invoice link
11. Welcome to Akaunting
Documentation: https://hub.docker.com/r/akaunting/akaunting
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run Akaunting - Open Source Accounting Software - in Docker](https://i.ytimg.com/vi/53T1S_bEq4o/mqdefault.jpg)
![Install Akaunting - Open Source Accounting Software - On Linux
#Akaunting #AccountingSoftware #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0831.html
What is Akaunting?
Akaunting is a free, open source and online accounting software designed for small businesses and freelancers. - https://github.com/akaunting/akaunting
Installation
01. Log into the Linux device
02. Run the following commands in a terminal window:
# update software repositories
sudo apt update
# install prerequisites
sudo apt install curl wget zip lsb-release apt-transport-https ca-certificates -y
# add the php gpg key
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
# add the php apt repository
echo deb https://packages.sury.org/php/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/php.list
# update software repositories
sudo apt update
# install available software updates
sudo apt upgrade -y
# install Apache HTTPD and MySQL
sudo apt install apache2 mariadb-server mariadb-client -y
# install PHP components
sudo apt install php8.0 libapache2-mod-php8.0 php8.0-common php8.0-xml php8.0-bcmath php8.0-gd php8.0-mbstring php8.0-curl php8.0-zip php8.0-gmp php8.0-mysql php8.0-intl -y
# configure the MySQL database
sudo su
mysql_secure_installation
03. Press Enter to login as root
04. Type N and press Enter to not switch to unix socket authentication
05. Type Y and press Enter to set a root password, type the password twice to confirm
06. Type Y and press Enter to remove anonymous users
07. Type Y and press Enter to disallow root login remotely
08. Type Y and press Enter to remove the test database
09. Type Y and press Enter to reload privilege tables
10. Run the following command to login into MySQL:
mysql -u root -p
11. Authenticate with the root password set earlier
12. Run the following commands to create the database and database user
CREATE DATABASE akaunting;
GRANT ALL ON akaunting.* to akaunting_rw@localhost IDENTIFIED BY @kaunt1ng!;
FLUSH PRIVILEGES;
EXIT;
exit
13. Continue with the following commands:
# lookup latest akaunting release URL
regex=browser_download_url: (https://github.com/akaunting/akaunting/releases/download/[^/]*/[^/]*.zip) && response=$(curl -H Accept: application/vnd.github.v3+json https://api.github.com/repos/akaunting/akaunting/releases/latest) && [[ $response =~ $regex ]] && downloadURL=${BASH_REMATCH[1]}
# download the latest release
wget -O /tmp/akaunting.zip $downloadURL
# extract the download .zip archive
sudo unzip /tmp/akaunting.zip -d /var/www/html/akaunting
# copy sample .env file
sudo cp /var/www/html/akaunting/.env.example /var/www/html/akaunting/.env
# generate application key
# if prompted, answer yes
sudo php /var/www/html/akaunting/artisan key:generate
# set the owner of the akaunting directory
sudo chown -R www-data:www-data /var/www/html/akaunting
# enable mod_rewrite
sudo a2enmod rewrite
# restart apache2 service
sudo systemctl restart apache2
Akaunting Web Installer
01. Open a web browser and navigate to http://DNSorIP/akaunting/index.php
02. Select a Language ≫ Click Next
03. Complete the Database form as shown below
Hostname: localhost
Username: akaunting_rw
Password: @kaunt1ng!
Database: akaunting
04. Click Next
05. Complete the Admin form by entering a Company Name, Company Email, Admin Email and Admin Password ≫ Click Next
06. Log in with the Admin username and password
07. On the Company tab, scroll to the bottom of the form and click Skip this step
08. Select/add the desired currencies ≫ Click Next
09. Click Next on the Taxes tab
10. Click the Create your first invoice link
11. Welcome to Akaunting
Source: https://akaunting.com/docs/installation
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install Akaunting - Open Source Accounting Software - On Linux](https://i.ytimg.com/vi/5ERgPSewXFo/mqdefault.jpg)
![Running AriaNg - Browser Based Download Utility - in Docker
#AriaNg #Aria2 #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0466.html
Installing Docker
01. Log into the Linux based device
02. Run the following commands in the terminal
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
Running AriaNg
01. Now that Docker is installed, run the following commands to setup the AriaNg Docker container and run it
# create working directory
mkdir ~/docker/ariang/data -p
# run the ariang docker container
docker run -d name ariang -p 8002:80 -p 6800:6800 -e PUID=1000 -e PGID=1000 -e ENABLE_AUTH=false -e RPC_SECRET=SomethingSecure -e ARIA2_SSL=false -e ARIA2_EXTERNAL_PORT=6800 -v ~/docker/ariang/data:/data restart unless-stopped wahyd4/aria2-ui
02. Once the AriaNg container is downloaded and running, open a web browser and navigate to http://DNSorIP:8002/ui
03. Welcome to AriaNg running in a Docker container
Documentation: https://github.com/wahyd4/aria2-ariang-docker
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running AriaNg - Browser Based Download Utility - in Docker](https://i.ytimg.com/vi/5Qj32yZE4MQ/mqdefault.jpg)
![Running a MacOS 14 Sonoma VM in ProxMox VE
#MacOS #Sonoma #Proxmox #VirtualMachine
*** Updated 03/31/2024
Full steps can be found at https://i12bretro.github.io/tutorials/0566.html
💡 NOTE: MacOS higher than version 12 requires a CPU with AVX2 instruction support
01. Download a MacOS Sonoma .iso https://archive.org/search.php?query=MacOS%20collection&and[]=mediatype%3A%22software%22 OR create your own https://youtu.be/JFMvUpdCMwo
02. Download KVM OpenCore bootloader https://github.com/thenickdude/KVM-Opencore/releases
03. Extract the downloaded KVM OpenCore bootloader .gz file
04. Upload the Sonoma and KVM OpenCore .iso files to the Proxmox ISO library
05. Log into the ProxMox web UI
06. Right click the ProxMox node name ≫ Create VM
07. Type MacOSSonoma in the name field, set the VM ID to 1400 (unless 1400 is in use) ≫ Next
08. On the OS tab, set the Type field to Other and select the KVM OpenCore .iso in the ISO Image field ≫ Next
09. On the System tab, set the Graphic card field to VMware compatible, BIOS field to OVMF (UEFI), Uncheck the Pre-Enroll Keys checkbox, Check the Add EFI Disk checkbox, Machine field to q35 and the SCSI Controller to VirtIO SCSI ≫ Next
10. On the Hard Disk tab, set the Bus/Device field to VirtIO Block, Disk size field to 64, Cache field to Write back (unsafe) ≫ Next
11. On the CPU tab, set Cores field to 4, Type field to host ≫ Next
12. On the Memory tab, set the Memory to 4096 ≫ Next
13. On the Network tab, set the Model field to VMware vmxnet3 ≫ Next
14. Verify the summary and click Finish
15. Click the MacOSSonoma VM ≫ Select Hardware from the left sub-navigation menu
16. Click Add ≫ CD/DVD Drive
17. Select the MacOS Sonoma .iso downloaded earlier ≫ Click Create
18. Select the MacOSSonoma VM ≫ Options ≫ Boot Order
19. Set the KVM OpenCore disk as the first boot option ≫ Click OK
20. Right click the ProxMox node name ≫ Console
21. Run the following commands in the terminal
# edit the VM conf file, change 1400 to the VM ID for the MacOSSonoma VM
nano /etc/pve/qemu-server/1400.conf
22. If running on an Intel CPU, add the following line to the bottom of the .conf file:
FULL STEPS ON GITHUB LINK ABOVE
23. If running on an AMD CPU, add the following line to the bottom of the .conf file:
FULL STEPS ON GITHUB LINK ABOVE
24. Press CTRL+W and search for ,media=cdrom
25. Delete the ,media=cdrom from the two attached .iso files (KVM OpenCore and Sonoma) and add cache=unsafe
26. Press CTRL+O, Enter, CTRL+X to write the changes to the conf file
27. Back in the Proxmox web UI, right click the MacOSSonoma VM in the left navigation pane ≫ Start
28. Click console in the left sub-navigation menu
29. At the OpenCore menu, select UEFI Shell ≫ Press Enter
30. Type the following in the UEFI shell:
# change to the Sonoma.iso, the disk number may be different for you
fs0:
# launch the MacOS installer
SystemLibraryCoreServicesboot.efi
31. After a long initialization sequence the MAC OS Setup should start
32. Select Disk Utility
33. Select the VIRTIO Block Media ≫ Click Erase
34. Name the drive MacOS ≫ Set the Format to APFS ≫ Click Erase
35. Click Done ≫ Close Disk Utility
36. Click Install macOS Sonoma
37. Click Continue ≫ Click Agree ≫ Click Agree again
38. Select the MacOS disk ≫ Click Install
39. Wait while Mac OS installs files, the VM will reboot several times
40. Select your Country or Region ≫ Click Continue
41. Confirm your languages and keyboard layout ≫ Click Continue
42. Click Not Now on the Accessibility screen
43. Click Continue on the Data & Privacy screen
44. Select Not Now on the Migration Assistant screen
45. Select Set Up Later and then Skip on the Apple ID screen
46. Click Agree ≫ Agree again
47. Enter a name, user name, password ≫ Click Continue
48. Click Continue ≫ Select Use or Dont Use for Location Services
49. Pick a timezone ≫ Click Continue
50. Uncheck Share Mac Analytics with Apple ≫ Click Continue
51. Click Set Up Later on the Screen Time screen
52. Pick a theme ≫ Click Continue
53. Welcome to MacOS 14 Sonoma
Configuring Booting Without OpenCore Mounted
01. Log into the MacOSSonoma VM
02. Launch a web browser and download the KVM OpenCore EFI folder https://github.com/thenickdude/KVM-Opencore/releases
03. Download MountEFI from GitHub https://github.com/corpnewt/MountEFI
04. Start LaunchPad from the dock
05. Search terminal ≫ Click Terminal to launch it
06. Run the following commands in the terminal window
cd ~/Downloads/MountEFI
chmod +x MountEFI.command
./MountEFI.command
....Full steps can be found on GitHub [link at the top]
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running a MacOS 14 Sonoma VM in ProxMox VE](https://i.ytimg.com/vi/68R2SdbFj-8/mqdefault.jpg)
![Run HomeDash - Server Monitor/Dashboard - in Docker
#Homedash #Dashboard #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0786.html
What is Homedash?
HomeDash is a simple dashboard that allows to monitor and interact with many different services in order to have a single entry point for ones dedicated server via a set of Plugins. Its easy to install, setup and use. - https://lamarios.github.io/Homedash2/
Installing Docker
01. Log into the Linux based device
02. Run the following commands in the terminal
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository deb [arch=$(dpkg print-architecture)] https://download.docker.com/linux/$(awk -F= /^ID=/{ print $NF } /etc/os-release) $(lsb_release -cs) stable
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
Running HomeDash
01. Now that Docker is installed, run the following commands to setup the HomeDash Docker container
# create working directories
mkdir ~/docker/homedash -p
# set owner of working directories
sudo chown $USER:$USER ~/docker -R
# generate a 32 character random string
RANDOM_STRING=$(head /dev/urandom | LC_ALL=C tr -dc A-Za-z0-9 | head -c 32)
# copy the output string to the clipboard
# run the homedash container
docker run -d name homedash -p 4567:4567 -v /etc/localtime:/etc/localtime:ro -v ~/docker/homedash:/data -e SALT=$RANDOM_STRING restart=unless-stopped gonzague/homedash
02. Open a web browser and navigate to http://DNSorIP:4567
03. Welcome to HomeDash
Documentation: https://github.com/lamarios/HomeDash2
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run HomeDash - Server Monitor/Dashboard - in Docker](https://i.ytimg.com/vi/6XcEUggRR1U/mqdefault.jpg)