How to install Xibo CMS in Ubuntu

To install Xibo CMS in Ubuntu

Xibo CMS is a Content Management System used to create and manage the content for your Websites. It is a backend processor for creating content for your websites. Xibo CMS will also supports for Media storage option for your websites by setting up digital signatures. Installation of Xibo is explained in this manual.

To install Xibo CMS

Xibo CMS will requires LAMP environment on your server for its installation. Before starting with the LAMP installation update your repositories.

root@linuxhelp:~# apt-get update  
Hit http://security.ubuntu.com wily-security InRelease                        
Hit http://in.archive.ubuntu.com wily InRelease                               
Hit http://in.archive.ubuntu.com wily-updates InRelease               
Hit http://security.ubuntu.com wily-security/main Sources              
Hit http://in.archive.ubuntu.com wily-backports InRelease                            
Hit http://security.ubuntu.com wily-security/restricted Sources          
.
.
.
Hit http://in.archive.ubuntu.com wily-backports/restricted i386 Packages                                                                                                   
Hit http://in.archive.ubuntu.com wily-backports/universe i386 Packages                                                                                                     
Hit http://in.archive.ubuntu.com wily-backports/multiverse i386 Packages                                                                                                   
Hit http://in.archive.ubuntu.com wily-backports/main Translation-en                                                                                                        
Hit http://in.archive.ubuntu.com wily-backports/multiverse Translation-en                                                                                                  
Hit http://in.archive.ubuntu.com wily-backports/restricted Translation-en                                                                                                  
Hit http://in.archive.ubuntu.com wily-backports/universe Translation-en                                                                                                    
Reading package lists... Done


Now run the following command to setup LAMP Server.

root@linuxhelp:~# apt-get install apache2 mysql-server php5 php5-curl php5-gd php5-mysql php5-mcrypt -y 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  apache2-bin apache2-data apache2-utils libaio1 libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbd-mysql-perl libdbi-perl
  libhtml-template-perl liblua5.1-0 libmcrypt4 libmysqlclient18 libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server-5.6
  mysql-server-core-5.6 php5-cli php5-common php5-json php5-readline
Suggested packages:
  apache2-doc apache2-suexec-pristine apache2-suexec-custom php-pear libmldbm-perl libnet-daemon-perl libsql-statement-perl libipc-sharedcache-perl libmcrypt-dev mcrypt
  mailx tinyca php5-user-cache
.
.
.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php5
Setting up php5 (5.6.11+dfsg-1ubuntu3.4) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...


Run the following command to start and enable the services for apache and mysql.

root@linuxhelp:~# systemctl start apache2
root@linuxhelp:~# systemctl enable apache2 
apache2.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install enable apache2
root@linuxhelp:~# systemctl start mysql
root@linuxhelp:~# systemctl enable mysql
Synchronizing state of mysql.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable mysql


Download the Xibo CMS package by using the below command.

root@linuxhelp:~# wget https://github.com/xibosignage/xibo-cms/archive/1.7.5.tar.gz -O xibo-server.tar.gz 
--2016-09-16 15:32:20--  https://github.com/xibosignage/xibo-cms/archive/1.7.5.tar.gz
Resolving github.com (github.com)... 192.30.253.113
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/xibosignage/xibo-cms/tar.gz/1.7.5 [following]
--2016-09-16 15:32:22--  https://codeload.github.com/xibosignage/xibo-cms/tar.gz/1.7.5
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘ xibo-server.tar.gz’ 

xibo-server.tar.gz                             [                                       < =>                                                  ]   5.87M   179KB/s   in 35s    

2016-09-16 15:32:58 (171 KB/s) - ‘ xibo-server.tar.gz’  saved [6150908]


After downloading the package, extract it as shown below.

root@linuxhelp:~# ls 
Desktop  Documents  Downloads  examples.desktop  Music  Pictures  Public  Templates  Videos  xibo-server.tar.gz
root@linuxhelp:~# tar -xzvf xibo-server.tar.gz  
xibo-cms-1.7.5/
xibo-cms-1.7.5/.gitignore
xibo-cms-1.7.5/3rdparty/
xibo-cms-1.7.5/3rdparty/htmlpurifier/
xibo-cms-1.7.5/3rdparty/htmlpurifier/.gitignore
xibo-cms-1.7.5/3rdparty/htmlpurifier/README
xibo-cms-1.7.5/3rdparty/htmlpurifier/library/
xibo-cms-1.7.5/3rdparty/htmlpurifier/library/HTMLPurifier.auto.php
.
.
.
xibo-cms-1.7.5/theme/default/libraries/momentjs/moment.js
xibo-cms-1.7.5/theme/default/libraries/morrisjs/
xibo-cms-1.7.5/theme/default/libraries/morrisjs/morris.css
xibo-cms-1.7.5/theme/default/libraries/morrisjs/morris.min.js
xibo-cms-1.7.5/theme/default/libraries/morrisjs/raphael.min.js
xibo-cms-1.7.5/theme/default/libraries/underscore/
xibo-cms-1.7.5/theme/default/libraries/underscore/underscore-min.js
xibo-cms-1.7.5/theme/index.html
xibo-cms-1.7.5/xmds.php


Rename the newly generated directory and move it into the default document root of apache after the extraction.

root@linuxhelp:~# mv xibo-cms-1.7.5 xibo
root@linuxhelp:~# ls 
Desktop  Documents  Downloads  examples.desktop  Music  Pictures  Public  Templates  Videos  xibo  xibo-server.tar.gz
root@linuxhelp:~# mv xibo /var/www/html/ 


Set the ownership for the xibo directory by using the following command.

root@linuxhelp:~# chown www-data:www-data -R /var/www/html/xibo 


Create a directory for storing the media file and set the ownership for the directory by utilising the following command.

root@linuxhelp:~# mkdir /media/xibocms-media
root@linuxhelp:~# chown www-data:www-data -R /media/xibocms-media/ 


Enable the mcrypt extension for php by adding the following entry into the mcrypt.ini file.

root@linuxhelp:~# vim /etc/php5/mods-available/mcrypt.ini 
Entry:
  configuration for php MCrypt module
extension=/usr/lib/php5/20131226/mcrypt.so


And then create the soft link with the help of the following command.

root@linuxhelp:~# ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini
root@linuxhelp:~# ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini 


Restart the apache service

root@linuxhelp:~# systemctl restart apache2 


Open the browser and navigate to http://< IP_address> /xibo

Xibo installation guide appears, click Next to proceed further.


Create a New Database and click Next

Create Administrator User account and enter the details of the account.

Enter the Media library directory and click Next.

Login to Xibo CMS with the user credentials.

Dashboard of Xibo appears as follows.

Comment
krishnakireetiv
Feb 12 2021
ubuntu version ?
Add a comment
FAQ
Q
What is the purpose of using Xibo CMS?
A
It can Push Messaging - Xibo Message Relay (XMR - bundled with the CMS) by using this Xibo-CMS.
Q
What are the main features for the Xibo CMS?
A
Xibo is a digital signage solution and is a suite of applications, including a:
Content Management System (CMS)
Windows Signage Player
Q
How can I make the installation of Xibo CMS on CentOS?
A
By using this command you can install
Syntax: "yum install -y xibo-cms"
Q
What can I run Android on my RPi and then run Xibo for Android. Is it fine ?
A
We’ve had mixed reports about people running Xibo for Android on the RPi. It does work, but some have reported issues accessing the settings menu on that platform. The RPi is not on Spring Si
Q
Why can I run Windows 10 IoT on my RPi to run Xibo for Windows?
A
I’m afraid you can’t. The RPi uses an ARM CPU, and Xibo for Windows is a 32 bit x86 application. You can’t run x86 binaries on ARM CPUs.