In Progress

Virtualmin Bash Script

Description

We have created an online order form for people or a salesperson to order a website online. When they press the Order button, we automatically populate the database with all order information and also create a home directory name where the site will live. However, it does not create the actual website. That's where I need someone.

I need a bash script that creates everything that Virtualmin normally creates. Ideally, I'd like it to be immediately visible within Virtualmin but I'll settle for importing it after the fact. The things it must do:

Must take these variables:

Domain Name

Username: (create home dir with this same name)

Password: set as adminpass as default

Optionally

Storage limits - same as virtualmin template

Bandwidth limits - same as virtualmin template

Should chmod 777 the home dir created

Must copy a set of our default files and folders ([url removed, login to view] etc) into their new home directory

I can then call this bash file from php

We use Virtualmin to create our Virtualhosts here so any integration between this script and them is of value.

Thanks.

Jay

CompuMatter

Skills: PHP

See more: chmod 777 virtualmin, virtualmin bash, bash copy directory, bash copy, bash script directory, bash online, bash file, bash 0, salesperson, name jay, jay, bash script, database copy script, create directory online php, populate online directory website, website order form script, php copy files directory, create website online script, copy file directory php, optionally, copy information online database, order domain script, php storage script, online order website template, online directory script

About the Employer:
( 56 reviews ) Anacortes, United States

Project ID: #1127984

Awarded to:

bryceray1121

Pleasure doing business with you.

$30 USD in 1 day
(2 Reviews)
2.6