Uploaded October 2024 | Updated November 2026, 3 hours ago
#Benchmarks #Amlogic #ARM
Full steps can be found at i12bretro.github.io/tutorials/0975.html
--------------------------------------------------------------------
The Devices
--------------------------------------------------------------------
The Amlogic S905x is a 1.5 GHz Quad Core 64-bit CPU with 1GB DDR3 RAM.
The Amlogic S905x3 is a 1.9 GHz Quad Core 64-bit CPU with 4GB DDR3 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
#Benchmarks #Amlogic #ARM
Full steps can be found at i12bretro.github.io/tutorials/0975.html
--------------------------------------------------------------------
The Devices
--------------------------------------------------------------------
The Amlogic S905x is a 1.5 GHz Quad Core 64-bit CPU with 1GB DDR3 RAM.
The Amlogic S905x3 is a 1.9 GHz Quad Core 64-bit CPU with 4GB DDR3 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

![Install BookStack - Documentation/Wiki Platform - on Windows
#BookStack #Wiki #Windows
Full steps can be found at https://i12bretro.github.io/tutorials/0920.html
What is BookStack?
BookStack is an opinionated wiki system that provides a pleasant and simple out-of-the-box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience. - https://github.com/BookStackApp/BookStack
Installation
01. Download XAMPP https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/
02. Download BookStack https://github.com/BookStackApp/BookStack/releases/latest
03. Download Microsoft Visual C++ https://aka.ms/vs/16/release/vc_redist.x64.exe
04. Download Composer https://getcomposer.org/Composer-Setup.exe
05. Install Microsoft Visual C++
06. Right click the downloaded XAMPP .zip file ≫ Extract All...
07. Right click the downloaded BookStack .zip file ≫ Extract All...
08. Rename the extracted folder bookstack
09. Cut the bookstack folder inside the XAMPP directory
10. Copy the extracted XAMPP directory to a safe location to run from, C:Program Files for example
11. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
Configuring the Web Server
01. Navigate to XAMPP/php and edit php.ini
02. Find the following line and remove the ; to uncomment them
extension=ldap
extension=gd
03. Save the changes to php.ini
04. Navigate to XAMPP/apache/conf and edit httpd.conf
05. Paste the following configuration at the bottom of the file, update the folder paths as needed
Alias /bookstack C:/Program Files/xampp/bookstack/public/
≪Directory C:/Program Files/xampp/bookstack/public/≫
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
≪IfModule mod_rewrite.c≫
≪IfModule mod_negotiation.c≫
Options -MultiViews -Indexes
≪/IfModule≫
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
≪/IfModule≫
≪/Directory≫
06. Save the changes to httpd.conf
07. Install Composer
08. Run XAMPP/xampp-control.exe
09. Click the Start button next to Apache and MySQL
10. Navigate to XAMPP/mysql/bin
11. Hold the SHIFT key and right click in the white space ≫ Open PowerShell window here...
12. Type the following in the PowerShell window to setup the BookStack database
.mysql -u root
CREATE DATABASE bookstack;
GRANT ALL ON bookstack.* to bookstack_rw@localhost IDENTIFIED BY B00k$t@ck!;
FLUSH PRIVILEGES;
EXIT;
exit
13. Navigate to the XAMPP/bookstack folder ≫ Right click in the white space ≫ Open PowerShell window here...
14. Run the following command to download dependencies
# create a copy of the sample .env file
cp ..env.example ..env
# edit .env in notepad
notepad ..env
15. Modifying the following key/value pairs in .env as needed
APP_ENV=production
APP_DEBUG=false
APP_KEY=SomethingSecure
APP_URL=http://windows11.local/bookstack
APP_TIMEZONE=America/New_York
APP_LOCALE=en
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=bookstack
DB_USERNAME=bookstack_rw
DB_PASSWORD=B00k$t@ck!
MAIL_DRIVER=smtp
MAIL_HOST=smtp.i12bretro.local
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDR=bookstack@i12bretro.local
MAIL_FROM_NAME=BookStack
MAIL_REPLYTO_ADDR=bookstack@i12bretro.local
MAIL_REPLYTO_NAME=BookStack
MAIL_AUTO_EMBED_METHOD=attachment
16. Save the changes to .env
17. Continue with the following commands in PowerShell
# install dependencies with composer
composer install no-dev no-plugins
# generate app key
php artisan key:generate no-interaction force
# migrate the database
php artisan migrate no-interaction force
....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 BookStack - Documentation/Wiki Platform - on Windows](https://i.ytimg.com/vi/QZnSIiRalMU/mqdefault.jpg)
![Flashing H310/H710 RAID Controllers to LSI IT Mode
#RAID #ITMode #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0837.html
Background
I recently purchased a Dell Poweredge server with a H310 RAID controller. One of the purposes of the new server is to run TrueNAS Scale as a VM inside Proxmox. To get the best performance out of TrueNAS and ZFS, the H310 needs to be flashed to LSI IT mode so ZFS can have direct access to the drives. IT mode also improves the disk drive IOPS (Input/output operations per second) performance.
What is LSI IT Mode?
IT (Initiator Target) mode essentially disables the hardware RAID capabilities of the controller, allowing the operating system to see and interact with each disk drive directly.
Disclaimer
This process will overwrite the firmware on the RAID controller. If not done correctly, the process can damage and brick the RAID controller.
Things You Will Need
- A USB flash drive, at least 4 GB https://amzn.to/3wkR5ju | https://amzn.to/3qkrJ1p | https://amzn.to/3Nhu9b9
- One of the following hardware RAID controllers
H310 Mini Mono (⇦ used in this tutorial)
H310 Full Size
H710 Mini Mono
H710P Mini Mono
H710 Full Size
H710P Full Size
H810 Full Size
Before You Begin
01. Remove the battery from the RAID controller
02. Disable the following technologies in the BIOS
- Virtualization
- SR-IOV
- IOMMU
06. Set the Boot Mode to BIOS/Legacy (not UEFI)
Preparing the Flash Utilities
Huge thanks to http://fohdeesha.com for compiling the software and steps to complete the flashing process into an easy to follow procedure.
01. Download the PERC flashing utilities https://fohdeesha.com/docs/store/perc/perc-crossflash-v2.2.zip
02. Download the Ventoy installer https://www.ventoy.net/en/download.html
03. Extract the downloaded perc-crossflash .zip file
04. Extract the downloaded Ventoy .zip file
05. Run Ventoy2Disk.exe
06. Plug in a USB flash drive at least 4 GB in size
07. Click the refresh icon
08. Select the flash drive from the device dropdown
09. Click the Install button
10. After the installation completes, copy the Linux and FreeDOS .iso files from the extracted perc-crossflash folder to the Ventoy partition
11. Safely remove the USB flash drive
12. Plug the flash drive into the target server
Collecting RAID Controller Information
01. Power on the server hardware ≫ Boot to the flash drive
02. Select the FreeDOS .iso from the Ventoy menu
03. Once FreeDOS has booted, run the following command
info
04. Take a photo of and/or carefully write down the SAS address from the output
05. Compare the output Product Name and ChipRevision (H310 Mini in this example) to the listing on https://fohdeesha.com/docs/perc.html#finding-your-card-revision; If there isnt an EXACT MATCH stop
06. Shutdown or reboot the server
Flashing to IT Mode
The steps below are specific to the H310 Mini RAID controller in my device (https://fohdeesha.com/docs/H310.html). Make sure to follow the steps for your target RAID controller model.
01. Power on the server hardware ≫ Boot to the flash drive
02. Select the Linux .iso from the Ventoy menu
03. Log into Linux using the username user and password live
04. If you plan to SSH into the device, run the following command to output the IP address and connect via SSH
ipinfo
05. Continue with the following commands in Linux on the target server device
# elevate to root shell
sudo su -
# output the SAS address
# take a photo of and/or carefully write down the SAS address from the output
# it will be required after the flashing process
sas-mega
# flash the raid controller firmware
H310-Mini
# once the flash completes without errors, reboot the server
reboot now
06. Boot to the flash drive
07. Select the Linux .iso from the Ventoy menu
NOTE: If you see kernel panic errors during startup, shutdown the server hardware and power it back on and boot back into Linux from Ventoy
08. Log back into Linux using the username user and password live
09. Continue with the following commands
# elevate to root shell
sudo su -
# set the sas address
setsas ≪%sas address from output earlier%≫
# output info about the new state of the controller
info
10. If youll be booting from drives attached to the RAID controller, continue with the following steps to flash the boot ROM images
# flash bios/legacy boot rom
flashboot /root/Bootloaders/mptsas2.rom
# flash uefi boot rom
flashboot /root/Bootloaders/x64sas2.rom
# shutdown the system
....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 Flashing H310/H710 RAID Controllers to LSI IT Mode](https://i.ytimg.com/vi/QfQKwBKt4vg/mqdefault.jpg)
![Install LimeSurvey CE - Custom Survey Tool - on Linux
#LimeSurvey #Surveys #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0498.html
What is LimeSurvey?
[LimeSurvey is] a powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create online surveys and forms with unmatched flexibility. - https://github.com/LimeSurvey/LimeSurvey
Installation
01. Log into the Linux device
02. Run the following commands in a terminal:
# update software repositories
sudo apt update
# install any available software updates
sudo apt upgrade -y
# install Apache HTTPD and MySQL
sudo apt install apache2 mariadb-server mariadb-client wget zip -y
# install PHP components
sudo apt install php php-mysql php-common php-gd php-mbstring php-xml php-ldap php-intl php-zip php-imap -y
# configure the MySQL database
sudo mysql_secure_installation
03. Press Enter to login as root
04. Type N and press Enter to not switch to 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:
sudo mysql -u root -p
11. Authenticate with the root password set earlier
12. Run the following commands to create the limesurvey database and database user
CREATE DATABASE limesurvey DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON limesurvey.* TO limesurvey_rw@localhost IDENTIFIED BY L!m3Surv3Y;
FLUSH PRIVILEGES;
EXIT;
13. Continue with the following commands to download and extract LimeSurvey to the webroot
# fetch the latest download URL
regex=(https://download.limesurvey.org/latest-master/limesurvey[^/]*.zip) && response=$(curl https://community.limesurvey.org/downloads/) && [[ $response =~ $regex ]] && downloadURL=${BASH_REMATCH[1]}
# download latest limesurvey version
sudo wget -O /tmp/limesurvey.zip $downloadURL
# extract the downloaded zip archive
sudo unzip /tmp/limesurvey.zip -d /var/www/html
# set ownership
sudo chown -R www-data:www-data /var/www/html/limesurvey
# set permissions
sudo chmod -R 755 /var/www/html/limesurvey/tmp && sudo chmod -R 755 /var/www/html/limesurvey/upload && sudo chmod -R 755 /var/www/html/limesurvey/application/config/
14. Open a web browser and navigate to http://DNSorIP/limesurvey
15. Select a Language ≫ Click Start installation at the Welcome screen
16. Click I accept at the License Agreement
17. Click Next at the Pre-Installation Check
18. Complete the Database Configuration as shown below
Database type: MySQL
MySQL database engine type: MyISAM
Database location: localhost
Database user: limesurvey_rw
Database Password: L!m3Surv3Y
Database name: limesurvey
Table Prefix:
19. Click Next ≫ Click Populate database
20. Complete the Administration settings form ≫ Click Next
21. Click Administration
22. Login using the admin credentials created earlier
23. Welcome to LimeSurvey
Source: https://manual.limesurvey.org/Installation LimeSurvey_CE
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install LimeSurvey CE - Custom Survey Tool - on Linux](https://i.ytimg.com/vi/R28RuvDBA6w/mqdefault.jpg)
![Run PhotoPrism - A Google Photos Alternative - In Docker
#PhotoPrism #PhotoOrganizer #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0902.html
What is PhotoPrism?
PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, on a private server, or in the cloud. - https://github.com/photoprism/photoprism
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 PhotoPrism
01. Now that Docker is installed, run the following commands to setup the PhotoPrism Docker container and run it
# create working directories
mkdir ~/docker/photoprism/{storage,originals} -p && mkdir ~/docker/mariadb -p
# set owner of working directories
sudo chown $USER:$USER ~/docker -R
# create docker network
docker network create containers
# run the mariadb docker container
docker run -d name mariadb -e MYSQL_ROOT_PASSWORD=r00tp@$$ -e MYSQL_USER=photoprism_rw -e MYSQL_PASSWORD=Ph0t0Pr1sm -e MYSQL_DATABASE=photoprism -v ~/docker/mariadb:/var/lib/mysql network containers restart=unless-stopped mariadb:latest
# run photoprism container
docker run -d name=photoprism security-opt seccomp=unconfined security-opt apparmor=unconfined -p 2342:2342 -e PHOTOPRISM_UPLOAD_NSFW=true -e PHOTOPRISM_ADMIN_PASSWORD=SomethingSecure -e PHOTOPRISM_DATABASE_DRIVER=mysql -e PHOTOPRISM_DATABASE_SERVER=mariadb:3306 -e PHOTOPRISM_DATABASE_NAME=photoprism -e PHOTOPRISM_DATABASE_USER=photoprism_rw -e PHOTOPRISM_DATABASE_PASSWORD=Ph0t0Pr1sm -v ~/docker/photoprism/storage:/photoprism/storage -v ~/docker/photoprism/originals:/photoprism/originals network containers restart=unless-stopped photoprism/photoprism
02. Open a web browser and navigate to http://DNSorIP:2342
03. Login with the username admin and the password set in the PHOTOPRISM_ADMIN_PASSWORD environment variable, SomethingSecure in this example
04. Copy photos to the ~/docker/photoprism/originals directory or use the upload functionality in the web UI
05. Welcome to PhotoPrism running in Docker
Source: https://docs.photoprism.app/getting-started/docker/
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run PhotoPrism - A Google Photos Alternative - In Docker](https://i.ytimg.com/vi/R2T89oz0jTA/mqdefault.jpg)


![Running Homepage Application Dashboard on Linux
#Homepage #Dashboard #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0886.html
What is Homepage?
[Homepage is] a modern, fully static, fast, secure fully proxied, highly customizable application dashboard with integrations for over 100 services and translations into multiple languages. Easily configured via YAML files or through docker label discovery. - https://github.com/benphelps/homepage
Installing NodeJS
01. Log into the Linux device
02. Run the following commands in a terminal window
# add nodejs software repository
curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
# install nodejs
sudo apt install nodejs -y
# test node is working
node -v
# test npm is working
npm -v
Running Homepage
01. Continue with the following commands:
# install git
sudo apt install git -y
# cd back to home
cd ~
# clone homepage github repo
git clone https://github.com/gethomepage/homepage.git ./homepage
# cd into git clone
cd homepage
# checkout the latest tagged release
git checkout $(git tag sort=v:refname | tail -n1)
# install dependencies
npm install
# copy config files
cp ./src/skeleton ./config -r
# build homepage
npm run build
# run homepage
npm start
02. Open a web browser and navigate to http://DNSorIP:3000
03. Welcome to Homepage
Source: https://github.com/gethomepage/homepage?tab=readme-ov-file#with-node
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running Homepage Application Dashboard on Linux](https://i.ytimg.com/vi/RSjjO3QNgK8/mqdefault.jpg)


![Running Cachet Open Source Status Page System in Docker on Linux
#Cachet #Docker #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0560.html
What is Cachet?
Cachet is a beautiful and powerful open source status page system. - https://github.com/CachetHQ/Cachet
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 Cachet
01. Now that Docker is installed, run the following commands to setup the Cachet container and run it
# create working directories
mkdir /home/$USER/docker/postresql -p
# set owner of working directories
sudo chown $USER:$USER /home/$USER/docker -R
# run the postgesql docker container
docker run -d name postgres -e POSTGRES_USER=cachet -e POSTGRES_PASSWORD=Cach3t -e POSTGRES_DB=cachet -v /home/$USER/docker/postresql:/var/lib/postgresql/data restart=unless-stopped postgres:latest
# run the cachet docker container
docker run -d name cachet link postgres -e DB_DRIVER=pgsql -e DB_HOST=postgres -e DB_DATABASE=cachet -e DB_USERNAME=cachet -e DB_PASSWORD=Cach3t -e APP_KEY=base64:YAWZR/UkMlVTBWEET95ZGiL7g13mhNwaKF4hzYmo9oc= -e APP_ENV=production -p 8000:8000 restart=unless-stopped cachethq/docker:latest
02. Open a web browser and navigate to http://DNSorIP:8000/setup
03. The Cachet setup screen should be displayed
04. Set the Cache, Queue and Session drivers to Database
05. Optionally setup the SMTP host and email address ≫ Click Next
06. Enter a site name, set the timezone and language ≫ Click Next
07. Create an administrator account by entering a username, email address and password ≫ Click Complete Setup
08. Click the Go to dashboard button
09. Login with the administator account created earlier
10. Welcome to Cachet
11. To view the status page navigate to http://DNSorIP:8000
Documentation: https://hub.docker.com/r/cachethq/docker
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running Cachet Open Source Status Page System in Docker on Linux](https://i.ytimg.com/vi/SADNtuNXmaw/mqdefault.jpg)