Installing Softaculous in H-Sphere

From Softaculous Wiki
Revision as of 00:01, 21 February 2012 by Team (Talk | contribs)

Jump to: navigation, search

Overview

Softaculous for H-Sphere is very simple to install. H-Sphere is a Clustered Shared Hosting Management Software. Hence Softaculous will have to be installed on each slave seperately. A small installation script has to be run on the Master as well to setup the links.


Requirements

  • A CP Server (Master) server with H-Sphere Linux (Required version 3.5+)
  • A Slave server with H-Sphere Linux (Required version 3.5+)
  • PHP with IonCube
  • PHP with Posix Extenstion

H-Sphere CP Server (Master) Installation

The H-Sphere CP Server (Master) installation script just configures H-Sphere CP Server to show the Softaculous links in the H-Sphere panel.

wget -N http://www.softaculous.com/hs/master_install.php
chmod 755 master_install.php
/hsphere/shared/php5/bin/php-cli -d open_basedir=/ -d safe_mode=0 -d disable_functions="" ./master_install.php


Manually Configure (Optional)

IF you want to manually configure H-Sphere (instead of running the above script) please add the following lines to the file /hsphere/local/home/cpanel/hsphere/WEB-INF/classes/psoft_config/hsphere.properties :

SOFTACULOUS_URL=softaculous/
SOFTACULOUS_ADMIN_URL=softaculous/

Restart Apache

You will have to restart apache for the changes to take effect. You will be prompted for the same. If you want to restart later the command is as follows :

root> service httpdcp restart

H-Sphere Slave Installation

Note: Before starting the installation make sure ionCube Loaders are enabled. Otherwise you will not be able to Install Softaculous. The ionCube Loaders can be downloaded at the ionCube Downloads
Note : Installation will ask you for Master Server's IP, provide the IP with the PORT if port is not provided it will take 8080 by default. For eg: If your Master server is configured at Port 80 then give your Master server IP with port 80 i.e. YOURIP:80
Now SSH to your server and enter following commands:

cd /usr/local
wget -N http://www.softaculous.com/hs/install_softaculous.php
chmod 755 install_softaculous.php
/hsphere/shared/php5/bin/php-cli -d open_basedir=/ -d safe_mode=0 -d disable_functions="" /usr/local/install_softaculous.php

The Installer will start showing the Installation Processes and when done will indicate the same. NOTE: Scripts will be downloaded during this process. The Download Activity will also be shown on the screen.

Reload Apache

You will have to reload / restart apache for the changes to take effect.

root> /etc/init.d/httpd reload

Thats it the installation of Softaculous is completed on the Slave!

Where is Softaculous Located in H-Sphere

Endusers

To access the Softaculous Enduser Panel :
1) Login as the Enduser
2) Go to Web Options
There at the bottom you will find the Softaculous Panel URL

HSphere-Enduser.jpg

Admins

To access the Softaculous Admin Panel :
1) Login as Admin (Username should be "admin")
2) Go to E. Manager -> Servers -> L. Servers
3) Click on the Web Server (Editing URL) you want to access the Softaculous Admin Panel of.
There at the bottom you will find Softaculous Admin Panel

Softaculous Admin Panel