Requirements: Centos 7!
Firstly we need to update the system: yum update -y
Now we want to install the main functions (Most of this will be removed by InterWorx anyway):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))
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
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
.
Previous and alternative recommended way to install InterWorx.
To install InterWorx our way please follow the tutorial below.
Install InterWorx on a clean Centos 6.5 64Bit OS.
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 php-pecl-mailparse -y
Most of these will be removed after with the InterWorx installation.
sh <((curl -sL interworx.com/inst.sh))
Run and follow the installer.
/home/interworx/bin/goiworx.pex
Run the Activator (If you get a license key error, ensure your IP is valid, Client Area > Manage > Change IP > Enter IP.
Centos 6:
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm
Centos 7:
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7*.rpm epel-release-7*.rpm
Install the Remi Repo.
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
Upgrade to PHP 5.4
wget -N https://licensecart.com/iworx/improved-ioncube.sh;chmod 777 ./improved-ioncube.sh;./improved-ioncube.sh
Install Ioncube for PHP 5.4 on a 64bit OS.
rpm -i http://patches.kernelcare.com/kernelcare-latest.el6.x86_64.rpm
Install KernelCare's Trial and ensure the kernel is updated.