Cancelled

cPanel script

We need cPanel actions streamlined. This should be done with simple shell script or via PHP and cPanel SDK. Functionality would we as follows:

- user inputs certain string that will be used later in the proces. Let's say variable $addon.

- in the script itself there is a config for main domain, let's say this is $domain

- in the script itself there is a config for domain that is used later to park domain, let's say this is $domain_main

- in the script itself there is a config for which cPanel user is the one we are performing actions, so this is $user

After we enter $prefix following actions should be performed:

- park a domain on top of $domain for $user

- create new database for $user using $addon as suffix

- create new database user for $user

- assign new database user with new database (all privileges)

- import predefined sql dump into new database

- create folder in public_html of $user account with name: $addon.$domain_main

- create txt file from existing template (example should be provided by you) and place it inside newly created folder

- write new database name, new database username and password to created file

We prefer shell script or any other script that can be run from command line as oposite to PHP but this will also be considered.

Code should be commented and we should be able to easily add additional actions in future on our own.

Skills: PHP, Shell Script

See more: string prefix, run shell script from php, prefix top, prefix string, prefix of a string, create shell script, example shell script, shell script or, shell script, create cpanel, cpanel add php, php simple username password script, database privileges, shell add file, privileges create database, write simple shell, create database privileges, php cpanel script, dump create database, addon template, template addon, php sql txt, enter cpanel, shell command, write simple php script

About the Employer:
( 0 reviews ) Serbia

Project ID: #4636233

8 freelancers are bidding on average $180 for this job

rajeshsonisl

Quality work assured. Ready to get started. Thanks.

$421 USD in 2 days
(383 Reviews)
7.0
kernelbd

Cpanel API expert is here. We can accomplish this automated tasks for you. Ready to start. Thanks.

$360 USD in 5 days
(91 Reviews)
6.4
stephhw01

A VERY IMPORTANT OFFER IS WAITING FOR YOU IN YOUR PM!

$75 USD in 0 days
(39 Reviews)
5.7
acutegroups

Here we like to specify our slogan "A Right Place For Pace". we have ability and tech to close your bid within that target time. we request you to have a glance at our Private Message. we would be glad to know that you More

$147 USD in 3 days
(4 Reviews)
4.9
evidcomm

Ready to start now..Many thanks..

$115 USD in 3 days
(15 Reviews)
4.3
nabskg

we could do this

$568 USD in 30 days
(9 Reviews)
3.7
malcolmtechnolog

Hello, We have Experienced Professionals with 3 years of Web Development & Designing, Application Development, Desktop Application, ERP Software, Android App. Development. I-phone Development expertise. We have worked More

$147 USD in 5 days
(1 Review)
0.0
balajismsc

I can do this for you.

$155 USD in 3 days
(0 Reviews)
0.0
dmlpq123

i'm interested in your task

$66 USD in 1 day
(0 Reviews)
0.0
fakirJanz

your project is well described and looks quite easy : I can do that in bash shell. For easier maintenance, of course the code will be commented.

$111 USD in 3 days
(0 Reviews)
0.0