Custom clean install

egrueda

New member
Joined
Feb 11, 2011
Messages
1
Hi! I'm quite new at DA and I'm making my first installations.
After installing, I use to change some options and rebuild it all, same procedure for same servers, so I'm making a first installation followed by a custom installation.
Is there a way to customize initial installation (setup.sh) so I can build with custom default options? This would be a time saving solution.
Thanks!
 
No, if you choose custom install in the beginning (setup.sh) things will not go as it should. Never successful installation with me at least. I recommend choosing defaut installation with number 2 and PHP5.
 
Hello,

There are a few hidden trick you can use.

If you plan on using custombuild, you can create the file:
/usr/local/directadmin/custombuild/options.conf

before calling the setup.sh.

If you call the setup.sh normally using this pre-options.conf method, then you'd tell setup.sh that you want the default settings.. and it tells custombuild to create the default settings.. but custombuild sees the options.conf already exists, so won't touch it. (grab the options.conf from another box)

A 2nd trick to speed up installs is to use the setup.sh via command line.
1) You must type:
Code:
echo 2.0 > /root/.custombuild
first, or else customapache will be used. You can still create the options.conf ahead of time.
2) To see how to run the setup.sh, ask it:
Code:
./setup.sh --help
We usually use:
Code:
./setup.sh 1234 56789 server.host.com eth0 1.2.3.4
John
 
Back
Top