Installing a script

Installing a script nowadays is usually straight forward and they have documents to described how to do it.  Most times there will be a wizard to do the install work for the script.  However, there are some work that is needed before you can run the script's installer.  Please do the following to install a script in hsphere:
  1. Download the script via the developer's site -- it should be a file that ends in ".zip, .tar, .gz"
  2. unzip/archive the script by double clicking it -- if your computer does not know the extension, you will need the program to unarchive it such as winrar on Windows and Macs can usually open any file that scripts are delivered in
  3. Login to the control panel
  4. The script calls for a database:
    1. MySQL
      1. Go to Databases --> MySQL --> MySQL DB wizard
      2. Enter a name for the database -- it can be anything you want but naming it to be recognized as what it contains would be best
      3. Enter a username -- it can be anything you want
      4. Enter a password -- a complex one with numbers and letters is best
      5. Most scripts require full access to the database to function, so set the permissions to "DBA"
      6. Submit the user form
      7. Write down the full username, full database name, and database server name for later user
    2. MSSQL
      1. Create a login if not already existing via Databases --> MSSQL -> MSSQL Logins --> Create MSSQL login
      2. Go to Databases --> MSSQL --> MSSQL DBs
      3. Click "Add new database"
      4. Enter the database name -- it can be anything you want but naming it to be recognized as what it contains would be best
      5. Select the user if not already selected
      6. Submit the form and you're done
      7. Write down the full username, full database name, and database server name for later user
  5. Upload the script via FTP:
    1. Open your FTP client -- such as filezilla (Windows, Mac, Linux, etc) or cyberduck (Mac OS) or any other ftp client or your OS's built-in ftp client
    2. Login to the ftp server
      1. Use the FTP user name, usually your control panel username, however, it is shown in the control panel --> ftp / user account menu --> FTP user --> Username
      2. Use the password for the FTP, usually your control panel password but it can be different and changed under control panel --> ftp / user account menu --> FTP user --> Password
      3. Use ftp.domain.com as the host / server address -- domain.com should be replaced with your domain.
    3. In the FTP client's "local side" (where it shows your computers files), navigate to where you have the script unzipped/archived
    4. In the FTP client's "remote side" (where it shows files on the server), navigate to the folder named after your domain or subdomain
      1. If you will be installing a directory under your domain, domain.com/blog for example, navigate to that folder also
    5. Drag and drop all script files from the local side to the remote side in your FTP client -- your files will then upload to the server
  6. Installing the script:
    1. Now that you have the script uploaded, you need to run its install routines to get it ready.   The script should have install docs.
      1. Usually going to http://domain.com/script/ will run the installer, but you may have to go to http://domain.com/script/installer also
    2. Use the username, database name, and server name that your wrote down earlier for the script to connect to the database
    3. If the script calls for a path, go to the control panel --> Domain settings menu --> Domain info --> The domain (if multiple) --> and use the path shown under "HTML Directory Name"
      1. note: add any additional folders if the script is installed under a directory in the domain's folder
    4. If the script calls for any .htaccess directives to be entered, you can do so via the file manager or uploading the .htaccess file.  Some scripts have a .htaccess file that is named htaccess.txt that you need to rename before it will work.  The installer or script may let you know if you it needs this to be done.
  7. Test the script out and enjoy it, you should be done installing at this point.



When uploading the script to the server, you can also upload the script in the archive it was downloaded in and then unzip/archive the file on the server via the file manager.  Sometimes this requires additional moving of files and can also cause permission/ownership issues on .tar/.gz files .  Uploading via the above mentioned methods is the recommended method.


  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to add a domain / website for hosting

To add a domain for hosting, please do the following: Login to the control panel (please see...

How to create subdomains? (sub.domain.com)

To add a subdomain, please do the following: Login to the control panel -- please see...

Where do I upload files for the web site? (public_html)

Hsphere has a true separate domain setup and as such there isn't a central "public_html" folder...

How can I test my site before changing DNS? (instant aliases)

To test your site before changing the DNS nameservers, you can use the instant access alias that...

Hsphere User Guides

User guides for our hsphere control panel are available at our downloads section for user guides:...