M
mattp
Guest
I have just completed an installation of SiteBuilder on a CPanel machine, and kept a log of what I had to do so hopefully I'll be able to help out some others who are attempting the same thing...
My server contained the following -
My server contained the following -
- CentOS 3.5 i686
- WHM 10.6.0
- cPanel 10.6.0-R55
- Apache 1.3.33
- PHP 4.3.11
- MySQL 4.0.25
- Install all the necessary PHP extensions -
- Open WHM (logged in as root), and go to Apache Update.
- Click the "Load Previous Config" button (If it exists)
- Under "Php Module", also tick these -
* Curl
* Dom XSLT
* GD
* Iconv
* Sablot XSLT
* XML RPC
* Freetype Support
* Zip
- Click "Start Build"
- Install SiteBuilder -
- SSH to the server and login as root
- Execute the following
Code:wget http://download1.sw-soft.com/SiteBuilder/2.0/Sitebuilder-2.0.0-rhel3.build050606.17.tgz tar –xzvf Sitebuilder-2.0.0-rhel3.build050606.17.tgz cd Sitebuilder rpm -Uhv js-1.5rc5a-1.i386.rpm rpm -Uhv sablotron-1.0.1-2.i386.rpm rpm -Uhv php-xslt-1.0-0.i386.rpm rpm -Uhv Sitebuilder-2.0.0-rhel3.build050606.17.i386.rpm
Code:rpm -Uhv Sitebuilder-2.0.0-rhel3.build050606.17.i386.rpm --nodeps
- Configure your DNS
- Open WHM and go to "Edit a DNS Zone"
- Select your_domain.com and click edit
- enter a new entry DOMAIN=sitebuilder, RECORD_TYPE=CNAME, VALUE=your_domain.com
- Check that it works
- Open a browser and go to http://sitebuilder.your_domain.com
- If you get the CPanel message "There is no website configured at this address."
- SSH to the server and login as root
- add this to the end of /usr/local/apache/conf/httpd.conf -
Code:<VirtualHost ip.ip.ip.ip> ServerAlias sitebuilder.your_domain.com ServerAlias *.sitebuilder.your_domain.com ServerAdmin webmaster@your_domain.com DocumentRoot /usr/local/sitebuilder/htdocs Servername sitebuilder.your_domain.com </VirtualHost>
- If you get an error complaining about IonCube, do this, otherwise, go on to the next step
- SSH to the server and login as root
- Execute the following
Code:wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar -xzvf ioncube_loaders_lin_x86.tar.gz mkdir /usr/local/ioncube cp ioncube/* /usr/local/ioncube vi /usr/local/lib/php.ini
Code:zend_extension="/usr/local/ioncube/ioncube_loader_lin_4.3.so"
Code:upload_max_filesize = 4M
- Configure SiteBuilder
- Open a browser and go to http://sitebuilder.your_domain.com
- Fill in the "DB Administrator Password" field
- Click OK
- If you get "FAIL: I can not open a file install.log", do this, otherwise go on to the next step
- SSH to the server and login as root
- Execute the following to make the owner for the sitebuilder directory the apache user (in CPanel it's "nobody")
Code:cd /usr/local/ chown -R nobody sitebuilder chgrp -R nobody sitebuilder
- Fill in the "DB Administrator Password" field **** Don't forget this because it gets cleared!!!
- Click OK
- You're done
, now continue on to the "Getting Started" section of sitebuilder-ig.pdf
[/list=1]