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 18 – The Technogeneralist

Cyberpunk Librarian – Episode 18 – The Technogeneralist

Let’s take a break from long form, tech heavy shows with a shorter show and lighter commentary! An unabashed generalist, Dan takes you through how he maintains and learns a little about everything and...

11 Elo 201423min

Cyberpunk Librarian – Episode 16 – Cypherpunk Librarian

Cyberpunk Librarian – Episode 16 – Cypherpunk Librarian

Join Daniel Messer as he goes cypherpunk and talks about keeping yourself secure and private online and in the digital world. Notes and Links Use a VPN. Private Internet Access ProXPN TorGuard Se...

14 Heinä 20141h 11min

Cyberpunk Librarian – Episode 15 – Storytime

Cyberpunk Librarian – Episode 15 – Storytime

Something a little different, a little laid back for your summertime. Sit back, relax, and enjoy a couple of stories/essays from Dan. Find out how cyberpunk is no longer futuristic, and discover the t...

30 Kesä 201427min

Cyberpunk Librarian – Episode 14 – What I Use – iOS

Cyberpunk Librarian – Episode 14 – What I Use – iOS

On this episode of Cyberpunk Librarian we delve into what Dan uses, and by that we mean, what he really uses when it comes to the iPad and iOS. Links eReading Kindle GoodReader Zinio OverDrive News ...

16 Kesä 201446min

Cyberpunk Librarian – Episode 13 – Working Outside Your Environment

Cyberpunk Librarian – Episode 13 – Working Outside Your Environment

On this episode of Cyberpunk Librarian, Dan goes into the benefits and mental cleansing that comes from working outside of your environment, both technologically and physically! Links The Secret Life...

2 Kesä 201440min

Cyberpunk Librarian – Episode 12 – Reading Reddit

Cyberpunk Librarian – Episode 12 – Reading Reddit

Join Daniel Messer, the Cyberpunk Librarian, for another episode of Cyberpunk Librarian! On this episode we talk about sub-reddits and recommend a bunch of them for your library, technology, education...

12 Touko 201446min

Cyberpunk Librarian – Episode 11 – Take Back Your Data

Cyberpunk Librarian – Episode 11 – Take Back Your Data

Join Daniel Messer, the Cyberpunk Librarian, as he discusses the ways, the means, and the reasons for taking back control of your data. Do you really need a cloud based solution? Maybe not! And even i...

28 Huhti 201453min