.NET Accounting / Bookkeeping AJAX ASP Audio Services C/C++ CMS Cold Fusion Copywriting CSS Data Entry Data Processing Delphi Electronics Engineering Excel Flash Graphic Design Handheld J2EE Java Javascript Joomla JSP LDAP Legal Advice Link Building Links Linux Logo Design Market Research Marketing MS Access MS SQL mSQL Multimedia MySQL Oracle OsCommerce PDA Perl/CGI Photography Photoshop PHP PostgreSQL Project Management Proofreading Python Ruby/Ruby on Rails Script Installation Security SEO SQL System Admin Telemarketing Training Translation Video Services Virtual Reality Visual Basic Web Promotion Website Design Website Security Windows Wireless Wordpress Writing XHTML XML
Budget: N/A
Category: Perl/CGI, MS SQL
I need a perl script that takes 2 parameters, a domain name to be hosted, and an email address. This script runs the same commands that would have been run with Fantastico to perform the following tasks.
The script checks if the domain's dns is pointed to the host server. If it's not, throw an error message indicating such. If so, perform the following tasks:
Example: Resellable.biz
The domain hosting record is created and the following directories, subdomains are created with the installed programs. Set the password as auto-generated, 25 characters long for each ftp user
Must use the same commands that Fantastico uses to install the software components.
These subdomains and directory structure are created, and the appropriate software are installed.
/home/username/www/resellable.com -> http://www.Resellable.biz
/home/username/www/resellable.com/words -> http://words.Resellable.biz - WordPress auto- installed with admin specified themes and plugins
/home/username/www/resellable.com/pics -> http://pics.Resellable.biz - Image Gallery auto installed
/home/username/www/resellable.com/fly -> http://fly.Resellable.biz - web template and scripts copied (provided by me)
/home/username/www/resellable.com/biz -> http://biz.Resellable.biz - eCommerce installed (tbd)
/home/username/www/resellable.com/com -> http://com.Resellable.biz - Joomla automatically installed with admin themes and plugins
/home/username/www/resellable.com/bb -> http://bb.Resellable.biz - phpBB automatically installed
/home/username/www/resellable.com/list -> http://list.Resellable.biz - phpList automatically installed
/home/username/www/resellable.com/help -> http://help.Resellable.biz - Help ticket automatically installed (tbd)
/home/username/www/resellable.com/poll -> http://poll.Resellable.biz - polling software automatically installed (tbd)
/home/username/www/resellable.com/faq -> http://faq.Resellable.biz - faq software automatically installed (tbd)
/home/username/www/resellable.com/cal -> http://cal.Resellable.biz - calendar software automatically installed (tbd)
/home/username/www/resellable.com/tv -> http://tv.Resellable.biz - Wordpress auto-installed with admin specified themes and plugin
/home/username/www/resellable.com/ads -> http://ads.Resellable.biz - ads software automatically installed (tbd)
/home/username/www/resellable.com/buy -> http://buy.Resellable.biz - install auction software (phpAuction)
/home/username/www/resellable.com/iam -> http://iam.Resellable.biz - install simple web pages (provided by me)
Make this an Admin configurable setting to create many directories and subdomains
Create an email with the same name for each subdomain. Set the password as auto-generated, 25 characters long.
Create a forwarding rule for each email address. Forward them all to the email address specified in the command line.
Have each email address above be the "admin" email address for each of the installed software.
Example: the email address for http://words.Resellable.biz installation of WordPress is words _at_ resellable.biz
Additional Info (Added 11/11/2008 at 2:29 EST)...
Oops... Correction: (changed the ".com" to "biz")
/home/username/www/resellable.biz -> http://www.Resellable.biz