Make a template with preinstalled DirectAdmin

vtty0

New member
Joined
Nov 3, 2010
Messages
4
Hello.
I' d like to ask you how is possible to make several OS templates pack with preinstalled DirectAdmin. The problem is that impossible to setup it w/o license order before and that's really big problem because we are hosting company and we offer templates of 18 OS (32 and 64 bit). Setup DirectAdmin every time especially for customer takes too much time and would be fine to make possibility to set DirectAdmin on server with trial/limited license and customer will order your license after server launch from template.
Thanks.
 
Hello.
I' d like to ask you how is possible to make several OS templates pack with preinstalled DirectAdmin. The problem is that impossible to setup it w/o license order before and that's really big problem because we are hosting company and we offer templates of 18 OS (32 and 64 bit). Setup DirectAdmin every time especially for customer takes too much time and would be fine to make possibility to set DirectAdmin on server with trial/limited license and customer will order your license after server launch from template.
Thanks.

Do you use a VM technique or something like that?
 
Create a working VPS with DirectAdmin and then create a template out of it. Then when that template is used all you have to do is an ip swap and download the correct license.
 
And of course update DirectAdmin. :)

And perhaps update the OS as well.

Jeff
 
+ Change admin password and password for da_admin to access mysql.

p.s. we use an OpenVZ template with CentOS+Directadmin.
No problems noticed.
 
what about create a cd with a defined os (like debian) and let it install all needed packages, all partitions and da aswell?

whould this be hard to create?

Thanks
 
No, but by template we generally mean for a VPS. Which usually doesn't have access to a CD.

Jeff
 
yes yes... i just took the 3d for introduce this question but i was thinkin about a cd for a dedicated server ofc not for a vps :)
 
@ zEitEr
p.s. we use an OpenVZ template with CentOS+Directadmin.
No problems noticed.

Can you share your directadmin template ?
Which version centos do you use ?

And last question, to update, license, ip, and password, do you have a script ?

Thanks for your help
 
The current template is tuned and customized for our own needs (but still is undone and is already outdated). But definitely I would create an OpenVZ template with CentOS 5.x with default settings.

To swap IP there is already a script maintained by JBMC Software. To update a license, there is a guide on directadmin.com

/usr/local/directadmin/scripts/ipswap.sh

Contact me by email or PM if you're interested.

p.s. I'm not sure, is this any kind legal to distribute OpenVZ template with installed directadmin. I need to contact with JBMC Software sales department.
 
Last edited:
I think there is no problem to distributed with directadmin, because there is a need to update IP, licence and software.
So I suppose it can't work a long time without updating license.

Thanks for your help.
 
Directadmin binaries are not available for non-directadmin community, thus there might be some limitations.

I've post my request, so I'm waiting for an answer.
 
I don't know what the DirectAdmin guys would say about my solution but here is how I would automate this task:

First, on a already installed server I would run this:
Code:
# wget -c -O da-update.tar.gz https://www.directadmin.com/cgi-bin/daupdate?uid=XXXX\&lid=XXXX
Then I'll ship the da-update.tar.gz with all templates and extract it on the server after install.

After that you only need to generate the directadmin.conf, run the scripts/install.sh and add the lines from setup.sh that follow the install.sh line and you should be done with it.
 
Back
Top