• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Install Tips for Cpanel Users

R

RogerW37

Guest
The following installation was perfomed for SiteBuilder Version 2.0.0 Build 05060617.

This took approximately one week to determine how to get it working correctly and multiple emails to and from various people.

During installation, my server contained the following:
  • Fedora Core 2
  • WHM 10.6.0
  • cPanel 10.6.0-C123
  • Apache 1.3.33
  • PHP 4.3.11
  • MySQL 4.0.25-standard
I strongly suggest reading through this slowly, with attention to detail, and consider that for your server, you may wish or need to do things differently. Print it out for a handy reference!

Also, check this board as there are other people that have listed instructions that have successfully worked for them.

Here we go!

1. Create the following DNS entries:

WHM, “Edit DNS Zone†select “yourdomain.comâ€

sitebuilder.yourdomain.com. 14400 A ##.##.###.## (server IP)
*.sitebuilder.yourdomain.com. 14400 A ##.##.###.## (server IP)

This is done first because it will take time for propagation.

The instructions said for me to use “sitebuilder.nameofserver.yourdomain.com†however, that URL seemed way too long. I used it for a while and then removed the “nameofserver†portion and all works just fine.

2. Virtual domain for sitebuilder was created during installation.

You can find it here: /etc/httpd/conf.d/sitebuilder.conf

3. SSH to server. Move to the correct folder:
Code:
cd~
4. Download the archive containing the SiteBuilder files.
Code:
wget [url]http://download1.sw-soft.com/SiteBuilder/2.0/Sitebuilder-2.0.0-fc2.build050606.17.tgz[/url]
(may need to change the above for newer updates)

5. Unpack the archive:
Code:
tar -xzvf Sitebuilder-2.0.0-fc2.build050606.17.tgz
Once unpacking is complete, the application will create the Sitebuilder directory.

6. Install all packages in this directory using the following commands:
Code:
cd Sitebuilder
rpm –Uhv *.rpm
In case any unresolved dependencies appear, you must resolve them. Please use your operating system distribution package to obtain the necessary files.

I used WHM to “Install a RPM†for the three needed packages.

php >= 4.3 is needed by Sitebuilder-2.0.0-fc2.build050606.17
php-domxml is needed by Sitebuilder-2.0.0-fc2.build050606.17
php-mysql is needed by Sitebuilder-2.0.0-fc2.build050606.17

Interestingly, I installed php-domxml and php-mysql “Install a RPM†packages and didn’t have to install the “php†package as the install completed without further warnings in this regard.

7. UPDATE WHM TO AT LEAST WHM 10.6.0 AND cPanel 10.6.0-C123.

First, that's just good measure.

Second, you are about to turn on ioncube as SiteBuilder is ioncube encoded. Turning on ioncube will cause Fantastico! (if you have it installed) to crash if you have a version of CPanel before C123 installed.

So, let me say it again, update CPanel to the latest version to avoid problems.

8. Update WHM from “Tweak Settings†“Software†“none†to “ioncube†since SiteBuilder is ioncube encoded.

9. Update httpd.conf with DNS settings:
Code:
pico /usr/local/apache/conf/httpd.conf
Code:
########################## FOR SITEBUILDER
<VirtualHost ##.##.###.##:80>
    ServerAlias *sitebuilder.*
    DocumentRoot /usr/local/sitebuilder/htdocs/
    ServerName *sitebuilder.*
    ErrorLog logs/sitebuilder-error_log
    CustomLog logs/sitebuilder-access_log common
    DirectoryIndex index.php
    AddDefaultCharset UTF-8
    <Directory /usr/local/sitebuilder/>
        AllowOverride All
    </Directory> 

    <Directory /usr/local/sitebuilder/install>
     AllowOverride none
    </Directory>

    <Directory /usr/local/sitebuilder/users>
     AllowOverride none
    </Directory>

    <Directory /usr/local/sitebuilder/repository>
     AllowOverride none
    </Directory>

    <Directory /usr/local/sitebuilder/install.bkp>
         AllowOverride none
         Order deny,allow
         Deny from All
    </Directory>
</VirtualHost>
########################## END SITEBUILDER
10. IMPORTANT: REMOVE CONFIG FILE IF YOU DO THE STEP ABOVE.

There are two config “entriesâ€, one that was manually placed into httpd.conf in the step above and one that SiteBuilder installs which is located at /etc/httpd/conf.d/sitebuilder.conf

Both are processed when Apache is restarted which causes problems.

I moved my sitebuilder.conf file from /etc/httpd/conf.d/sitebuilder.conf to /usr/local/sitebuilder/sitebuilder.conf which prevents it’s processing when httpd is restarted.

Why did I do this? For some reason, SiteBuilder wasn't starting properly for me. It was noted in WHM when restarting Apache, but placing the command in the main httpd.conf file got it going.

11. Update php.ini with correct information:

Code:
pico /usr/lib/php.ini
Did a search for “extension†and then added the following:
Code:
;;;;;;;;;;;;;;;;;;;;; FOR SITEBUILDER
extension = "/usr/lib/php4/gpgext.so"
extension = "/usr/lib/php4/domxml.so"
extension = "/usr/lib/php4/xslt.so"
extension = "/usr/lib/php4/zip.so"
zend_extension = "/usr/local/cpanel/3rdparty/etc/ioncube/ioncube_loader_lin_4.3.so"
;;;;;;;;;;;;;;;;;;;;; END SITEBUILDER
12. Restart Apache for changes to take affect.

13. Check to make sure control panel and (if you have it...) Fantastico are working correctly.

14. WHM, “MySQL Root Password†and set a password.

This password will be used by SiteBuilder as root.

15. Simply visit http://sitebuilder.yourdomain.com to begin installation.

16. Make the database connection:

DB name – Leave as is (sitebuilder)
DB host – Leave as is (localhost)
DB Administrator Name – Leave as is (root)
DB Administrator Password - Enter the WHM “MySQL Root Password.â€
Remainder of settings need no changes, click OK.

17. Check guest entry point:

http://sitebuilder.yourdomain.com

18. Admin:

http://sitebuilder.yourdomain.com/admin_login.php

First time install...
U: root
P: sitebuilder

Make sure to change this password as soon as possible!

19. License
Make sure to upload your license after logging in as admin. Click the "License" icon and then "Upload Key."

NOTES:

1. Do NOT setup a subdomain using WHM, edit the httpd.conf manually as stated above.
2. I'm certainly open to any suggestions and modifications.

The instructions above worked for me. I hope that they'll work for you as well or at least get you past a point that you may be stuck.

Enjoy!
Roger
 
My Sitebuilder installation says httpd is not installed. I'm not about to reinstall apache from an rpm - this would screw up my existing config wouldnt it ?
 
Yes it would.

Remember, Sitebuilder is going through looking for RPM dependencies. If you know they're satisfied you can always --nodep or --force the installation/removal. It will also complain about PHP not being available, as cPanel builds PHP from source.

Be prepared for a lot of headaches, as there's a lot of little issues that can go wrong once it's installed.
 
php-domxml is needed by Sitebuilder-2.0.0-fc2.build050606.17
php-mysql is needed by Sitebuilder-2.0.0-fc2.build050606.17

Interestingly, I installed php-domxml and php-mysql Install a RPM packages and didnt have to install the php package as the install completed without further warnings in this regard.


Greetings from Greece,

I can't find under "Install a RPM" the above packages. Can you help me in how to install them?


Sincerely,

George Vardikos
 
Back
Top