Automate>Clone>Files structure+Database+DB data+folder permissions

netstepinc

Verified User
Joined
Jul 2, 2006
Messages
73
Location
Seattle, WA Area
I will be cloning out a CMS system MANY times.
Does DA have the ability to change the default site content for a specific package?

What I want to do:
> Manually create account.
> Manually set to CMS package.
1. Automatically create file structure (clone another dir on the server).
2. Automatically set folder permissions for user upload dirs.
3. Automatically create database.
4. Automatically populate database with default data.

If this is way beyond DA's ability, what would it take to do this?
Anyone available for some contract work or is this not the place for that question?
 
See /usr/local/directadmin/scripts/custom/README on your DirectAdmin server.

You can use bash scripting to do most of the work. Not sure about the database part, but I think you could do that partially by using the API in combination with bash.
 
Bash scripting to automate site cloning/setup

See /usr/local/directadmin/scripts/custom/README on your DirectAdmin server.
You can use bash scripting to do most of the work. Not sure about the database part, but I think you could do that partially by using the API in combination with bash.
Thank you. I'll dive into bash scripting and absorb as much as I can. Occasionally I grow weary of learning new skill sets, but it's always good to build my programming muscles. If you (or anyone) knows of the "best" Bash scripting tutorial web site, please post.
 
Book: LINUX Programming for Dummies

Reviewers on Amazon say it's got a bunch of typos, but heck, that'll only teach you faster as you debug :).

Jeff
 
Back
Top