Cyberpunk Librarian – Episode 17 – Making a Display By Yourself
Cyberpunk Librarian28 Heinä 2014

Cyberpunk Librarian – Episode 17 – Making a Display By Yourself

Ever want a big, digital sign in your library but didn’t want to have to pay big money to get it? Well if you have a couple old computers and a monitor, the Cyberpunk Librarian has the answer to your digital signage needs!

Notes

Getting up and running with Xibo

What you will need

A computer running Linux that will act as your server

Another computer running Windows

A monitor or flat panel HDTV for your digital displays

The Server

For my server, I ran Kubuntu and installed a LAMP stack. (LAMP is short for Linux, Apache, MySQL, and PHP.) For Ubtuntu based flavours, you can easily install LAMP via:

sudo apt-get install tasksel

sudo tasksel install lamp-server

As it installs, it will ask for a password for MySQL. Give it one and write it down. Put that password someplace safe. You won’t need it all that often, but when you need it, you need it.

Download the Xibo server

Xibo client for Windows or Linux

Installing and running

Note: To make things easier to move around, rename, copy, and store; I opened up a superuser Dolphin window. You can easily do this from the terminal (called Konsole on KDE) by typing:

sudo dolphin

I installed the Xibo server on a Kubuntu server running 14.04 LTS. After installing the LAMP stack I extracted Xibo and then copied it to the directory Ubuntu uses for web service with Apache:

/var/www/html

Rename the directory with an easier name like, you know, xibo. For the rest of these notes, I’ll assume you called your xibo directory by that name.

You’ll need to give ownership and access of the xibo directory to the web user, or the Apache user. On Ubuntu flavours this user is called www-data. So:

sudo chown www-data.www-data -R xibo

That gives the web server the permissions it needs to access and run the system. Since this is an internal web service, I didn’t make any changes to the Apache configs.

Pop into /var and create a directory called xibo there too. This will hold your images and stuff for the screens and, for security reasons, it should be outside of the web directory. Give the web user owner ship with the same command as before:

sudo chown www-data.www-data -R xibo

PHP Dependencies

Chances are, some of these checkmarks will be red X’s if you run the install right away.

When you initially try to install Xibo you’ll get a screen like this and, chances are, you don’t have all the necessary PHP dependencies. May as well get them now

You’ll need the GD extension so:

sudo apt-get install php5-gd

Then go get the mcrypt extension. It’ll need some massaging to work.

sudo apt-get install php5-mcrypt

Once you get it installed, you’ll need to do a little bit of editing to make everything play nicely together. There’s an excellent explanation over on AskUbuntu on how to fix it up. Don’t worry, it’s pretty easy.

Edit php.ini to allow larger uploads. Since I was using KDE, I was using kate, the standard text editor for the system. So…

sudo kate /etc/php5/apache2/php.ini

Change post_max_size and upload_max to 128 MB Increase max_execution_time to 120 seconds

Yes! That should do it!

Open up the browser on your server and go to localhost/xibo and follow the directions to install. You’ll create an admin password for the user xibo_admin and you’ll need to create a server key to add clients into the server.

Setting up the client

If your clients are running Windows, then set up is incredibly easy – install the client and set it up. You can set up things like times to refresh, the directory to cache images, and so on.

Useful goodies and information

Xibo Server (CMS) Installation Docs Xibo Windows Client Installation Docs Xibo User’s Manual

Jaksot(75)

Cyberpunk Librarian – Episode 10 – What I Use

Cyberpunk Librarian – Episode 10 – What I Use

What makes my everyday list of things that I use? From my phone to my computer there are certain apps and hardware that I use every single day to get things done and make projects happen! Links My o...

6 Huhti 201444min

Cyberpunk Librarian – Episode 09 – Podcasting Podcasts

Cyberpunk Librarian – Episode 09 – Podcasting Podcasts

This time around Daniel Messer, the Cyberpunk Librarian, talks about some of his favourite podcasts! Links 99% Invisible Bad Voltage Hello Internet Knightwise.com MacBreak Weekly Still Untitled: The ...

25 Maalis 201451min

Cyberpunk Librarian – Episode 08 – Getting Physical at the Front Desk

Cyberpunk Librarian – Episode 08 – Getting Physical at the Front Desk

Join Dan, the Cyberpunk Librarian, for an episode on what happens and what to do when things go down. No, not computers. What do you do when there’s going to be a fight and you’re going to be one of t...

10 Maalis 201436min

Cyberpunk Librarian – Episode 07 – OneBook Goes FOSS

Cyberpunk Librarian – Episode 07 – OneBook Goes FOSS

This week, the Cyberpunk Librarian takes a look at running a state-wide digital book initiative using FOSS (Free and Open Source Software) and Dropbox. The costs are low and the reward is high on this...

3 Maalis 201441min

Cyberpunk Librarian – Episode 06 – Scripting Your Way Out of Mundanity

Cyberpunk Librarian – Episode 06 – Scripting Your Way Out of Mundanity

Welcome to the sixth episode of Cyberpunk Librarian! Join Dan as he talks about using AutoHotkey for scripting your way out of boring, repetitive tasks! Make your life easier by investing a couple of ...

11 Helmi 201432min

Cyberpunk Librarian – Episode 05 – Charlie Bucket’s Dad

Cyberpunk Librarian – Episode 05 – Charlie Bucket’s Dad

Do you know how to use your tools? I mean, really? You should learn how to use everything you use and learn how to use it all well. You’ll make your life, and your job, easier and hey, you might becom...

27 Tammi 201423min

Cyberpunk Librarian – Episode 04 – STEM Vids

Cyberpunk Librarian – Episode 04 – STEM Vids

Confused by STEM? What does STEM even mean? Is it different from STEAM? Oh man, librarians love their acronyms, don’t they? Check out this episode where we talk about STEM and introduce some great vid...

13 Tammi 201436min

Cyberpunk Librarian – Episode 03 – Elementary My Dear OS

Cyberpunk Librarian – Episode 03 – Elementary My Dear OS

Fire up your public and staff computers with elementary OS! It’s pretty, easy to use, and people won’t think they’re getting some cheap-o operating system. Thanks for checking out out the show! Share ...

30 Joulu 201319min