Uploaded December 2023 | Updated November 2026, 2 hours ago
#Joomla #CMS #Linux
Full steps can be found at i12bretro.github.io/tutorials/0416.html
01. Log into the Debian device
02. Run the following commands in a terminal:
# update repositories and install any available software updates
sudo apt update
sudo apt upgrade -y
# install Apache HTTPD and MySQL
sudo apt-get install apache2 mariadb-server mariadb-client curl
# install PHP components
sudo apt install php php-mysql php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip
# configure the MySQL database
sudo su
mysql_secure_installation
03. Press Enter to login as root
04. Type Y and press Enter to set a root password, type the password twice to confirm
05. Type Y and press Enter to remove anonymous users
06. Type Y and press Enter to disallow root login remotely
07. Type Y and press Enter to remove the test database
08. Type Y and press Enter to reload privilege tables
09. Run the following command to login into MySQL:
mysql -u root -p
10. Authenticate with the root password set earlier
11. Run the following commands to create the Joomla! database and database user
CREATE DATABASE joomla DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON joomla.* TO 'joomla_rw'@'localhost' IDENTIFIED BY 'J00mla!!';
FLUSH PRIVILEGES;
EXIT;
exit
12. Continue with the following commands to download and extract Joomla! in the Apache webroot
# download latest joomla version
sudo wget -O joomla.tar.gz downloads.joomla.org/cms/joomla3/3-9-24/Joomla_3-9-24-Stable-Full_Package.tar.gz?format=gz
# extract joomla.tar.gz
sudo mkdir /var/www/joomla
sudo tar xzvf joomla.tar.gz --directory /var/www/joomla
# create a new joomla.conf file to configure the site
sudo nano /etc/apache2/sites-available/joomla.conf
13. Paste the following configuration into joomla.conf
Alias /joomla "/var/www/joomla/"
≪Directory /var/www/joomla/≫
AllowOverride All
≪/Directory≫
14. Press CTRL+O, Enter, CTRL+X to write the changes to joomla.conf
15. Continue with the following commands to enable the site and restart Apache:
# enable the Joomla site and required PHP modules
sudo a2ensite joomla
sudo a2enmod rewrite
# set the owner of the new joomla directory to www-data
sudo chown -R www-data:www-data /var/www/joomla
# restart apache2 service
sudo systemctl restart apache2
16. Open a web browser and navigate to http://DNSorIP/joomla
17. The Joomla! setup screen should be displayed
18. Set the site title and create an administrative account login ≫ Click the Next button
19. Enter the database configuration as follows:
Database Type: MySQLi
Host Name: localhost
Username: joomla_rw
Password: J00mla!!
Database Name: joomla
Table Prefix: jmla_
20. Click the Next button
21. On the Overview page click the Install button
22. Review the configuration and click the Install button
23. When the installation completes, copy the output configuration.php and run the following in the terminal window
sudo nano /var/www/joomla/configuration.php
24. Paste the copied configuration text
25. Press CTRL+O, Enter, CTRL+X to write the changes to configuration.php
26. Continue with deleting the installation directory by running the following command
sudo rm /var/www/joomla/installation -r
27. Back in the web browser, click on the Site button
28. Welcome to your very own, self-hosted Joomla! installation
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#Joomla #CMS #Linux
Full steps can be found at i12bretro.github.io/tutorials/0416.html
01. Log into the Debian device
02. Run the following commands in a terminal:
# update repositories and install any available software updates
sudo apt update
sudo apt upgrade -y
# install Apache HTTPD and MySQL
sudo apt-get install apache2 mariadb-server mariadb-client curl
# install PHP components
sudo apt install php php-mysql php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip
# configure the MySQL database
sudo su
mysql_secure_installation
03. Press Enter to login as root
04. Type Y and press Enter to set a root password, type the password twice to confirm
05. Type Y and press Enter to remove anonymous users
06. Type Y and press Enter to disallow root login remotely
07. Type Y and press Enter to remove the test database
08. Type Y and press Enter to reload privilege tables
09. Run the following command to login into MySQL:
mysql -u root -p
10. Authenticate with the root password set earlier
11. Run the following commands to create the Joomla! database and database user
CREATE DATABASE joomla DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON joomla.* TO 'joomla_rw'@'localhost' IDENTIFIED BY 'J00mla!!';
FLUSH PRIVILEGES;
EXIT;
exit
12. Continue with the following commands to download and extract Joomla! in the Apache webroot
# download latest joomla version
sudo wget -O joomla.tar.gz downloads.joomla.org/cms/joomla3/3-9-24/Joomla_3-9-24-Stable-Full_Package.tar.gz?format=gz
# extract joomla.tar.gz
sudo mkdir /var/www/joomla
sudo tar xzvf joomla.tar.gz --directory /var/www/joomla
# create a new joomla.conf file to configure the site
sudo nano /etc/apache2/sites-available/joomla.conf
13. Paste the following configuration into joomla.conf
Alias /joomla "/var/www/joomla/"
≪Directory /var/www/joomla/≫
AllowOverride All
≪/Directory≫
14. Press CTRL+O, Enter, CTRL+X to write the changes to joomla.conf
15. Continue with the following commands to enable the site and restart Apache:
# enable the Joomla site and required PHP modules
sudo a2ensite joomla
sudo a2enmod rewrite
# set the owner of the new joomla directory to www-data
sudo chown -R www-data:www-data /var/www/joomla
# restart apache2 service
sudo systemctl restart apache2
16. Open a web browser and navigate to http://DNSorIP/joomla
17. The Joomla! setup screen should be displayed
18. Set the site title and create an administrative account login ≫ Click the Next button
19. Enter the database configuration as follows:
Database Type: MySQLi
Host Name: localhost
Username: joomla_rw
Password: J00mla!!
Database Name: joomla
Table Prefix: jmla_
20. Click the Next button
21. On the Overview page click the Install button
22. Review the configuration and click the Install button
23. When the installation completes, copy the output configuration.php and run the following in the terminal window
sudo nano /var/www/joomla/configuration.php
24. Paste the copied configuration text
25. Press CTRL+O, Enter, CTRL+X to write the changes to configuration.php
26. Continue with deleting the installation directory by running the following command
sudo rm /var/www/joomla/installation -r
27. Back in the web browser, click on the Site button
28. Welcome to your very own, self-hosted Joomla! installation
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
![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)


![Install Odoo - Open Source Business Application Suite - on Linux
#Odoo #Python #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0924.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 Linux device
02. Run the following commands in terminal
# update software repositories
sudo apt update
# install available software updates
sudo apt upgrade
# install prerequisites
sudo apt install wget git apt-transport-https -y
# install postgresql
sudo apt install postgresql postgresql-client -y
# enable the postgresql service and start it
sudo systemctl enable postgresql now
# connect to postgresql
sudo -u postgres psql postgres
# 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
# install python
sudo apt install python3-full python3-pip libldap2-dev libpq-dev libsasl2-dev -y
# create odoo user
sudo useradd -M odoo
# create /opt/odoo directory
sudo mkdir /opt/odoo -p
# set owner of /opt/odoo
sudo chown odoo /opt/odoo -R && sudo chgrp odoo /opt/odoo -R && sudo usermod -d /opt/odoo odoo
# switch to odoo user
sudo su - odoo
# clone odoo from github
git clone https://github.com/odoo/odoo.git .
# prepare the working directory
python3 -m venv odoo-venv
. odoo-venv/bin/activate
# install wheel
pip3 install wheel
# install odoo
pip install -r requirements.txt
# create a config file
touch ./odoo.conf
# write database config to config file
echo [options]ndb_user = odoo_rwndb_password = 0dooDB_rw$ndb_name = odoondb_host = localhost ≫ ./odoo.conf
# run odoo
./odoo-bin config ./odoo.conf -i base
03. Open a web browser and navigate to http://DNSorIP:8069
04. Login with the username admin and password admin
05. Click the user icon at the top right corner of the screen ≫ Preferences
06. Update the Email and Email Signature ≫ Click Save
07. Click the Account Security tab ≫ Click the Change Password button
08. Enter admin as the current password ≫ Click Confirm Password
09. Enter and confirm a new password ≫ Click Change Password
10. Login using the updated email address and password
11. Welcome to Odoo
Running Odoo as a Service
01. Back in the Terminal, press CTRL+C to kill the running Odoo process
02. Continue with the following commands in terminal
# exit the odoo user shell
exit
# create odoo service file
sudo nano /etc/systemd/system/odoo.service
03. Paste the following into odoo.service
[Unit]
Description=Odoo
Requires=postgresql.service
After=network.target postgresql.service
[Service]
User=odoo
Group=odoo
ExecStart=/opt/odoo/odoo-venv/bin/python3 /opt/odoo/odoo-bin -c /opt/odoo/odoo.conf
[Install]
WantedBy=multi-user.target
04. Press CTRL+O, Enter, CTRL+X to write the changes
05. Continue with the following commands
# reload systemd services
sudo systemctl daemon-reload
# start odoo service on boot and now
sudo systemctl enable odoo now
06. Back in the web browser, refresh the Odoo tab
07. If prompted, log back in using the updated email address and password
Source: https://www.odoo.com/documentation/17.0/administration/on_premise/source.html
### 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 Linux](https://i.ytimg.com/vi/WPBEQawJ7p4/mqdefault.jpg)

![Running Shinobi CCTV in Docker
#Shinobi #CCTV #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0549.html
What is Shinobi?
Shinobi is Open Source, written in Node.js, and real easy to use. It is the future of CCTV and NVR for developers and end-users alike. It is catered to by professionals and most importantly by the one who created it. - https://shinobi.video/
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 Shinobi Container
01. Now that Docker is installed, run the following commands to setup the Shinobi Docker container and run it
# create working directories
sudo mkdir /home/$USER/docker/shinobi/config -p && sudo mkdir /home/$USER/docker/shinobi/data && sudo mkdir /home/$USER/docker/shinobi/videos
# run the Run Shinobi docker container
docker run -d -p 8080:8080 -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -v /home/$USER/docker/shinobi/config:/config -v /home/$USER/docker/shinobi/data:/var/lib/mysql -v /home/$USER/docker/shinobi/videos:/opt/shinobi/videos -v /dev/shm/shinobiDockerTemp:/dev/shm/streams migoller/shinobidocker
02. Open a web browser and navigate to http://DNSorIP:8080/super
03. Login with the username admin@shinobi.video and password admin
04. Select Preferences from the top navigation menu
05. Change the admin user email address and enter and confirm a new password
06. Click Save at the top of the page
07. Welcome to Shinobi
Documentation: https://registry.hub.docker.com/r/migoller/shinobidocker/
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running Shinobi CCTV in Docker](https://i.ytimg.com/vi/WeK-JnaYaow/mqdefault.jpg)
![Running Homepage Application Dashboard on Windows
#Homepage #Dashboard #Windows
Full steps can be found at https://i12bretro.github.io/tutorials/0882.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 Homepage
01. Log into the Windows device
02. Download the latest Homepage release https://github.com/benphelps/homepage/releases/latest
03. Download NodeJS https://nodejs.org/en/download/current/
04. Install NodeJS ≫ During the install, make sure to check the Tools for Native Modules option
05. At the Native Modules prompt, press any key to begin the installation process
NOTE: This process takes quite a while to install, be patient. Proceed once the PowerShell window closes
06. Extract the downloaded Homepage files
07. Rename the extracted folder homepage
08. Cut the homepage folder to a location it can safely run from, C:Program Fileshomepage in this example
09. Hold the SHIFT key and right click in the white space ≫ Open PowerShell window here...
10. Run the following commands in the PowerShell window
# install dependencies
npm install
# create .env file from example
Copy-Item .srcskeleton -Destination .config -Recurse
# build homepage
npm run build
# run homepage
npm start
11. Open a web browser and navigate to http://DNSorIP:3000
12. Welcome to Homepage
Run Homepage on System Startup (Optional, but recommended)
01. Press CTRL + C to kill the running Homepage process
02. Open a text editor and paste the following
:: Start homepage server
cd /D %~dp0
start homepage /b npm start
03. Save the file as homepage.bat in the homepage directory, C:Program Fileshomepage 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 Homepage 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%homepagehomepage.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 Homepage task ≫ Run
17. Refresh the open web browser to verify Homepage is now running from the scheduled task
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 Windows](https://i.ytimg.com/vi/WkuNY6tnxU0/mqdefault.jpg)