Uploaded September 2024 | Updated November 2024, 2 years ago
#Armbian #S905x3 #RaspberryPiAlternative
Full steps can be found at i12bretro.github.io/tutorials/0978.html
I love the idea of the Raspberry Pi, but there are some cheaper alternative single board computers that offer a similar experience for a fraction of the cost. While the community support isn't quite what it is for the Pi, there are a ton of projects you can accomplish on the cheap with these little hidden gems. Keep an eye on AliExpress and Amazon and you can find SBC's sporting quad core ARM process with 2-4 GB of RAM for under $30, including a power supply and IR remote control.
The box used in this video is a Tanix TX3 I picked up on AliExpress for about $35 shipped. It sports a Quad Core Amlogic S905x3 @ 1.9GHz and 4 GB of DDR3 RAM.
--------------------------------------------------------------------
Things You Will Need
--------------------------------------------------------------------
- A microSD card at least 8 GB amzn.to/36CpShC | amzn.to/3CXJngt | amzn.to/3JqyxSP
--------------------------------------------------------------------
Downloads and Flashing to MicroSD
--------------------------------------------------------------------
01. Download Armbian armbian.com/amlogic-s9xx-tv-box
02. Download Balena Etcher github.com/balena-io/etcher/releases/latest
03. Run Balena Etcher
04. Burn Armbian image to microSD card
05. Safely remove microSD and re-insert
06. Ignore/close the Windows dialogs to format the inserted microSD card
--------------------------------------------------------------------
Configure MicroSD Card for Armbian
--------------------------------------------------------------------
01. Open the readable partition of the microSD card in Explorer
02. Rename the appropriate file from below to u-boot.ext on the root of the SD card, u-boot-s905x3 in this example
03. Edit /extlinux/extlinux.conf in a text editor
a. Update the FDT line to point to a working .dtb file for your device
fdt /dtb/amlogic/meson-sm1-x96-air.dtb
b. Save
c. Close
07. Safely remove microSD
08. Insert microSD card to Android TV box
--------------------------------------------------------------------
Booting to Armbian for the First Time
--------------------------------------------------------------------
01. With an unfolded paperclip, press the reset button
02. While holding the reset button, plug the power adapter into the Android TV box
03. You should see the Armbian terminal running startup scripts
04. When prompted, enter and confirm a root password
05. Select a default system shell
06. Input a username
07. Enter and confirm a password for the new user
08. Follow any additional the prompts
09. Armbian will boot into the desktop environment
Special thanks to the developers and forum members over at armbian.com for making this possible
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#Armbian #S905x3 #RaspberryPiAlternative
Full steps can be found at i12bretro.github.io/tutorials/0978.html
I love the idea of the Raspberry Pi, but there are some cheaper alternative single board computers that offer a similar experience for a fraction of the cost. While the community support isn't quite what it is for the Pi, there are a ton of projects you can accomplish on the cheap with these little hidden gems. Keep an eye on AliExpress and Amazon and you can find SBC's sporting quad core ARM process with 2-4 GB of RAM for under $30, including a power supply and IR remote control.
The box used in this video is a Tanix TX3 I picked up on AliExpress for about $35 shipped. It sports a Quad Core Amlogic S905x3 @ 1.9GHz and 4 GB of DDR3 RAM.
--------------------------------------------------------------------
Things You Will Need
--------------------------------------------------------------------
- A microSD card at least 8 GB amzn.to/36CpShC | amzn.to/3CXJngt | amzn.to/3JqyxSP
--------------------------------------------------------------------
Downloads and Flashing to MicroSD
--------------------------------------------------------------------
01. Download Armbian armbian.com/amlogic-s9xx-tv-box
02. Download Balena Etcher github.com/balena-io/etcher/releases/latest
03. Run Balena Etcher
04. Burn Armbian image to microSD card
05. Safely remove microSD and re-insert
06. Ignore/close the Windows dialogs to format the inserted microSD card
--------------------------------------------------------------------
Configure MicroSD Card for Armbian
--------------------------------------------------------------------
01. Open the readable partition of the microSD card in Explorer
02. Rename the appropriate file from below to u-boot.ext on the root of the SD card, u-boot-s905x3 in this example
03. Edit /extlinux/extlinux.conf in a text editor
a. Update the FDT line to point to a working .dtb file for your device
fdt /dtb/amlogic/meson-sm1-x96-air.dtb
b. Save
c. Close
07. Safely remove microSD
08. Insert microSD card to Android TV box
--------------------------------------------------------------------
Booting to Armbian for the First Time
--------------------------------------------------------------------
01. With an unfolded paperclip, press the reset button
02. While holding the reset button, plug the power adapter into the Android TV box
03. You should see the Armbian terminal running startup scripts
04. When prompted, enter and confirm a root password
05. Select a default system shell
06. Input a username
07. Enter and confirm a password for the new user
08. Follow any additional the prompts
09. Armbian will boot into the desktop environment
Special thanks to the developers and forum members over at armbian.com for making this possible
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
![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 Lychee - Photo Management System - On Linux
#Lychee #PhotoManagemer #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0847.html
What is Lychee?
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely. - https://lycheeorg.github.io/
Installation
01. Log into the Linux device
02. Run the following commands in a terminal window:
# update software repositories
sudo apt update
# install available software updates
sudo apt upgrade -y
# install prerequisites
sudo apt install curl wget zip -y
# install Apache HTTPD and MySQL
sudo apt install apache2 mariadb-server mariadb-client -y
# install PHP components
sudo apt install php php-common php-mysqli php-mysql php-pdo-mysql php-bcmath php-gd php-xsl php-mbstring php-dom php-imagick php-xml -y
# configure the MySQL database
sudo su
mysql_secure_installation
03. Press Enter to login as root
04. Type N and press Enter to not switch to unix 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:
mysql -u root -p
11. Authenticate with the root password set earlier
12. Run the following commands to create the Lychee database and database user
CREATE DATABASE lychee;
GRANT ALL ON lychee.* to lychee_rw@localhost IDENTIFIED BY Lych33!;
FLUSH PRIVILEGES;
EXIT;
exit
13. Continue with the following commands:
# fetch the latest download URL
regex=browser_download_url: (https://github.com/LycheeOrg/Lychee/releases/download/[^/]*/[^/]*.zip) && response=$(curl -H Accept: application/vnd.github.v3+json https://api.github.com/repos/LycheeOrg/Lychee/releases/latest) && [[ $response =~ $regex ]] && downloadURL=${BASH_REMATCH[1]}
# download the latest release
wget -O /tmp/lychee.zip $downloadURL
# extract the downloaded zip to /var/www
sudo unzip /tmp/lychee.zip -d /var/www
# rename the extracted folder
sudo mv /var/www/Lychee* /var/www/lychee
# set the owner of the lychee directory
sudo chown -R www-data:www-data /var/www/lychee
# create lychee apache configuration
sudo nano /etc/apache2/sites-available/lychee.conf
14. Paste the following configuration into lychee.conf
Alias /lychee /var/www/lychee/public
≪Directory /var/www/lychee/public≫
# enable the .htaccess rewrites
AllowOverride All
Order allow,deny
Allow from All
≪/Directory≫
15. Press CTRL+O, Enter, CTRL+X to write the changes
16. Run the following command to enable the lychee site
# enable rewrite module
sudo a2enmod rewrite
# enable the lychee site
sudo a2ensite lychee
# restart the apache2 service
sudo systemctl restart apache2
Lychee Web Installer
01. Open a web browser and navigate to http://DNSorIP/lychee
02. Click Next at the Lychee welcome screen
03. Click Next at the Requirements Check
04. Click Next at the Permissions Check
05. Update at least the following values in the
APP_URL=http://DNSorIP
APP_DIR=/lychee
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=lychee
DB_USERNAME=lychee_rw
DB_PASSWORD=Lych33!
06. Click Save ≫ Click Install
07. Once the installation completes click Set up admin account
08. Enter a Username ≫ Enter and confirm a Password ≫ Click Create admin account
09. Click Open Lychee
10. Welcome to Lychee
Documentation: https://lycheeorg.github.io/docs/#installation
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install Lychee - Photo Management System - On Linux](https://i.ytimg.com/vi/jeSyuxkvFmo/mqdefault.jpg)
![Run Easy!Appointments - Appointment Scheduler System - in Docker
#EasyAppointments #Scheduling #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0949.html
What is Easy!Appointments?
Easy!Appointments is a highly customizable web application that allows customers to book appointments with you via a sophisticated web interface. Moreover, it provides the ability to sync your data with Google Calendar so you can use them with other services. It is an open source project that you can download and install even for commercial use. Easy!Appointments will run smoothly with your existing website as it can be installed in a single folder of the server and of course share an existing database. - https://github.com/alextselegidis/easyappointments#about
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 Easy!Appointments
01. Now that Docker is installed, run the following commands to setup the Easy!Appointments 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
# run the mariadb docker container
docker run -d name mariadb network containers network-alias db -e MYSQL_ROOT_PASSWORD=r00tp@ss -e MYSQL_USER=easy_appointments_rw -e MYSQL_PASSWORD=EasyAppo1ntm3nts! -e MYSQL_DATABASE=easy_appointments -v /home/$USER/docker/mariadb:/var/lib/mysql restart=unless-stopped mariadb:latest
# run the easy!appointments docker container
docker run -d name easy-appointments network containers -p 8089:80 -e DB_HOST=mariadb -e DB_NAME=easy_appointments -e DB_USERNAME=easy_appointments_rw -e DB_PASSWORD=EasyAppo1ntm3nts! restart=unless-stopped alextselegidis/easyappointments
Easy!Appointments Web Installer
01. Open a web browser and navigate to http://DNSorIP:8089
02. The Easy!Appointments Installation web installer should be load
03. Complete the Administrator and Company form fields ≫ Click Install Easy!Appointments
04. Welcome to Easy!Appointments
Documentation: https://hub.docker.com/r/alextselegidis/easyappointments
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run Easy!Appointments - Appointment Scheduler System - in Docker](https://i.ytimg.com/vi/FDdDQinpzq4/mqdefault.jpg)
![Install MeshCentral - Remote Management Site - on Linux
#MeshCentral #HomeLab #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0962.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 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
Installing MeshCentral
01. Continue with the following commands:
# create a meshcentral folder
sudo mkdir /usr/local/bin/meshcentral
# change to the new directory
cd /usr/local/bin/meshcentral
# install meshcentral
sudo npm install meshcentral
# create a service file
sudo nano /etc/systemd/system/meshcentral.service
02. Paste the following configuration
[Unit]
Description=MeshCentral Server
[Service]
Type=simple
LimitNOFILE=1000000
ExecStart=/usr/bin/node /usr/local/bin/meshcentral/node_modules/meshcentral
WorkingDirectory=/usr/local/bin/meshcentral
Environment=NODE_ENV=production
Restart=always
# Restart service after 10 seconds if node service crashes
RestartSec=10
# Set port permissions capability
AmbientCapabilities=cap_net_bind_service
[Install]
WantedBy=multi-user.target
03. Press CTRL+O, Enter, CTRL+X to write the changes
04. Continue with the following commands
# reload services
sudo systemctl daemon-reload
# start and enable meshcentral service
sudo systemctl enable meshcentral.service now
05. Open a web browser and navigate to https://DNSorIP
06. Accept the certificate warning
07. Click the link to create an account
08. Complete the form by entering an username, email and password ≫ Click Create Account
09. Welcome to MeshCentral
Source: https://meshcentral.com/docs/MeshCentral2InstallGuide.pdf
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install MeshCentral - Remote Management Site - on Linux](https://i.ytimg.com/vi/fd23f5-LgZc/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)


![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)
![Run LimeSurvey CE - Custom Survey Tool - in Docker
#LimeSurvey #Surveys #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/1000.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
Installing Docker
01. Log into the Linux host and run the following commands in a terminal window
# 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 LimeSurvey Container
01. Continue with the following commands in a terminal window
# create working directories
mkdir ~/docker/limesurvey -p && mkdir ~/docker/mariadb -p
# set owner of docker directory
sudo chown $USER:$USER ~/docker -R
# allow the container to write to working directories
sudo chmod a+rwx -R ~/docker/limesurvey
# create containers network
docker network create containers
# run the mariadb docker container
docker run -d name mariadb network containers -e MYSQL_ROOT_PASSWORD=r00tp@$$ -e MYSQL_USER=limesurvey_rw -e MYSQL_PASSWORD=L!m3Surv3Y -e MYSQL_DATABASE=limesurvey -v ~/docker/mariadb:/var/lib/mysql -p 3306:3306 restart=unless-stopped mariadb:latest
# run the limesurvey container
docker run -d name limesurvey network containers -e DB_TYPE=mysql -e DB_HOST=mariadb -e DB_PORT=3306 -e DB_USERNAME=limesurvey_rw -e DB_PASSWORD=L!m3Surv3Y -e DB_NAME=limesurvey -e DB_TABLE_PREFIX= -e ADMIN_USER=admin -e ADMIN_NAME=administrator -e ADMIN_EMAIL=admin@change.me -e ADMIN_PASSWORD=SomethingSecure -v ~/docker/limesurvey:/var/www/html/upload/surveys -p 8080:8080 restart=unless-stopped martialblog/limesurvey
02. Open a web browser and navigate to http://DNSorIP:8080/index.php/admin/
03. Login using the admin credentials set in the environment variables
04. Welcome to LimeSurvey
Documentation: https://hub.docker.com/r/martialblog/limesurvey, https://github.com/martialblog/docker-limesurvey
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run LimeSurvey CE - Custom Survey Tool - in Docker](https://i.ytimg.com/vi/BWJ7c4uGfac/mqdefault.jpg)
