Last Update 06 Dec 2019
Just want to share, I’ve installed XIBO cms 2.2.0 on CentOS 7.7.1908 (Core), I read a tutorial based on Almond Wong’s Tutorial guide, I’ve modified it as exactly it’s installed succeed.
####################
#I just finished the install. Hope can save someone’s time. Please feel free to modify, amend and comment.
#Install CentOS minimal. I use CentOS-7-x86_64-minimal-1908
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --enable remi-php72
#edit /etc/sysconfig/selinux
SELINUX=disabled
yum -y install net-tools
yum -y install wget
yum -y install mlocate
yum -y install httpd
systemctl enable httpd
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --permanent --add-port=9505/tcp
firewall-cmd --permanent --add-port=50001/tcp
firewall-cmd --reload
#PHP 7.2
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install -y php php-opcache php-common
yum install -y php-pear
yum install -y php-devel php-intl php-soap php-mcrypt json
yum install -y php-pdo php-gd
yum install -y php-mysql
yum install -y php-mbstring
yum install -y php-zip
yum install -y php-zmq
yum -y update
#Install MariaDB
yum -y install mariadb-server
systemctl enable mariadb
systemctl start mariadb
mysql_secure_installation
yum -y group install “Development Tools”
#Extract cms to /var/www/xibo-cms-2.2.0
#Edit /etc/httpd/conf/httpd.conf change
DocumentRoot “/var/www/xibo-cms-2.2.0/web”
<Directory “/var/www/xibo-cms-2.2.0/web”>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted
‘</Directory’> --> without quote
chown -R apache:apache /var/www/xibo-cms-2.2.0
#XMR
#create file /var/www/xibo-cms-2.2.0/vendor/bin/config.json
{
“listenOn”: “tcp://localhost:50001”,
“pubOn”: [“tcp://192.168.0.2:9505”],
“debug”: false
}
#copy /var/www/xibo-cms-2.2.0/vendor/bin/config.json to /var/www/xibo-cms-2.2.0/vendor/xibosignage/xibo-xmr/bin/config.json
#XTR
crontab -u apache -e
‘* * * * * /usr/bin/php /var/www/xibo-cms-2.2.0/bin/xtr.php’ (please add without quote)
#Edit /etc/php.ini
max_execution_time = 120
memory_limit = 256M
post_max_size = 256M
upload_max_filesize = 256M
date.timezone = TIME_ZONE (your timezone)
systemctl restart httpd or reboot if needed
#open browser http://192.168.0.2
Enjoy.