Uploaded January 2025 | Updated November 2026, 1 day ago
#OctoPrint #3DPrinting #Windows
Full steps can be found at i12bretro.github.io/tutorials/0989.html
--------------------------------------------------------------------
What is OctoPrint?
--------------------------------------------------------------------
OctoPrint provides a snappy web interface for controlling consumer 3D printers. - github.com/OctoPrint/OctoPrint
--------------------------------------------------------------------
Installation
--------------------------------------------------------------------
01. Log into the Windows device
02. Download Python v3.11.x python.org/downloads/windows
03. Download Visual Studio Build Tools download.visualstudio.microsoft.com/download/pr/1afa33fc-e800-4714-9e19-31b928ea2572/1fc592e65b7c697cb80f96ae2c2f7ac9e6b366fecd42d7ecb451cc9f0de89624/vs_BuildTools.exe
04. Run the downloaded VS Build Tools installer
05. 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)
06. Filter the list to Windows SDK ≫ Check the box next to the option for the latest Windows SDK ≫ Click Install at the bottom right
07. Once the installation completes close VS Build Tools installer
08. Run the downloaded Python installer
09. Select the options to Use Admin privileges and Add python.exe to PATH ≫ Click Customize installation
10. Check the pip, py launcher and for all users options ≫ Click Next
11. Check the top five options, set the install location to C:\Program Files\Python ≫ Click Install
12. Launch PowerShell as Administrator
13. Run the following commands in PowerShell
# create octoprint path
New-Item -Path 'C:\apps\octoprint' -ItemType Directory -Force | Out-Null
# change directory to the new path
cd 'C:\apps\octoprint'
# create and activate the virtual environment
python -m venv .\octo-venv
.\octo-venv\Scripts\activate
# install wheel
pip install --upgrade pip wheel
# install octoprint
pip install octoprint
# run octoprint
.\octo-venv\Scripts\octoprint.exe serve
14. If prompted, allow Python to have network access
15. Open a web browser and navigate to http://DNSorIP:5000
--------------------------------------------------------------------
Run OctoPrint on System Startup
--------------------------------------------------------------------
01. Press CTRL + C to kill the running OctoPrint process
02. Open a text editor and paste the following
:: Start OctoPrint server
cd /D "%~dp0"
start "octoprint" /b "C:\apps\octoprint\octo-venv\Scripts\octoprint.exe" serve
03. Save the file as startup.bat in the OctoPrint directory, C:\apps\OctoPrint 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 OctoPrint 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:\apps\octoprint\startup.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. Click OK to create the scheduled task
15. Right click the OctoPrint task ≫ Run
16. Refresh the open web browser to verify OctoPrint is now running from the scheduled task
17. Click Next on the Start screen
18. Click Next on the Restore Backup screen
19. Create an account my entering a Username and entering and confirming a password ≫ Click Create Account
20. Once the account is created, click Next
21. Choose to Enable or Disable the Connectivity Check ≫ Click Next
22. Choose to Enable or Disable Anonymous Usage Tracking ≫ Click Next
23. Choose to Enable or Disable the Plugin Blacklist ≫ Click Next
24. Click Next on the Webcam Wizard screen
25. Click Next on the Default Printer Profile screen
26. Click Next on the Server Commands screen
27. Acknowledge all the messages on the Finish screen ≫ Click Finish
28. Welcome to OctoPrint
Source: community.octoprint.org/t/setting-up-octoprint-on-windows/383
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#OctoPrint #3DPrinting #Windows
Full steps can be found at i12bretro.github.io/tutorials/0989.html
--------------------------------------------------------------------
What is OctoPrint?
--------------------------------------------------------------------
OctoPrint provides a snappy web interface for controlling consumer 3D printers. - github.com/OctoPrint/OctoPrint
--------------------------------------------------------------------
Installation
--------------------------------------------------------------------
01. Log into the Windows device
02. Download Python v3.11.x python.org/downloads/windows
03. Download Visual Studio Build Tools download.visualstudio.microsoft.com/download/pr/1afa33fc-e800-4714-9e19-31b928ea2572/1fc592e65b7c697cb80f96ae2c2f7ac9e6b366fecd42d7ecb451cc9f0de89624/vs_BuildTools.exe
04. Run the downloaded VS Build Tools installer
05. 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)
06. Filter the list to Windows SDK ≫ Check the box next to the option for the latest Windows SDK ≫ Click Install at the bottom right
07. Once the installation completes close VS Build Tools installer
08. Run the downloaded Python installer
09. Select the options to Use Admin privileges and Add python.exe to PATH ≫ Click Customize installation
10. Check the pip, py launcher and for all users options ≫ Click Next
11. Check the top five options, set the install location to C:\Program Files\Python ≫ Click Install
12. Launch PowerShell as Administrator
13. Run the following commands in PowerShell
# create octoprint path
New-Item -Path 'C:\apps\octoprint' -ItemType Directory -Force | Out-Null
# change directory to the new path
cd 'C:\apps\octoprint'
# create and activate the virtual environment
python -m venv .\octo-venv
.\octo-venv\Scripts\activate
# install wheel
pip install --upgrade pip wheel
# install octoprint
pip install octoprint
# run octoprint
.\octo-venv\Scripts\octoprint.exe serve
14. If prompted, allow Python to have network access
15. Open a web browser and navigate to http://DNSorIP:5000
--------------------------------------------------------------------
Run OctoPrint on System Startup
--------------------------------------------------------------------
01. Press CTRL + C to kill the running OctoPrint process
02. Open a text editor and paste the following
:: Start OctoPrint server
cd /D "%~dp0"
start "octoprint" /b "C:\apps\octoprint\octo-venv\Scripts\octoprint.exe" serve
03. Save the file as startup.bat in the OctoPrint directory, C:\apps\OctoPrint 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 OctoPrint 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:\apps\octoprint\startup.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. Click OK to create the scheduled task
15. Right click the OctoPrint task ≫ Run
16. Refresh the open web browser to verify OctoPrint is now running from the scheduled task
17. Click Next on the Start screen
18. Click Next on the Restore Backup screen
19. Create an account my entering a Username and entering and confirming a password ≫ Click Create Account
20. Once the account is created, click Next
21. Choose to Enable or Disable the Connectivity Check ≫ Click Next
22. Choose to Enable or Disable Anonymous Usage Tracking ≫ Click Next
23. Choose to Enable or Disable the Plugin Blacklist ≫ Click Next
24. Click Next on the Webcam Wizard screen
25. Click Next on the Default Printer Profile screen
26. Click Next on the Server Commands screen
27. Acknowledge all the messages on the Finish screen ≫ Click Finish
28. Welcome to OctoPrint
Source: community.octoprint.org/t/setting-up-octoprint-on-windows/383
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro

![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)

![Install MacOS Updates Via the Terminal
#MacOS #Terminal #SoftwareUpdate
Full steps can be found at https://i12bretro.github.io/tutorials/0750.html
01. Start LaunchPad from the dock
02. Search terminal ≫ Click Terminal to launch it
03. Run the following commands in the terminal window
# list available updates
softwareupdate list
# install a specific update from the listing
# softwareupdate install Title of Update
softwareupdate install macOS Monterey 12.7.6-21H1320
# automatically install available updates
softwareupdate install all
softwareupdate Usage
usage: softwareupdate [ ...]
** Manage Updates:
-l | list List all appropriate update labels (options: no-scan, product-types)
-d | download Download Only
-i | install Install
... specific updates
-a | all All appropriate updates
-R | restart Automatically restart (or shut down) if required to complete installation.
-r | recommended Only recommended updates
os-only Only OS updates
safari-only Only Safari updates
stdinpass Password to authenticate as an owner. Apple Silicon only.
user Local username to authenticate as an owner. Apple Silicon only.
list-full-installers List the available macOS Installers
fetch-full-installer Install the latest recommended macOS Installer
full-installer-version The version of macOS to install. Ex: full-installer-version 10.15
install-rosetta Install Rosetta 2
background Trigger a background scan and update operation
** Other Tools:
dump-state Log the internal state of the SU daemon to /var/log/install.log
evaluate-products Evaluate a list of product keys specified by the products option
history Show the install history. By default, only displays updates installed by softwareupdate.
** Options:
no-scan Do not scan when listing or installing updates (use available updates previously scanned)
product-types Limit a scan to a particular product type only - ignoring all others
Ex: product-types macOS || product-types macOS,Safari
products A comma-separated (no spaces) list of product keys to operate on.
force Force an operation to complete. Use with background to trigger a background scan regardless of Automatically check pref
agree-to-license Agree to the software license agreement without user interaction.
verbose Enable verbose output
help Print this help
Source: https://www.macrumors.com/how-to/update-macos-terminal-command/
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install MacOS Updates Via the Terminal](https://i.ytimg.com/vi/SUIBFKhKdRM/mqdefault.jpg)

![Running LibreNMS in Docker
#LibreNMS #NetworkMonitoring #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0480.html
What is LibreNMS
LibreNMS is an autodiscovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more. - https://github.com/librenms/librenms
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 LibreNMS
01. Now that Docker is installed, run the following commands to setup the LibreNMS Docker container and run it
# create working directories
mkdir /home/$USER/docker/librenms -p && mkdir /home/$USER/docker/mariadb -p
# run the mariadb docker container
docker run name mariadb -e MYSQL_ROOT_PASSWORD=p@$$word -e MYSQL_USER=librenms_rw -e MYSQL_PASSWORD=librenms -e MYSQL_DATABASE=librenms -v /home/$USER/docker/mariadb:/var/lib/mysql -p 3306:3306 -d mariadb
# run the librenms docker container, replace 10.10.27.11 with your docker host IP address
docker run -d name librenms -v /home/$USER/docker/librenms:/data -e TZ=America/New_York -e DB_HOST=10.10.27.11 -e DB_NAME=librenms -e DB_USER=librenms_rw -e DB_PASSWORD=librenms network host librenms/librenms:latest
02. Open a web browser and navigate to http://DNSorIP:8000
03. Login to LibreNMS with username librenms and password librenms
04. Welcome to LibreNMS running in a Docker container
05. Hover over librenms in the top right ≫ My Settings
06. Enter the current password (librenms) and enter and confirm a new password ≫ Click the Change Password button
Documentation: https://hub.docker.com/r/librenms/librenms/
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running LibreNMS in Docker](https://i.ytimg.com/vi/Svx1uM5cVRY/mqdefault.jpg)
![Running OpenFire XMPP Server in Docker
#OpenFire #XMPP #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0481.html
What is OpenFire
Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance. - https://igniterealtime.org/projects/openfire/
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 OpenFire
01. Now that Docker is installed, run the following commands to setup the OpenFire Docker container and run it
# create a working directory
mkdir /home/$USER/docker/openfire/db -p
# run the OpenFire docker container
docker run name openfire -d -p 9090:9090 -p 5222:5222 -p 5269:5269 -p 5223:5223 -p 7443:7443 -p 7777:7777 -p 7070:7070 -p 5229:5229 -p 5275:5275 -v /home/$USER/docker/openfire/db:/var/lib/openfire/embedded-db restart=unless-stopped quantumobject/docker-openfire
02. Open a web browser and navigate to http://DNSorIP:9090
03. Select a language ≫ Click Continue
04. Set the XMPP Domain Name and Server Host Name (FQDN) to local ≫ Click Continue
05. Select Embedded Database ≫ Click Continue
06. Select Default on the Profile Settings page ≫ Click Continue
07. Input an admin email address and password ≫ Click Continue
08. Click the Login to the admin console button
09. Login with username admin and the password created previously
10. Click the Users/Groups tab
11. Click Create New User in the left navigation menu
12. Create a username and password for the new user
13. Follow the steps to create as many users as needed, at least 2 are needed for testing
Making the Configuration Persistent
01. With OpenFire now configured, run the following commands to copy the configuration files to a persistent volume and re-run the docker container
# create working directory for conf
mkdir /home/$USER/docker/openfire/conf -p
# copy the configuration from the running docker container
sudo docker cp openfire:/usr/share/openfire/conf/ /home/$USER/docker/openfire
# set owner of working directories
sudo chown $USER:$USER /home/$USER/docker -R
# stop and remove the running OpenFire container
docker rm openfire force
# re-run the OpenFire docker container with new conf volume
docker run name openfire -d -p 9090:9090 -p 5222:5222 -p 5269:5269 -p 5223:5223 -p 7443:7443 -p 7777:7777 -p 7070:7070 -p 5229:5229 -p 5275:5275 -v /home/$USER/docker/openfire/db:/var/lib/openfire/embedded-db -v /home/$USER/docker/openfire/conf:/usr/share/openfire/conf restart=unless-stopped quantumobject/docker-openfire
Setting Up A XMPP Client
01. Download Pidgin Portable https://portableapps.com/apps/internet/pidgin_portable
02. Run the Pidgin Portable installer
03. Launch Pidgin Portable
04. Click Add...
05. Select XMPP from the protocol dropdown
06. Input the first username created above along with the XMPP domain setup in OpenFire and the users password
07. Click the Advanced tab ≫ Select Use encryption if available from the Connection security dropdown
08. Enter the OpenFire DNS name or IP in the server field
09. Click the Add button
10. Click Accept on the self-signed certificate popup
11. Copy the extracted Pidgin Portable folder to another device
12. Launch Pidgin Portable on the second device
13. Select Modify Account
14. Update the username and password to be a different account from the previous device
15. From one of the devices, select Buddies ≫ Add Buddy
16. Input the opposite devicess username
....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 OpenFire XMPP Server in Docker](https://i.ytimg.com/vi/T66RcFd8CMg/mqdefault.jpg)
