Line 1: |
Line 1: |
| == SME Site Maker == | | == SME Site Maker == |
| | | |
− | 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, do 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 main purpose is to automate the time consuming (and sometimes confusing) process of installing an application to the /opt directory. If you do not use SMESiteMaker you must create the dir, conf files, and DB configs manually from the command line. With SMESiteMaker, you only have to answer the 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 creates the basic environment for your site, such as directory, permissions, apache configuration, add, replace or leave databases and user, and restart the pertinent services. Of course 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. | + | 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 they are new and no longer needed. |
| | | |
| Finally expand template and restart the service: | | Finally expand template and restart the service: |
Line 29: |
Line 29: |
| ./SMESiteMaker | | ./SMESiteMaker |
| | | |
− | The script give you information and asking at each step. | + | The script gives you information and prompts for answers at each step. |
| | | |
| If you improve or add new functions to the script, please update this wiki page and upload the new version at [[Bugzilla:2975]]. | | If you improve or add new functions to the script, please update this wiki page and upload the new version at [[Bugzilla:2975]]. |
| | | |
− | {{drawBoxNote|content=Please feel free to modify or add info to this howto, and make corrections in typos, because I don't speak english very good. Also to script, you can fix same typos and beattufy the code}} | + | {{drawBoxNote|content=Please feel free to modify or add info to this howto, and make corrections in typos, because I don't speak English very good. Also to script, you can fix some typos and beautify the code.}} |
| | | |
− | Please, use this thread in the forum to any dude or comments: | + | Please, use this thread in the forum for questions or comments: |
| | | |
| [http://forums.contribs.org/index.php?topic=36516.msg162056#msg162056 SME SM Forum thread] | | [http://forums.contribs.org/index.php?topic=36516.msg162056#msg162056 SME SM Forum thread] |