Xibo CMS install

Anyone who can tell how to install xibo CMS on Leap 15.1
Can only find Ubuntu tutorials.
Yast would be fine but unfortunately no Xibo-CMS

Xibo is not a CMS, it’s a digital signage solution. It’s been years ago I used it, but the technical instructions on how to set it up shouldn’t be much different from those for *buntu.

Ye I know just wanted to install xibo without docker. So I googlrd and found xibo-cms install for Ubuntu (content management system). I have installed xibo alp years ago.
Just Xibo on a webserver thats enough for me. Couldn’t find

Yes I know, just wanted to install xibo on a webserver no docker. Found on google xibo-cms (content management system) install ubuntu. I also unstalled xibo years ago.
There was no docker or cloud.

Skimmed available materials,
This is what I recommend as an approach to installing on a recent version of LEAP (any version, any release).
Instructions are not specific to individual packages so there might be instances where you’d have to modify to address an error, but the following steps should provide a good framework approach.

NOTE:
The following was created by simply translating common RHEL procedures to what is typically done on an openSUSE and has <not> been actually tested on a real install. I’m sure the following will include some steps that need to be either corrected or clarified with additional info.

First,
A comment on the general architecture of Xibos…
It looks like although it looks like a cool way of creating digital signage, it also includes an infrastructure to store, manage, and deploy your digital assets… So implements by way of a CMS website deployed on your choice of webserver, and then the User can use a variety of clients to access those assets (There is a special Linux client as well as other clients that run under a variety of OS)

What follows will be based on Xibos’ published procedure to install on a CentOS LAMP.** I highly recommend this original reference left open for viewing** so the original instructions can be viewed while following instructions to install on openSUSE. The openSUSE instructions have been formatted to match the same corresponding steps in the CentOS documentation.
https://community.xibo.org.uk/t/installation-guide-of-xibo-1-8-on-centos-7/9429

Avoid using Chrome (and maybe Chromium), Firefox is typically the default web browser installed in most openSUSE.

  1. Install openSUSE. It can include a DE, but minimally a WM is recommended (My guess is a text only server system would probably work, but would be more difficult to set up and maintain). To install with only a Window Manager using any openSUSE install ISO,
    When you reach the installation “System Role” select “Generic Desktop”, see following screenshot
    https://slides.com/tonysu/opensuse/#/6
    When your installation proceeds to “Installation Settings” I normally recommend at this point you can click on “Software” which will launch a Software Manager that enables you to install any DE you wish. If you wish to run only a WM, then nothing needs to be done here, you can proceed and IceWM will be your WM. If you wish to choose any other WM, you can uninstall IceWM and install your WM of choice. See the following screenshot
    https://slides.com/tonysu/opensuse/#/10

  2. Unlike CentOS, there is no need to disable selinux, openSUSE installs AppArmor instead which is much more application friendly.

  3. Run the following which should install the lamp pattern

zypper in -t pattern lamp

I also recommend installing the YaST HTTP Server management module to ease setup and management of your Apache website

zypper in yast2-http-server
  1. openSUSE includes packages which are deployed separately in the RHEL world, so no epel repository needed.

5,6,7. No need to install PHP separately if you installed the LAMP pattern successfully.

  1. Install zeromq and zeromq tools from the following for your specific distribution
    ZeroMQ
    https://software.opensuse.org/package/zeromq
    ZeroMQ Tools
    https://software.opensuse.org/package/zeromq-tools

You may need to inspect php.ini to see if it needs to be edited to reference zmq.so
From the CentOS instructions

edit /etc/php.ini and add extension=zmq.so 200

At this point, if you installed the YaST HTTP server module, you will want to set up your website according to how you’ll want it to be accessed.

  1. Extract the downloaded Xibo CMS package to the location you set up in YaST or if not using YaST to /srv/www/xibo18 and configure your httpd.conf as described in the CentOS instructions but modified to point to your actual locations as follows

Edit /etc/httpd/conf/httpd.conf change
DocumentRoot “/var/www/xibo18/web”
<Directory “/var/www/xibo18/web”>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted

  1. Should not be necessary on openSUSE if you deployed your website using YaST

12,13,14. Edit as described in the CentOS instructions

  1. XMR
    /var/www/xibo18/vendor/bin/config.json
    {
    “listenOn”: “tcp://IP_ADDR:50001”,
    “pubOn”: “tcp://IP_ADDR:9505”],
    “debug”: false
    }
  2. XTR
    EDITOR=joe crontab -e
    ’* * * * * /usr/bin/php /var/www/xibo18/bin/xtr.php’
  3. Edit /etc/php.ini
    max_execution_time = 120
    memory_limit = 256M
    post_max_size = 256M
    upload_max_filesize = 256M
    extension=zmq.so 200
    date.timezone = TIME_ZONE
  1. Restart Apache using the following systemd command
systemctl restart apache2
  1. You can now test your website by opening a web browser to the address you configured in your YaST http server module or if following the CentOS instructions to your network IP address (not localhost unless you set that up probably by mistake).

Good Luck.
TSU

Wow thanks, I will test that today.
Thanks for the explanation !

Modified, some modules I overlooked in previous post should be installed…
The additional modules are described in step 8.

Which Xibo should I download without docker ??

There is no install.php ?

Seems to work I can install.

Missing https://software.opensuse.org/package/php7-mcrypt for Leap 15.1 no support

need also php MySQL support and php7-mcrypt. Opensuse leap 15.1 does not support that.

Given available options,
I’d recommend clicking on the “unsupported distributions” and download the package for openSUSE 15.0, then use YaST or zypper to install. If you use the One-Click Install, you’ll have to be careful <not> to add the repositories which is the default setting.

Other option less desirable is to do the same with the Tumbleweed package, but this is one of the most common ways people mess up their systems… By making a mistake using “One Click Install” adding a Tumbleweed repository.

In either of the above,
Should you accidentally add a repository, it will cause your system to change, sometimes radically with your next system update or upgrade. So, beware that mistake.

And, don’t forget to submit a request to create a package for 15.1 by submitting to https://bugzilla.opensuse.org

TSU

PHP and php MySQL support should have been installed with a default working configuration if you installed the LAMP pattern as I described.

BTW - It should be noted that I’m recommending installing and using PHP 7 which is default nowadays although the Xibos CentOS documentation is based on PHP 5.6. I expect but can’t know for sure there wouldn’t be a problem with PHP 7, it’s likely the CentOS documentation is based only on what was current at the time it was written… But, if there is a problem with PHP 7, it’s still possible to downgrade to PHP5.6, but then the installation will be a bit more complicated (Individual PHP 5.6 packages would need to be installed, and the LAMP pattern can’t be used)

TSU

Could not install a version mcrypt other then
Leap 15.1 which is not supported.
I have installed lamp with php 7 and mysql.
The default db is mariadb not mySQL, get the message php support mysql is needed there is no package php7- mysql.
Php7 is not supporting mysql anymore.
Where a the good old Suse days.
I guess no Xino with openSuse Leap 15.1.
Should Screenly OSE be a better choise.

openSuse Leap 15.1 Lamp is installed with apache2, php7 and mariadb.
Php7 is not supporting mysql anymore there is also no package php-mysqli
Mcrypt other version then leap 15.1 is not gonna be installed , message wrong OS “cannot install mcrypt” zypper or Yast.
Xibo could not be installed anymore.
Maybe Screenly OSE is a better choice.

I’ve setup a LAMP server on Leap 15.1 dozens of times, never ran into php7 not working with mysql. php7-mysql is still there, and should work fine.

It works here, but it could be that you used it sometime ago, or that you are now usng older versions.

There is a new interface, not any more names like mysql_query, but mysqli_query. Also the parameter sequence changed.

Search on the web for something like “How to convert mysql to mysqli”

Support is removed 12-3-2020
PHP 7 has removed support for the mysqlextension and affects the following:

Any queries using a mysql_connect function will not function.PHP 7 only allows connections to a MySQLdatabase using mysqli or PDO_MySQL.

I

Older versions is not the case. I use TW on my server. See here:


salt:/home/knurpht # zypper se -v php7-mysql
Gegevens van opslagruimte laden...
Lezen van geïnstalleerde pakketten...

S  | Naam       | Type   | Versie    | Arch   | Opslagruimte
---+------------+--------+-----------+--------+------------------------
v  | php7-mysql | pakket | 7.4.4-2.1 | i586   | openSUSE-Tumbleweed-Oss
    name: php7-mysql
i+ | php7-mysql | pakket | 7.4.4-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
    name: php7-mysql
salt:/home/knurpht # a2en
a2enflag  a2enmod   
salt:/home/knurpht # a2enmod -l
authz_host actions alias authz_user auth_basic authn_file authz_groupfile autoindex cgi dir env expires include log_config mime negotiation setenvif userdir auth_digest headers proxy proxy_http rewrite ssl vhost_alias version authnz_external authn_core socache_shmcb authz_core php7 proxy_wstunnel reqtimeout authz_unixgroup pwauth psr

The server runs 12 vhosts, 10 of which use php7 and a mariadb/mysql database

FWIW: Checked a couple of webservers on Leap 15.1 with Joomla sites, that use a Mysql database. They show the same output, but due to an NDA I signed I cannot show their output here. Can’t confirm, but my bet is that those issues Henk mentiones have been fixed some other way.

FWIW2: mcrypt is deprecated. If Xibo still requires it, they should update their code. Same for all distros, from php7.2