Changes

Jump to navigation Jump to search
624 bytes added ,  22:30, 9 May 2007
no edit summary
Line 2: Line 2:     
This script is designed to help you when create a new web site under /opt directory. If you want to create a site under an ibay, not use this script.
 
This script is designed to help you when create a new web site under /opt directory. If you want to create a site under an ibay, not use this script.
 +
 +
The main purpose is to avoid the time cosuming typing. Befor SMESiteMaker you must typing to create the dir, conf files and DB configs. With SMESiteMaker you only ask same questions in the wizard.
    
The script create the basics environment for your site, such as directory, permissions, apache configuration, add, replace or leave databases and user, and restart the pertinent services. Ofcourse you can edit the final config file (under /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99SMESiteMaker_yourconfname) to add your own parameters, but generally default is ok.
 
The script create the basics environment for your site, such as directory, permissions, apache configuration, add, replace or leave databases and user, and restart the pertinent services. Ofcourse you can edit the final config file (under /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99SMESiteMaker_yourconfname) to add your own parameters, but generally default is ok.
 +
 +
If you make a mistake or want to revert the changes, first remove the directory you choose to locate your site under /opt. Then remove the file /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99SMESiteMaker_yourconfname. If you create a DB then remove DB and User if are new.
 +
 +
Finally expand template and restart the service:
 +
 +
expand-template /etc/httpd/conf/httpd.conf
 +
/etc/init.d/httpd-e-smith restart
 +
 +
===Use===
    
First, download the last attachment from [[Bugzilla:2975]] to any location in your SME.
 
First, download the last attachment from [[Bugzilla:2975]] to any location in your SME.
985

edits

Navigation menu