Cyberpunk Librarian – Episode 17 – Making a Display By Yourself




Cyberpunk Librarian show

Summary: <p>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!</p> <h4><strong>Notes</strong></h4> <p><strong>Getting up and running with Xibo</strong></p> <p><strong>What you will need</strong></p> <p>A computer running Linux that will act as your server</p> <p>Another computer running Windows</p> <p>A monitor or flat panel HDTV for your digital displays</p> <p><strong>The Server</strong></p> <p>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:</p> <p><code>sudo apt-get install tasksel</code></p> <p><code>sudo tasksel install lamp-server</code></p> <p>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 <em>need </em>it.</p> <p><a href="http://xibo.org.uk/">Download the Xibo server</a></p> <p><a href="https://launchpad.net/xibo/1.6/1.6.2/+download/xibo-1.6.2-win32-x86.msi">Xibo client for Windows or Linux</a></p> <p><strong>Installing and running</strong></p> <p><em>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</em>:</p> <p><code>sudo dolphin</code></p> <p>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:</p> <p><code>/var/www/html</code></p> <p>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.</p> <p>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:</p> <p><code>sudo chown www-data.www-data -R xibo</code></p> <p>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.</p> <p>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:</p> <p><code>sudo chown www-data.www-data -R xibo</code></p> <p><strong>PHP Dependencies</strong></p> <p class="wp-caption-text"><a href="https://i1.wp.com/cyberpunklibrarian.com/wp-content/uploads/2018/01/win32_install_prereq.png"><img class="alignleft size-medium wp-image-2612" src="https://i1.wp.com/cyberpunklibrarian.com/wp-content/uploads/2018/01/win32"></a></p>