Bare metal setup guide

I now have a full set of written instructions for installing 1.8.12 onto Ubuntu 18.04.1 LTS.

Would anyone like to test them for me?

The instructions assume you can have a fresh Ubuntu installed and have just logged in the for the first time. I bought several IBM M3200 servers off ebay for 15 pounds each (No drives) and I’ve use the same instructions on them and they all work.

I think this script below is the final version that will install Xibo 1.8.12 onto a Xibo host.

Install Ubuntu 18.04.1 LTS and login.
Become root with ‘sudo su’.

Create the script:
paste in the lines below.
then make it executable with chmod +x .
Execute the script with ./.sh

When the script finishes, you’ll be in the basic config file where you edit your hostname, email addresses etc. Save your changes with control+x.

Then use the command “docker-compose up -d” to build
the docker containers. The build process will take between 8 and 10 minutes.

When the build completes, you should enter the address of your server, into a
browser and use the username xibo_admin, use the password ‘password’.

echo “Xibo 1.8.12 installer script with Docker and Docker-Compose”
echo “updating the repository list”
apt update
echo “Update complete”
echo “Applying software updates…”
apt upgrade -y
echo “Upgrades complete”
echo “Adding extra packages”
apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
echo “Extra packages installed”
echo “Making the Xibo home directory in /opt/xibo”
mkdir /opt/xibo
cd /opt/xibo
echo “Getting Xibo 1.8.12 from github”
echo “Xibo download complete”
echo “Un-gzipping Xibo”
gunzip xibo-docker.tar.gz
echo “Un-taring the xibo archive”
tar -xvf xibo-docker.tar
echo “Getting Docker”
curl -fsSL | sudo apt-key add -
add-apt-repository “deb [arch=amd64] $(lsb_release -cs) stable”
apt update
apt install docker-ce docker-ce-cli -y
echo “Getting Docker Compose”
curl -L -s-uname -m -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
echo “Moving to the Xibo directory and setting up”
cd /opt/xibo/xibo-docker-1.8.12
cp config.env.template config.env
nano config.env