CB 2.0 New Install

CrazyLane

Verified User
Joined
Dec 28, 2004
Messages
142
Is it possible to do a new install with CB 2.0 as the default instead of installing CB 1.2 then upgrading to CB 2.0.

In the CB 2.0 FAQ, FAQ #10 states
How do I include this script by default with the DirectAdmin install?
Type the following before running the setup.sh:
Code:
echo "2.0" > /root/.custombuild

I did this however it did not work on Debian 64.

Thanks!
 
What is not working? How you say that?

On my box is working fine (CentOS 6.3) cause i use to implement my installations script daily and test it on any change.

You also should consider to create all needed path and download your own customized options.conf

I did post all commands to Alex (Zeiter) on this forum long time ago, you should consider to search that post ;)

Regards
 
This has nothing to do with the options.conf, my question is how to do a new DA install with CB 2.0 as the default.
 
Cause if you have options.conf and the /root/.custombuild file doenst work he check the options.conf file and use that.. and if in that file there is set custombuild=2.0 he will use that.

Regards
 
there is no options.conf yet as the setup.sh has not been run and DA has not been installed.
 
I know there is no... i sayd create the path and download one options.conf customized...

Should be something like this:
mkdir -p /usr/local/directadmin/custombuild
wget -O 7usr/local/directadmin/custombuild/options.conf YOURURL/options.conf
echo 2.0 > /root/.custombuild

Once there is already an options.conf file, setup.sh will use that ;)

Regards
 
When using option 4 I get the following problem;


*** There was an error while trying to configure php. Check the configure file

*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

*******************************************
******************************************
 
Follow-up;

I am able to install 1.2, option 3 and then upgraded to CB 2.0. My OS Deb 6.06 64
 
Back
Top