Uploaded March 2024 | Updated November 2026, 2 hours ago
#RaspberryPi #Comparison #Benchmark
Full steps can be found at i12bretro.github.io/tutorials/0916.html
--------------------------------------------------------------------
The Devices
--------------------------------------------------------------------
The Raspberry Pi 1 Model B runs a 700 MHz Single Core Broadcom BCM2835 32-bit CPU with 512MB RAM.
The Raspberry Pi 5 runs a 2.4 GHz Quad Core Broadcom BCM2712 64-bit CPU with 4GB LPDDR4 RAM.
--------------------------------------------------------------------
The Benchmarks
--------------------------------------------------------------------
7-Zip - The 7-zip benchmark tests compression and decompression using the LZMA method. Results are shown as a rating in MIPS (million instructions per second). The rating value is calculated from the measured CPU speed and it is normalized with Intel Core 2 Duo E6600 (2.4 GHz, 4 MB L2) CPU in 64-bit Windows with multi-threading option switched off. The charted value is the total compression MIPS score.
Sysbench - The sysbench CPU benchmark verifies prime numbers by doing standard division of the number by all numbers between 2 and the square root of the number. Once a number gives a remainder of 0, the next number is calculated.
CPU Blowfish - Blowfish is a symmetric-key 64-bit block cipher
CPU CryptoHash - CrytpoHash is a cryptographic hash function that maps data of arbitrary size (often called the "message") to a bit array of a fixed size (called the "hash" or "message digest"). It is a one-way function, that is practically infeasible to invert, and is used in digital signatures, message authentication and hash functions to index data in hash tables.
A Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding numbers, such as 1, 1, 2, 3, 5, 8, etc. This benchmark tests the integer processing ability of a CPU.
CPU Fibonacci - A Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding numbers, such as 1, 1, 2, 3, 5, 8, etc. This benchmark tests the integer processing ability of a CPU.
CPU N-Queens - N-Queens finds a way to place a variable number of queens on a chessboard so that no two queens threaten each other by sharing the same row, column or diagonal. For some reason, the Cortex-A53 which is a simpler in-order processor does better at this benchmark than more complex out-of-order processors like the Cortex-A72 and Core i5, but it is hard to conclude much from this result.
CPU ZLib - ZLib is a software library used for data compression, which is used by the gzip file compression program. This benchmark is memory intensive, so its results will reflect the speed of the RAM.
FPU FFT - Fast Fourier Transforms (FFT) converts a signal to frequencies and vice-versa. It is used in audio digital signal processing and image signal processing, and is an indication how fast a processor can process video in software.
FPU Raytracing - Raytracing is a rendering technique for generating an image by tracing the path of light as pixels in an image plane and simulating the effects of its encounters with virtual objects. Like FFT, this benchmark tests how well the processor deals with floating point numbers (i.e. numbers with decimal points).
Sources: https://source.puri.sm/Librem5/community-wiki/-/wikis/Benchmarks,
unix.stackexchange.com/a/607910
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#RaspberryPi #Comparison #Benchmark
Full steps can be found at i12bretro.github.io/tutorials/0916.html
--------------------------------------------------------------------
The Devices
--------------------------------------------------------------------
The Raspberry Pi 1 Model B runs a 700 MHz Single Core Broadcom BCM2835 32-bit CPU with 512MB RAM.
The Raspberry Pi 5 runs a 2.4 GHz Quad Core Broadcom BCM2712 64-bit CPU with 4GB LPDDR4 RAM.
--------------------------------------------------------------------
The Benchmarks
--------------------------------------------------------------------
7-Zip - The 7-zip benchmark tests compression and decompression using the LZMA method. Results are shown as a rating in MIPS (million instructions per second). The rating value is calculated from the measured CPU speed and it is normalized with Intel Core 2 Duo E6600 (2.4 GHz, 4 MB L2) CPU in 64-bit Windows with multi-threading option switched off. The charted value is the total compression MIPS score.
Sysbench - The sysbench CPU benchmark verifies prime numbers by doing standard division of the number by all numbers between 2 and the square root of the number. Once a number gives a remainder of 0, the next number is calculated.
CPU Blowfish - Blowfish is a symmetric-key 64-bit block cipher
CPU CryptoHash - CrytpoHash is a cryptographic hash function that maps data of arbitrary size (often called the "message") to a bit array of a fixed size (called the "hash" or "message digest"). It is a one-way function, that is practically infeasible to invert, and is used in digital signatures, message authentication and hash functions to index data in hash tables.
A Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding numbers, such as 1, 1, 2, 3, 5, 8, etc. This benchmark tests the integer processing ability of a CPU.
CPU Fibonacci - A Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding numbers, such as 1, 1, 2, 3, 5, 8, etc. This benchmark tests the integer processing ability of a CPU.
CPU N-Queens - N-Queens finds a way to place a variable number of queens on a chessboard so that no two queens threaten each other by sharing the same row, column or diagonal. For some reason, the Cortex-A53 which is a simpler in-order processor does better at this benchmark than more complex out-of-order processors like the Cortex-A72 and Core i5, but it is hard to conclude much from this result.
CPU ZLib - ZLib is a software library used for data compression, which is used by the gzip file compression program. This benchmark is memory intensive, so its results will reflect the speed of the RAM.
FPU FFT - Fast Fourier Transforms (FFT) converts a signal to frequencies and vice-versa. It is used in audio digital signal processing and image signal processing, and is an indication how fast a processor can process video in software.
FPU Raytracing - Raytracing is a rendering technique for generating an image by tracing the path of light as pixels in an image plane and simulating the effects of its encounters with virtual objects. Like FFT, this benchmark tests how well the processor deals with floating point numbers (i.e. numbers with decimal points).
Sources: https://source.puri.sm/Librem5/community-wiki/-/wikis/Benchmarks,
unix.stackexchange.com/a/607910
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
![Installing Ajenti Web Administration Panel
#Ajenti #WebPanel #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0009.html
What is Ajenti?
[Ajenti is] an admins tool for a more civilized age, providing you with a fast and secure way to manage a remote Linux box at any time using everyday tools like a web terminal, text editor, file manager and others.- https://ajenti.org/
01. Log into the Linux device
02. Run the following commands in a terminal:
# update software repositories
sudo apt update
# install software updates
sudo apt upgrade -y
# install pre-requisites
sudo apt install build-essential python3-pip python3-dev python3-lxml python3-dbus python3-augeas libssl-dev python3-apt ntpdate -y
# upgrade pip
sudo pip3 install setuptools pip wheel -U
# install ajenti
sudo pip3 install ajenti-panel ajenti.plugin.ace ajenti.plugin.augeas ajenti.plugin.auth-users ajenti.plugin.core ajenti.plugin.dashboard ajenti.plugin.datetime ajenti.plugin.filemanager ajenti.plugin.filesystem ajenti.plugin.network ajenti.plugin.notepad ajenti.plugin.packages ajenti.plugin.passwd ajenti.plugin.plugins ajenti.plugin.power ajenti.plugin.services ajenti.plugin.settings ajenti.plugin.terminal
# create and edit ajenti.service
sudo nano /lib/systemd/system/ajenti.service
03. Paste the following configuration into the service file
[Unit]
Description=Ajenti panel
After=network.target
[Service]
Type=forking
PIDFile=/var/run/ajenti.pid
ExecStart=/usr/bin/python3 /usr/local/bin/ajenti-panel -d
ExecStartPost=/bin/sleep 5
[Install]
WantedBy=multi-user.target
04. Press CTRL+O, Enter, CTRL+X to write the changes
05. Continue with the following commands:
# reload daemons
sudo systemctl daemon-reload
# enable and start ajenti service
sudo systemctl enable ajenti now
# set the PANEL variable
PANEL=$(which ajenti-panel)
# create and edit the initscript
sudo nano /etc/init.d/ajenti
06. Paste the following into the init file
#!/bin/sh
### BEGIN INIT INFO
# Provides: ajenti
# Required-Start: $network $syslog $local_fs
# Required-Stop: $network $syslog $local_fs
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Ajenti
# Description: Ajenti administration frontend
### END INIT INFO
if [ -e /lib/lsb/init-functions ]; then
. /lib/lsb/init-functions
log_success() {
log_success_msg $1
}
log_failure() {
log_failure_msg $1
}
else
. /etc/rc.d/init.d/functions
log_success() {
echo_success
echo $1
}
log_failure() {
echo_failure
echo $1
}
fi
NAME=Ajenti
PIDFILE=/var/run/ajenti.pid
case $1 in
start)
echo Starting $NAME:
export LC_CTYPE=en_US.UTF8
if pidofproc -p $PIDFILE $PANEL ≫ /dev/null; then
log_failure already running
exit 1
fi
if $DAEMON -d ; then
log_success started
else
log_failure failed
fi
;;
stop)
echo Stopping $NAME:
if pidofproc -p $PIDFILE $PANEL ≫ /dev/null; then
killproc -p $PIDFILE $PANEL
/bin/rm -rf $PIDFILE
log_success stopped
else
log_failure not running
fi
;;
restart)
$0 stop && sleep 2 && $0 start
;;
status)
if pidofproc -p $PIDFILE $PANEL ≫ /dev/null; then
log_success $NAME is running
else
log_success $NAME is not running
fi
;;
*)
echo Usage: $0 {start|stop|restart|status}
exit 1
esac
exit 0
07. Press CTRL+O, Enter, CTRL+X to write the changes
08. Continue with the following commands:
# make the init script executable
sudo chmod +x /etc/init.d/ajenti
# run the init script
sudo /etc/init.d/ajenti start
09. Open a web browser and navigate to http://DNSorIP:8000
10. Login with the username root and the root Linux password
11. Welcome to Ajenti
Source: http://docs.ajenti.org/en/latest/man/install.html
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Installing Ajenti Web Administration Panel](https://i.ytimg.com/vi/YBE_RnkIVxY/mqdefault.jpg)
![Run OpenVPN Access Server in Docker
#OpenVPN #Docker #Containerize
Full steps can be found at https://i12bretro.github.io/tutorials/0946.html
What is OpenVPN Access Server?
OpenVPN Access Server, [a] self-hosted VPN solution, simplifies the rapid deployment of a secure remote access and site-to-site solution with a web-based administration interface and built-in OpenVPN Connect app distribution with bundled connection profiles. - https://openvpn.net/access-server/
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 git 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 OpenVPN Access Server
01. Now that Docker is installed, run the following commands to setup the OpenVPN Access Server Docker container and run it
# create working directory
mkdir ~/docker/openvpn-as -p
# run openvpn access server container
docker run -d name openvpn-as cap-add=NET_ADMIN -p 943:943 -p 8443:443 -p 1194:1194/udp -v ~/docker/openvpn-as:/openvpn openvpn/openvpn-as
# find the temporary password
docker logs openvpn-as | grep Auto-generated pass
02. Locate the line Auto-generated pass = and copy the password to your clipboard
03. Open a web browser and navigate to https://DNSorIP:943/admin
04. Login with the username openvpn and the Auto-generated password located earlier
05. Click the Agree button to accept the EULA
06. Click User Management ≫ User Permissions in the left navigation
07. Click the edit icon next to the openvpn user
08. Enter a new password in the Password field ≫ Click the Save Settings button
09. Click Logout at the bottom of the left navigation
10. Log back in with the username openvpn and the updated password
11. Welcome to OpenVPN Access Server running in Docker
Source: https://openvpn.net/as-docs/docker.html
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run OpenVPN Access Server in Docker](https://i.ytimg.com/vi/YQQjyWefFNA/mqdefault.jpg)
![Install Dashy Application Dashboard on Windows
#Dashy #Dashboard #Windows
Full steps can be found at https://i12bretro.github.io/tutorials/0993.html
What is Dashy?
[Dashy is] a self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more! - https://github.com/Lissy93/dashy
Installing Dashy
01. Log into the Windows device
02. Download the latest Dashy release https://github.com/Lissy93/dashy/releases/latest
03. Download NodeJS v18 https://nodejs.org/en/download/current/
04. Install NodeJS, accepting all the defaults
05. Extract the downloaded Dashy files
06. Rename the extracted folder dashy
07. Cut the dashy folder to a location it can safely run from, C:appsdashy in this example
08. Click on the Start menu ≫ type cmd ≫ Right click on Command Prompt ≫ Run as administrator
09. Run the following commands in the Command Prompt window
# change directory to dashy, C:appsdashy in this example
cd c:appsdashy
# update npm
npm install -g npm
# install yarn
npm install -g yarn
# install win-node-env
npm install -g win-node-env
# fix dependencies
yarn install ignore-engines
# create a backup .env file
copy ..env ..env.orig
# build dashy
yarn build
# run dashy
yarn start
10. Open a web browser and navigate to http://DNSorIP:4000
11. Welcome to Dashy
Run Dashy on System Startup (Optional, but recommended)
01. Press CTRL + C to kill the running Dashy process
02. Open a text editor and paste the following
:: Start dashy server
cd /D %~dp0
start dashy /b npm start
03. Save the file as startup.bat in the dashy directory, C:appsdashy 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 Dashy 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: C:appsdashystartup.bat
Add arguments:
Start in:
10. Click Next
11. Check the Open the Properties dialog checkbox ≫ Click Finish
12. In the Properties dialog, click the Change User or Group... button
13. Type System in the Object name field ≫ Click OK
14. Check the Run with highest privileges box
15. Click OK to create the scheduled task
16. Right click the Dashy task ≫ Run
17. Refresh the open web browser to verify Dashy is now running from the scheduled task
Source: https://github.com/Lissy93/dashy/blob/master/docs/quick-start.md#alternative-deployment-method-1 from-source
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install Dashy Application Dashboard on Windows](https://i.ytimg.com/vi/YidBdDBQsu4/mqdefault.jpg)

![Run RetroArch - Retro Emulation Frontend - In Docker
#RetroArch #Emulation #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0721.html
What is RetroArch?
RetroArch is a frontend for emulators, game engines and media players. It enables you to run classic games on a wide range of computers and consoles through its slick graphical interface. Settings are also unified so configuration is done once and for all. - https://www.retroarch.com/
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 git 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 RetroArch
01. Now that Docker is installed, run the following commands to setup the RetroArch Docker container and run it
# create working directory
mkdir ~/docker/retroarch/roms -p
# run retroarch container
docker run -d name=retroarch -p 8080:80 -v ~/docker/retroarch/roms:/roms restart=unless-stopped blaize/retroarch
02. Open a web browser and navigate to http://DNSorIP:8080
03. Click the vnc.html link
04. Click Connect button ≫ Type password1 in the password field ≫ Press Enter
05. Welcome to RetroArch running in Docker
Source: https://github.com/theonemule/retroarch-docker
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run RetroArch - Retro Emulation Frontend - In Docker](https://i.ytimg.com/vi/ZNqK-RZxykE/mqdefault.jpg)

![Run Activepieces - Open-Source Business Automation - In Docker
#ActivePieces #Docker #Automation
Full steps can be found at https://i12bretro.github.io/tutorials/0349.html
What is Activepieces?
[Activepieces is an open-source] alternative to Zapier. Automate your work for free and without writing code, keep your data on your machine. - https://github.com/activepieces/activepieces
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 git 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
Building Activepieces from Source
01. Continue with the following commands in a terminal window
# create working directories
mkdir ~/docker/activepieces -p && mkdir ~/docker/postgresql -p && mkdir ~/docker/redis -p
# clone source code from github
git clone https://github.com/activepieces/activepieces.git ~/docker/activepieces
# change directory
cd ~/docker/activepieces
# create .env
sh tools/deploy.sh
# edit .env
sudo nano .env
02. Edit the following fields in the .env file
AP_FRONTEND_URL=http://≪%DNSorIP%≫:8990
AP_POSTGRES_DATABASE=active_pieces
AP_POSTGRES_HOST=≪%Docker Host DNSorIP%≫
AP_POSTGRES_PORT=5432
AP_POSTGRES_USERNAME=active_pieces_rw
AP_POSTGRES_PASSWORD=Act1veP1EcES!
AP_REDIS_HOST=≪%Docker Host DNSorIP%≫
AP_REDIS_PORT=6379
AP_TELEMETRY_ENABLED=false
03. Press CTRL+O, Enter, CTRL+X to write the changes and exit
04. Continue with the following commands in the terminal
# build the activepieces image
docker buildx build -t local/activepieces:latest .
05. The build process will take several minutes to complete
Running Activepieces
01. Continue following commands in a terminal window
# note the sha256 in the build output, the first 12 characters can be used to interact with the new image
# list available images
docker image ls
# run the postgesql container
docker run -d name postgres -e POSTGRES_USER=active_pieces_rw -e POSTGRES_PASSWORD=Act1veP1EcES! -e POSTGRES_DB=active_pieces -e POSTGRES_INITDB_ARGS encoding=UTF-8 network host -v ~/docker/postgresql:/var/lib/postgresql/data restart=unless-stopped postgres:latest
# run the redis container
docker run -d name redis -v ~/docker/redis:/data network host restart=unless-stopped redis
# run activepieces container
# dns is optional if using IP addresses instead of DNS names in .env
docker run -d name=activepieces env-file ~/docker/activepieces/.env dns=192.168.0.1 -p 8990:80 restart=unless-stopped local/activepieces
02. Open a web browser and navigate to http://DNSorIP:8990
03. Enter a first name, last name, email address and password ≫ Click Sign up
04. Welcome to Activepieces
Documentation: https://www.activepieces.com/docs/install/docker
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run Activepieces - Open-Source Business Automation - In Docker](https://i.ytimg.com/vi/Z_n8ZFaGA-Y/mqdefault.jpg)



