CPanel Script, Create DB, Domain & Execute Script(repost)

Completado Publicado Dec 2, 2009 Pagado a la entrega
Completado Pagado a la entrega

Looking to consolidate a bash script and the manual creation of a directory that I currently have into a CPanel Script/Add-On that also creates a domain name and a database for it.

I am using a bash script right now to create a directory, copy a mysql database and copy a few folders to copy domains on my server. The one thing I have to do manually is to delete a folder created when the domain is added and replace it with a symlink.

I'd like a CPanel script that I can execute from CPanel, that creates a domain and database, executes what the bash script does (copies another db into the new one and moves a few folders around), checks to ensure the folder is a folder (not already a symlink as deleting it would create a problem), deletes the folder and creates the symlink.

## Deliverables

Currently I'm creating multiple sites per day by copying an existing site and making changes. I'm looking to help speed up this process.

I'm Looking to consolidate a bash script and the manual creation of a directory that I currently have into a CPanel Script/Add-On that also creates a domain name and a database for it.

I am using a bash script right now to create a directory, copy a mysql database and copy a few folders to copy domains on my server. The one thing I have to do manually is to delete a folder created when the domain is added and replace it with a symlink.

I'd like a CPanel script that I can execute from CPanel, that creates a domain and database, executes what the bash script does (copies another db into the new one and moves a few folders around), checks to ensure the folder is a folder (not already a symlink as deleting it would create a problem), deletes the folder and creates the symlink.

The Add-on should ask for the domain name, the database name, auto create a password for both, and which user the domain is being added to. Then the db & domain should be created, and the bash script executed (or an equivalent of it) that copies an existing db into the new one and copies existing folders in to the new ones.

Let me know if you have any other questions.

PHP

Nº del proyecto: #3001054

Sobre el proyecto

4 propuestas Proyecto remoto Activo Dec 4, 2009

Adjudicado a:

comforthostnet

See private message.

$85 USD en 7 días
(20 comentarios)
4.9

4 freelancers están ofertando un promedio de $100 por este trabajo

pitaji

See private message.

$102 USD en 7 días
(10 comentarios)
4.6
webdeveloperro

See private message.

$127.5 USD en 7 días
(16 comentarios)
4.0
programmerben

See private message.

$85 USD en 7 días
(8 comentarios)
3.1