Xibo Step-by-Step Install on Debian 9 (stretch) Without Docker

Note: I did all of this as user root. Also, I was typing an octothorpe to show linux commands but it took those out and formatted them in big and bold so I replaced them with two colons ::

Apache2 and PHP were already installed on my server. Had to install MySQL and a few required packages for PHP.

:: apt-get install mysql-server
:: apt-get install php-cli php-zmq php-curl
:: apt-get install php-soap php-gd php-mcrypt php-zip

Download and unpack Xibo.

:: wget https://github.com/xibosignage/xibo-cms/releases/download/1.8.11/xibo-cms-1.8.11.tar.gz
:: tar xzf xibo-cms-1.8.11.tar.gz
:: mv xibo-cms-1.8.11 /

:: vi /etc/apache2/sites-enabled/000-default.conf

Change DocumentRoot to /xibo-cms-1.8.11/web, write the file, and quit vim.

:: vi /etc/apache2/apache2.conf

Change <Directory /var/www/> to <Directory /xibo-cms-1.8.11/web/>, write the file and quit vim.

Change owner of files to www-data

:: chown www-data.www-data -R /xibo-cms-1.8.11/

:: vi /etc/php/7.0/apache2/php.ini

Change post_max_size and upload_max_filesize to equal 128M, change max_execution_time to 120, write the file, and quit vim.

:: systemctl restart apache2.service

Open a browser and go to http://localhost. The installer should have checkboxes under Status for all Items. If not, correct those by installing the necessary parts before continuing.

Click to go to the next screen.

Set up your database. This is a completely fresh install of MySQL, so create users and set a root password first.

:: mysql -u root

USE mysql;
GRANT ALL on . TO ‘xibouser’@‘locahost’ IDENTIFIED BY ‘xibopassword’;
CREATE DATABASE xibodata;

(Feel free to make your MySQL options more restrictive, of course).

Add those values to the field on the database screen (localhost, xibodata, xibouser, xibopassword).

Click to go to the next screen.

Admin username: xiboadmin
Admin password: xiboadminpassword

Click to go to the next screen.

Need an image folder so we’ll create one in the terminal.

:: mkdir /xibo-cms-1.8.11/images
:: chown www-data.www-data /xibo-cms-1.8.11/images

Then use that directory for “Library Location.”

That’s it!

That for your contribution, but this is far from a working or correctly configured setup I’m afraid.

You’re missing your XMR server, XTR hasn’t been configured, and Apache hasn’t been setup for offloaded HTTP downloads.

I’ve removed it from the guides section on that basis as it’s likely to cause confusion.

Yeah, I did a bunch more work to my setup. XMR and XTR are taken care of now.

I’m confused what you mean by “Apache hasn’t been set up for offloaded HTTP downloads.”

I’d be happy to send you my latest attempt if you’d like to see it. Thanks for the feedback!

Our suggested setup is to use modxsendfile to offload media downloads to Apache directly, rather than using PHP which is slower and less efficiient, but Apache needs the module installed and configured to allow that.

You can see details of the setup in the Docker container build files.

we build modxsendfile from source, but it may be packaged for Debian I’m not sure.

Assuming that it is, and you have the module enabled in Apache, then it needs to be configured:

You then need to set the SENDFILE_MODE setting in Xibo to Apache

Our recommended installation is with Docker as all of this has been taken care of for you, and that means that we can offer free support to people as we don’t have to consider if they have correctly completed all of these configuration steps.

As you have the expertise to do that yourself, then of course you’re welcome to do with the CMS as you wish (per the terms of the licence), but we have no interest in encouraging people to go down a custom install route as it essentially makes it impossible for us to support them effectively.