Uploaded March 2025 | Updated November 2026, 3 hours ago
#MacOS #Terminal #SoftwareUpdate
Full steps can be found at 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: macrumors.com/how-to/update-macos-terminal-command
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#MacOS #Terminal #SoftwareUpdate
Full steps can be found at 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: macrumors.com/how-to/update-macos-terminal-command
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro

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

![Roll Your Own Google Analytics Alternative with Umami in Docker
#Umami #Analytics #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0385.html
What is Umami?
Umami is a simple, fast, privacy-focused alternative to Google Analytics. - https://github.com/umami-software/umami
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 openssl 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 Umami
01. Now that Docker is installed, run the following commands to setup the Umami Docker container and run it
# create working directories
mkdir ~/docker/mariadb -p
# set owner of working directories
sudo chown $USER:$USER ~/docker -R
# create containers network
docker network create containers
# generate a random string
RANDOMSTRING=$(openssl rand -base64 30)
# run the mariadb docker container
docker run -d name mariadb network containers -e MYSQL_ROOT_PASSWORD=r00tp@ss -e MYSQL_USER=umami_rw -e MYSQL_PASSWORD=Um4m1 -e MYSQL_DATABASE=umami -v ~/docker/mariadb:/var/lib/mysql restart=unless-stopped mariadb:latest
# run the umami docker container
docker run -d name umami network containers -p 8030:3000 -e DATABASE_URL=mysql://umami_rw:Um4m1@mariadb:3306/umami -e DATABASE_TYPE=mysql -e APP_SECRET=$RANDOMSTRING restart=unless-stopped umamisoftware/umami:mysql-latest
02. Open a web browser and navigate to http://DNSorIP:8030
03. Login with the username admin and password umami
04. Navigate to Settings ≫ Profile and click the Change Password button
05. Enter the current password (umami) and enter and confirm the new password ≫ Click save
Documentation: https://umami.is/docs
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Roll Your Own Google Analytics Alternative with Umami in Docker](https://i.ytimg.com/vi/TU-H7wU1y24/mqdefault.jpg)



![Run MeshCentral - Remote Management Site - in Docker
#MeshCentral #HomeLab #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0963.html
What is MeshCentral?
MeshCentral is a full computer management web site. With MeshCentral, you can run your own web server to remotely manage and control computers on a local network or anywhere on the internet. - https://github.com/Ylianst/MeshCentral
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 MeshCentral
01. Now that Docker is installed, run the following commands to setup the MeshCentral Docker container and run it
# create working directories
mkdir ~/docker/meshcentral/{data,user_files} -p && mkdir ~/docker/mongodb -p
# set owner of working directories
sudo chown $USER:$USER ~/docker -R
# create docker network
docker network create containers
# run mongodb container
docker run -d name=mongodb network containers -v ~/docker/mongodb:/data/db restart=unless-stopped mongo
# run meshcentral container
# update the HOSTNAME variable
docker run -d name=meshcentral network containers -p 8086:443 -e HOSTNAME=ubuntuserver.local -e REVERSE_PROXY=false -e IFRAME=false -e ALLOW_NEW_ACCOUNTS=false -e WEBRTC=false -e NODE_ENV=production -v ~/docker/meshcentral/data:/opt/meshcentral/meshcentral-data -v ~/docker/meshcentral/user_files:/opt/meshcentral/meshcentral-files restart=unless-stopped typhonragewind/meshcentral:mongodb-latest
# update the config file
sed -Ei s/(NewAccounts: false,)/NewAccounts: false,ntallowedOrigin: true,/ ~/docker/meshcentral/data/config.json
# restart the container
docker restart meshcentral
02. Open a web browser and navigate to https://DNSorIP:8086
03. Accept the certificate warning
04. Click the link to create an account
05. Complete the form by entering an username, email and password ≫ Click Create Account
06. Welcome to MeshCentral running in Docker
Source: https://github.com/Typhonragewind/meshcentral-docker
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run MeshCentral - Remote Management Site - in Docker](https://i.ytimg.com/vi/V94q02P1zwM/mqdefault.jpg)

