OpenNebula module won't do anything!

OpenNebula module won't do anything!

Make sure you have php xmlrpc and php xml(sometimes called simplexml) enabled in your php configuration!

you can do this on centos 6/7 by doing:

CentOS version 7.2

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
nano /etc/yum.repos.d/remi.repo

if you don't have nano use this command:

yum -y install nano

Find the line enabled =0 and change it to 1 to enable REMI repository.

[...]
enabled=1
[...]

enable both [remi] and the [remi] repo clause that states php 5.6 or php 7 depending on which php version you installed which can be found by doing this:

php -v

once you have those repo's marked with enabled=1 to enable the repo's press ctrl+x to exit nano and press y to save changes to the file and exit out of nano

then do this:

yum -y install php php-cli php-bcmath php-gd php-imap php-mbstring php-mcrypt php-pdo php-pear php-soap php-xml php-xmlrpc

then once that runs you should have the php extensions needed to run the module and interface with opennebula's native xmlrpc api

CentOS version 6.7

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm
nano /etc/yum.repos.d/remi.repo

if you don't have nano use this command:

yum -y install nano

Find the line enabled =0 and change it to 1 to enable REMI repository.

[...]
enabled=1
[...]

enable both [remi] and the [remi] repo clause that states php 5.6 or php 7 depending on which php version you installed which can be found by doing this:

php -v

once you have those repo's marked with enabled=1 to enable the repo's press ctrl+x to exit nano and press y to save changes to the file and exit out of nano

then do this:

yum -y install php php-cli php-bcmath php-gd php-imap php-mbstring php-mcrypt php-pdo php-pear php-soap php-xml php-xmlrpc

then once that runs you should have the php extensions needed to run the module and interface with opennebula's native xmlrpc api

though for simplicity we will not help you install your php stack with any other php stack we recommend using remi's php stack instead since it has everything needed for both blesta & whmcs to run our modules on already in there except only missing the ioncube loader which you should have already installed if you are experiencing this. 

and please due to the complexity of working with a control panel vs plain cli/ssh on centos 6/7 it is recommended to use pure cli/ssh on centos6/7 to run blesta to do this on as we cannot know the complexity or if it will even work with a control panel which is cpanel,etc

Please rate this article to help us improve our Knowledge Base.

0 0