Difference between revisions of "SME Site Maker"

From SME Server
Jump to navigationJump to search
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.
+
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.
  
If you improve or add new functions, please update this wiki page.
+
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.
  
{{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.}}
+
First, download the last attachment from [[Bugzilla:2975]] to any location in your SME.
  
Current version: 1.7
+
Then untar the script. In this example I use v1.7:
 +
tar xzvf SMESiteMaker_v1.7.tar.gz
  
'''Now with full MySQL support!!'''
+
Enter to SMESiteMaker dir.
 +
cd SMESiteMaker
  
Your can download from here: [http://www.unixlan.com.ar/SMESM/SMESiteMaker_v1.7.tar.gz SMESiteMaker]
+
and finally execute the script
 +
sh SMESiteMaker
 +
 
 +
The script give you information and asking 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]].
 +
 
 +
{{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}}
  
 
Please, use this thread in the forum to any dude or comments:
 
Please, use this thread in the forum to any dude or comments:
Line 17: Line 26:
 
[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]
  
Untar and execute.
 
 
Code removed because is too long.
 
 
If you want to see colored code, go to http://www.siscom.com.ar/mediawiki/index.php/SME_Site_Maker
 
  
 
Changelog:
 
Changelog:

Revision as of 06:53, 9 May 2007

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.

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.

First, download the last attachment from Bugzilla:2975 to any location in your SME.

Then untar the script. In this example I use v1.7:

tar xzvf SMESiteMaker_v1.7.tar.gz

Enter to SMESiteMaker dir.

cd SMESiteMaker

and finally execute the script

sh SMESiteMaker

The script give you information and asking 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.

Template:DrawBoxNote

Please, use this thread in the forum to any dude or comments:

SME SM Forum thread


Changelog:

# Author: Normando Hall (PicsOne)
# nhall@unixlan.com.ar
#
# Status
# Version: 1.7
# 10/04/2007  (d/m/Y)
#
#
# Changelog
#
# 1.7 (by Normando Hall)
# Fix some bugs with MySQL database and users already exists
# Set debug output to /opt
# Added SME6 support
# Improve some functions
# Stylize prompt
#
# 1.5 (by Normando Hall)
# Fix some bugs with CGI dir
# Added full mysql support
#
# 1.1 (by Normando Hall)
# Added php open_basedir restriction
# Set debug variable
#
# 1.0 (by Normando Hall)
# Initial release