Uploaded August 2024 | Updated September 2026, 2 weeks ago
#Android #Nougat #SurfaceRT
Full steps can be found at i12bretro.github.io/tutorials/0851.html
--------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------
This process will run Android 7.1.2 Nougat on the Surface RT tablet from a microSD card. I have tested these steps on my own device (as shown in this video), but I am not responsible if you damage or brick your device.
--------------------------------------------------------------------
Things You Will Need
--------------------------------------------------------------------
- A USB flash drive amzn.to/3wkR5ju | amzn.to/3qkrJ1p | amzn.to/3Nhu9b9
- A microSD card, at least 8 GB amzn.to/3wkR5ju
--------------------------------------------------------------------
Preparing to Run Android
--------------------------------------------------------------------
01. Insert the microSD card and USB flash drive into a PC
02. Download Android 7.1.2 Surface RT image archive.org/download/Android-surface-7.1.2/surface-7.1.2-8gb-sdcard.img.gz
03. Download UEFI Plug and Play Booting Tool for USB archive.org/download/surface-rt-uefi-downstream-boot-v-1/surface%20RT%20UEFI%20Downstream%20Boot%20v1.zip
04. Download Balena Etcher balena.io/etcher
05. Run Balena Etcher
06. Write the Android 7.1.2 image to the microSD card
07. Once the write completes, safely remove the microSD card and insert it into the Surface RT's microSD slot
08. Format the USB flash drive to FAT32
⚠ NOTE: This will delete all files on the drive. Make sure to backup any important files before continuing
a. Right Click Start ≫ File Explorer
b. Right Click the USB flash drive ≫ Format...
c. Select FAT32 from the File System dropdown
d. Name the drive EFI
e. Make sure Quick Format is checked
f. Click Start
15. Extract the downloaded UEFI Plug and Play Booting Tool for USB .zip file to the root of the USB flash drive
16. Safely remove the USB flash drive
--------------------------------------------------------------------
Booting into Android
--------------------------------------------------------------------
01. Power off the Surface RT tablet if it is not already
02. Connect the prepared USB flash drive to the Surface RT tablet
03. Hold Vol- and press the power button, releasing the Vol- when Surface logo appears
04. Once the menu appears, select Env USB option
05. The Surface RT should begin booting into Android
Source: retrogameshistory.com/2023/03/how-to-install-android-on-microsoft.html
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
#Android #Nougat #SurfaceRT
Full steps can be found at i12bretro.github.io/tutorials/0851.html
--------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------
This process will run Android 7.1.2 Nougat on the Surface RT tablet from a microSD card. I have tested these steps on my own device (as shown in this video), but I am not responsible if you damage or brick your device.
--------------------------------------------------------------------
Things You Will Need
--------------------------------------------------------------------
- A USB flash drive amzn.to/3wkR5ju | amzn.to/3qkrJ1p | amzn.to/3Nhu9b9
- A microSD card, at least 8 GB amzn.to/3wkR5ju
--------------------------------------------------------------------
Preparing to Run Android
--------------------------------------------------------------------
01. Insert the microSD card and USB flash drive into a PC
02. Download Android 7.1.2 Surface RT image archive.org/download/Android-surface-7.1.2/surface-7.1.2-8gb-sdcard.img.gz
03. Download UEFI Plug and Play Booting Tool for USB archive.org/download/surface-rt-uefi-downstream-boot-v-1/surface%20RT%20UEFI%20Downstream%20Boot%20v1.zip
04. Download Balena Etcher balena.io/etcher
05. Run Balena Etcher
06. Write the Android 7.1.2 image to the microSD card
07. Once the write completes, safely remove the microSD card and insert it into the Surface RT's microSD slot
08. Format the USB flash drive to FAT32
⚠ NOTE: This will delete all files on the drive. Make sure to backup any important files before continuing
a. Right Click Start ≫ File Explorer
b. Right Click the USB flash drive ≫ Format...
c. Select FAT32 from the File System dropdown
d. Name the drive EFI
e. Make sure Quick Format is checked
f. Click Start
15. Extract the downloaded UEFI Plug and Play Booting Tool for USB .zip file to the root of the USB flash drive
16. Safely remove the USB flash drive
--------------------------------------------------------------------
Booting into Android
--------------------------------------------------------------------
01. Power off the Surface RT tablet if it is not already
02. Connect the prepared USB flash drive to the Surface RT tablet
03. Hold Vol- and press the power button, releasing the Vol- when Surface logo appears
04. Once the menu appears, select Env USB option
05. The Surface RT should begin booting into Android
Source: retrogameshistory.com/2023/03/how-to-install-android-on-microsoft.html
### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
![Lets Install Healthchecks - Cron Job Monitoring Service - On Linux
#Healthchecks #Cron #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0781.html
What is Healthchecks?
Healthchecks is a cron job monitoring service. It listens for HTTP requests and email messages (pings) from your cron jobs and scheduled tasks (checks). When a ping does not arrive on time, Healthchecks sends out alerts.
Healthchecks comes with a web dashboard, API, 25+ integrations for delivering notifications, monthly email reports, WebAuthn 2FA support, team management features: projects, team members, read-only access. - https://github.com/healthchecks/healthchecks
Installing HeathChecks
01. Log into the Linux device
02. Run the following commands in the terminal
# update software repositories
sudo apt update
# install available software updates
sudo apt upgrade -y
# install prerequisites
sudo apt install git gcc python3-dev python3-venv libpq-dev -y
# create a working directory
mkdir healthchecks
# change directory to the working directory
cd healthchecks
# prepare the working directory
python3 -m venv hc-venv
source hc-venv/bin/activate
# install wheel
pip3 install wheel
# clone healthchecks from github
git clone https://github.com/healthchecks/healthchecks.git
# install healthchecks
pip install -r healthchecks/requirements.txt
# cd into ./healthchecks
cd healthchecks
# initialize database
./manage.py migrate
# create an admin user
./manage.py createsuperuser
# enter an email address
# enter and confirm a password
# run healthchecks server
./manage.py runserver
03. Open a web browser and navigate to http://DNSorIP:8000
04. Login with the admin account created earlier
05. Welcome to HealthChecks
Running Healthchecks as a Service
01. Go back to the open terminal and press CTRL+C to kill the running Healthchecks process
02. Continue with the following commands
# change directories back to home
cd ~
# move the healthchecks folder to opt
sudo mv ./healthchecks /opt/
# create healthchecks service file
sudo nano /etc/systemd/system/healthchecks.service
03. Paste the following configuration into healthchecks.service
[Unit]
Description=Healthchecks
After=multi-user.target
[Service]
ExecStart=/opt/healthchecks/hc-venv/bin/python /opt/healthchecks/healthchecks/manage.py runserver
Restart=always
WorkingDirectory=/opt/healthchecks/healthchecks
[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 and enable the healthchecks service
sudo systemctl enable healthchecks now
06. Back in the web browser refresh the Healthchecks page
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Lets Install Healthchecks - Cron Job Monitoring Service - On Linux](https://i.ytimg.com/vi/jHwcTzV-ZIc/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)
![Running AirSonic in Docker
#Airsonic #Stream #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0516.html
What is AirSonic
Airsonic is a free, web-based media streamer, providing ubiquitous access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room. - https://airsonic.github.io/
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 AirSonic
01. Now that Docker is installed, run the following commands to setup the AirSonic Docker container and run it
# create working directories
mkdir /home/$USER/docker/airsonic/data -p && mkdir /home/$USER/docker/airsonic/music -p && mkdir /home/$USER/docker/airsonic/playlists -p && mkdir /home/$USER/docker/airsonic/podcasts -p
# run the airsonic container
docker run -d name=airsonic -v /home/$USER/docker/airsonic/data:/airsonic/data -v /home/$USER/docker/airsonic/music:/airsonic/music -v /home/$USER/docker/airsonic/playlists:/airsonic/playlists -v /home/$USER/docker/airsonic/podcasts:/airsonic/podcasts -p 4040:4040 airsonic/airsonic
02. Open a web browser and navigate to http://DNSorIP:4040
03. Login to AirSonic with username admin and password admin
04. Welcome to AirSonic running in a Docker container
05. Click the Change administrator password link
06. Check the Change password box
07. Input the new password twice and click the Save button
Documentation: https://hub.docker.com/r/airsonic/airsonic
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running AirSonic in Docker](https://i.ytimg.com/vi/kDg_hL31ZU4/mqdefault.jpg)
![Install Homebrew Package Manager on Linux
#Homebrew #PackageManager #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0811.html
What is Homebrew?
[Homebrew is a] package manager for macOS or Linux. - https://brew.sh/
01. Log into the Linux device
02. Run the following commands in a terminal
# update software repositories
sudo apt update
# install prerequisite packages
sudo apt install build-essential procps curl file git -y
# download and execute the brew installer
/bin/bash -c $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)
# press enter when prompted to continue
# copy homebrew to system path
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo eval $($(brew prefix)/bin/brew shellenv) ≫≫ ~/.bash_profile
echo eval $($(brew prefix)/bin/brew shellenv) ≫≫ ~/.profile
03. Homebrew is now installed and ready to be used
04. To test Homebrew, continue with the following commands in the terminal
# install the hello formulae
brew install hello
# run hello
hello
Source: https://docs.brew.sh/Homebrew-on-Linux
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install Homebrew Package Manager on Linux](https://i.ytimg.com/vi/kDlfAM-2RTw/mqdefault.jpg)
![Run Mattermost - Secure Collaboration Platform - in Docker
#Mattermost #Collaboration #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0889.html
What is Mattermost?
Mattermost is a secure collaboration platform for accelerating mission-critical collaborative work. The platform is built to meet the custom needs of technical and operational teams in rigorous and complex environments, including government, defense, and critical infrastructure. Mattermost gives organizations full control over their data with self-hosted and private deployment options and access to the source code. - https://docs.mattermost.com/about/product.html
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 Mattermost
01. Now that Docker is installed, run the following commands to setup the Mattermost Docker container and run it
# clone git repo
git clone https://github.com/mattermost/docker ~/docker/mattermost
# create working directories
mkdir ~/docker/mattermost/{config,data,logs,plugins,client/plugins,bleve-indexes} -p
# create a copy of .env
cp ~/docker/mattermost/env.example ~/docker/mattermost/.env
# set owner of working directories
sudo chown $USER:$USER ~/docker -R
# allow the container to write to working directories
sudo chmod a+rwx -R ~/docker/mattermost
# replace default paths
sudo sed -i s|/volumes|| ~/docker/mattermost/.env
# edit .env
nano ~/docker/mattermost/.env
02. Modify at least the following values in .env to suit your needs
DOMAIN=ubuntuserver.local
TZ=America/New_York
POSTGRES_USER=mattermost_rw
POSTGRES_PASSWORD=Matt3rM0st
03. Press CTRL+O, Enter, CTRL+X to write the changes to .env
04. Continue with the following commands
# cd to matter most directory
cd ~/docker/mattermost
# run mattermost container
sudo docker compose -f docker-compose.yml -f docker-compose.without-nginx.yml up -d
05. Open a web browser and navigate to http://DNSorIP:8065
06. Click the View in Browser button
07. Complete the form to create an account
08. Enter an Organization Name ≫ Click Continue
09. Complete the remaining prompts or choose to skip
10. Welcome to Mattermost running in Docker
Source: https://docs.mattermost.com/install/install-docker.html
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run Mattermost - Secure Collaboration Platform - in Docker](https://i.ytimg.com/vi/kdYCCozEyrY/mqdefault.jpg)
![Install AirSonic on Debian Linux
#Airsonic #Stream #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0517.html
What is AirSonic
Airsonic is a free, web-based media streamer, providing ubiquitous access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room. - https://airsonic.github.io/
01. Log into the Linux device
02. Run the following commands in a terminal window:
# update software repositories
sudo apt update
# install openjdk
sudo apt install default-jdk -y
# set java-home
sudo update-alternatives config java
# create tomcat group and user
sudo mkdir /var/lib/tomcat9
sudo groupadd tomcat
sudo useradd -s /bin/false -g tomcat -d /var/lib/tomcat9 tomcat
# lookup the latest tomcat 9 release
regex=≪a href=v[^/]*/≫v([^/]*)/≪/a≫ && response=$(curl -s https://downloads.apache.org/tomcat/tomcat-9/?C=M;O=D) && [[ $response =~ $regex ]] && downloadURL=${BASH_REMATCH[1]}
# download tomcat 9
curl -O https://downloads.apache.org/tomcat/tomcat-9/v$downloadURL/bin/apache-tomcat-$downloadURL.tar.gz
# extract tomcat 9
sudo tar xzvf apache-tomcat-9*tar.gz -C /var/lib/tomcat9 strip-components=1
# create directories and set permissions
sudo mkdir /var/airsonic/
sudo chown -R tomcat:tomcat /var/airsonic/
cd /var/lib/tomcat9
sudo chgrp -R tomcat /var/lib/tomcat9
sudo chmod -R g+r conf
sudo chmod g+x conf
sudo chown -R tomcat webapps/ work/ temp/ logs/
# run tomcat as a service
sudo update-java-alternatives -l
sudo nano /etc/systemd/system/tomcat.service
v[^/]*/
03. v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
04. v[^/]*/
v[^/]*/
v[^/]*/
Install AirSonic
01. v[^/]*/
v[^/]*/
v[^/]*/
02. v[^/]*/
03. v[^/]*/
04. v[^/]*/
05. v[^/]*/
06. v[^/]*/
07. v[^/]*/
v[^/]*/ https://airsonic.github.io/docs/install/war-tomcat/
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Install AirSonic on Debian Linux](https://i.ytimg.com/vi/kk-EhZu1L5I/mqdefault.jpg)
![Running a Netgear ReadyNAS OS VM in VirtualBox
#Netgear #ReadyNASOS #VirtualBox
*** Updated 03/10/2024
Full steps can be found at https://i12bretro.github.io/tutorials/0814.html
What is Netgear ReadyNAS OS?
ReadyNAS [is] an advanced, easy-to-use storage solution for centralizing and accessing digital files such as photos, music, videos and documents. Designed for both home and small- and medium-sized business (SMB) users, the new ReadyNAS OS offers improvements in data protection, backup, sync, and cloud-based usability. - https://www.netgear.com/about/press-releases/2014/11172014_new_readynas_operating_system/
01. Open a web browser and download the ReadyNAS OS .vmdk file https://drive.google.com/file/d/1o3leiLMRQRE8QWu2GFqzWV6G8g3Yj8hO/view?usp=sharing https://github.com/ReadyNAS/sdk/wiki/ReadyNAS-OS-VMDK-Images
02. Launch VirtualBox
03. Create a New VM by selecting Machine ≫ New
Name: ReadyNAS OS
Machine Folder: C:VMs
Type: Linux
Version: Debian (64-bit)
Memory Size: 1024 MB
Hard disk: Use an existing virtual hard disk now
04. Click the folder icon ≫ Browse to and select the extracted ReadyNAS OS .vmdk file
05. Click Create
06. Select the VM and Click Settings
07. Select System
08. Uncheck the Floppy checkbox
09. On the Processor tab, give the VM at least 2 processors
10. Select Storage
11. Select and remove the IDE disk controller
12. Select the Add hard disk dropdown to the right
13. Click the Create button at the top
14. Change the size to 20 GB ≫ Click Create
15. Click Choose to select the new virtual disk
16. Select Audio
17. Uncheck the Enable Audio checkbox
18. Select Network
19. Set the attached to dropdown to Bridged Adapter
20. Click OK
21. Make sure the ReadyNAS OS VM is selected and click Start ≫ Normal
22. Welcome to ReadyNAS OS
23. Log into the console with the username root and password password
24. Run the following command to output the IP address of the VM
ifconfig
25. Open a web browser and navigate to http://IPAddressfromIFCONFIG
26. Login with the username admin and password password
Source: https://github.com/ReadyNAS/sdk/wiki/Setup-ReadyNAS-OS-on-VirtualBox
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Running a Netgear ReadyNAS OS VM in VirtualBox](https://i.ytimg.com/vi/l1wnpyGb4cA/mqdefault.jpg)


![Run Odoo - Open Source Business Application Suite - in Docker
#Odoo #Business #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0922.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
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 Odoo Container
01. Continue with the following commands in a terminal window
# create working directories
mkdir ~/docker/odoo/data/{sessions,addons} -p && mkdir ~/docker/postgresql -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/odoo
# create containers network
docker network create containers
# run the postgesql container
docker run -d name postgres -p 5432:5432 -e POSTGRES_USER=odoo_rw -e POSTGRES_PASSWORD=0dooDB_rw$ -e POSTGRES_DB=odoo -v ~/docker/postgresql:/var/lib/postgresql/data restart=unless-stopped postgres:latest
# run the odoo container temporarily
docker run -d name odoo -v ~/docker/odoo/data:/var/lib/odoo -p 8069:8069 -e HOST=172.17.0.1 -e PORT=5432 -e USER=odoo_rw -e PASSWORD=0dooDB_rw$ restart=unless-stopped odoo
# copy odoo.conf from the container
docker cp odoo:/etc/odoo/odoo.conf ~/docker/odoo/odoo.conf
# remove the running odoo container
docker rm odoo -f
# add the database name to odoo.conf
echo -e ndb_name = odoo ≫≫ ~/docker/odoo/odoo.conf
# rerun odoo with the updated conf file
docker run -d name odoo -v ~/docker/odoo/data:/var/lib/odoo -v ~/docker/odoo/odoo.conf:/etc/odoo/odoo.conf -p 8069:8069 -e HOST=172.17.0.1 -e PORT=5432 -e USER=odoo_rw -e PASSWORD=0dooDB_rw$ restart=unless-stopped odoo -i INIT
02. Open a web browser and navigate to http://DNSorIP:8069
03. Login with the username admin and password admin
04. Welcome to Odoo
Documentation: https://hub.docker.com/_/odoo/
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro Run Odoo - Open Source Business Application Suite - in Docker](https://i.ytimg.com/vi/m4dz902luwk/mqdefault.jpg)