Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Donor server, name TBD

Docker

This server is a handmedown from a previous student, intel i7-4770k with 16bg ram, 2 180GB SSD
and 5 4TB harddrives
tho this may change!

The intention for this server is a catch all docker image host for small applications that may be added over time.

Docker-Desktop

in order to install docker desktop the following dependencies are required

Code Block
languagepowershell
themeMidnight
titleTerminal comands
collapsetrue
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release

------

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

------

sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin

Afterwards you install docker desktop with the appimage from HERE

Obico print detective

Obico is a print farm manager that uses AI to detect errors and stops printers, while also giving a powerful suite of management tools

After docker is installed obico can be set up.

Code Block
languagepowershell
themeMidnight
titleTerminal commands
collapsetrue
git clone -b release https://github.com/TheSpaghettiDetective/obico-server.git

------

cd obico-server && sudo docker compose up -d

Open http://localhost:3334 on the same computer. If you see this page, then congratulations - your self-hosted Obico Server is now up and running!


Manulab infocentre

Simple wordpress server where we can add inn slides to be displayed on the tv's. tv clients are just raspberry pi's with no extra software. just open the locally hosted wordpress site in firefox and enable full-screen.

For digital signage a wordpress plugin called Foyer is used.

Code Block
languagepowershell
themeMidnight
titleTerminal commands
collapsetrue
apt update && apt upgrade -y
apt install apache2 php mariadb-server software-properties-common
mysql_secure_installation
apt install phpmyadmin

------

cd /var/www/html
wget wordpress.org/latest.zip
unzip latest.zip
mv wordpress/* .
rm -rf wordpress
rm -f latest.zip

------
sudo su
mysql
create database wordpress;
create user 'wp'@'localhost' identified by 'fubar';
grant all privileges on wordpress.* TO 'wp'@'localhost';
flush privileges;
quit

------ Assuming your're still in /var/www/html

chown -R 33:33 *
find . -type d -exec chmod 0775 {} \; && find . -type f -exec chmod 0664 {} \;

REMEMBER after installing wordpress set website address to something other than localhost, or clients will only be able to open the basic HTML file structure.

Current admin user for wordpress is 
Manulab
<ubuntu root password> (ask Thomas Olsen)

Image boards. 

if you press source on the phillips remote for the tv's you can select browser and type inn a url.

all tv's are set to the manulab wifi and have http://10.0.12.251/index.php/foyer/<ID>
where <ID> will be "tables" or "mainboard" respectively.