//[This how-to tutorial was created by EidolonHost. Please consider EidolonHost for your [[http://eidolonhost.com|OpenVZ and KVM VPS]] needs. // ====== Tutorial: Installing InterWorx on a CentOS-based Server ====== ==== What is InterWorx? ==== **InterWorx** is a web hosting control panel software developed by [[http://interworx.com|InterWorx LLC]]. The control panel is divided into two interfaces: **NodeWorx**, which is used by a server administrators to manage a server, and **SiteWorx**, which is used by a website owner to manage a particular web site. The NodeWorx interface also contains functionality for web hosting resellers to securely manage multiple SiteWorx accounts without allowing the ability to manage server daemons and configurations. ==== Prerequisites ==== A fully updated CentOS 7.x install. Note that this needs to be a clean server. Installing it on a server with something like cPanel already installed **//WILL//** break your server! `yum update -y` Now, we want to install the main functions, mostly to get it out of the way: `yum install mysql-server httpd php php-gd php-cli php-mysql gcc make wget tar gzip which nano screen pdo pdo_mysql curl openssl gmp php-imap json ldap libxml php-mailparse php-mbstring php-mcrypt simplexml zlib -y` Now we need to install InterWorx: `sh <((curl -sL interworx.com/inst.sh))` You may get a prompt about conflicting packages. This is normal. Accept the installer's request to automatically resolve the conflicts. and then we need to activate the license: `/home/interworx/bin/goiworx.pex` Next, we need to add the remi repo: `wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm` `wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm` Finally, let's install the repos. `rpm -Uvh remi-release-7*.rpm epel-release-latest-7.noarch.rpm` Next we need to edit the remi repo: `nano -w /etc/yum.repos.d/remi.repo` and find: `"[remi-php56]"` and change `enabled=0` to `enabled=1`. Finally, we need to upgrade PHP from 5.4 to 5.6 because 5.4 is **End Of Life** and not supported: `yum --enablerepo=remi upgrade php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse -y` Most people need ionCube so we can do that with this: `wget -N -4 https://licensecart.com/iworx/improved-ioncube.sh;chmod 777 ./improved-ioncube.sh;./improved-ioncube.sh auto` If you have KVM or Xen servers or even own your own OpenVZ dedicated server you can upgrade your kernel with a free trial of KernelCare: `rpm -i http://patches.kernelcare.com/kernelcare-latest.el6.x86_64.rpm`. This concludes the tutorial on how to install InterWorx on your server.