Changes

Jump to navigation Jump to search
69 bytes added ,  08:31, 11 July 2022
no edit summary
Line 1: Line 1: −
{{Note box|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.}}
+
{{Languages}}
 
+
<!-- here we define the contrib name variable -->
 +
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
 +
{{#vardefine:contribname| {{lc: {{#titleparts:  sitemaker  |1}} }} }}
 +
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:  sitemaker  |1}} }} }}
 +
<!-- we define the language -->
 +
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
    
==Purpose==
 
==Purpose==
Line 8: Line 13:  
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.
 
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.
   −
==Usage==
+
=== Version ===
 +
{{ #smeversion: smeserver-sitemaker}}
   −
First, download:
+
==Installation==
  wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/sme_sm/rpm/smeserver-sitemaker-2.0.1-01.noarch.rpm
+
  yum --enablerepo=smecontribs install smeserver-sitemaker
to any location in your SME.
     −
Then install:
+
==Uninstall==
  yum localinstall smeserver-sitemaker-2.0.1-01.noarch.rpm
+
  yum remove smeserver-sitemaker
 +
==Usage==
 +
Type at command prompt:
 +
smesm
    
The script gives you information and prompts for answers at each step.
 
The script gives you information and prompts for answers at each step.
Line 66: Line 74:  
  $fopt - Temp var used in Options
 
  $fopt - Temp var used in Options
 
  $f_cgi - Flag CGI
 
  $f_cgi - Flag CGI
 +
$f_cgisamedir - Flag indicating cgi dir is the same as root dir
 
  $cgi_root - CGI directory name
 
  $cgi_root - CGI directory name
 
  $c_root - CGI pathname configured
 
  $c_root - CGI pathname configured
Line 83: Line 92:  
  $c_file - $custom_httpd_dir/$c_name
 
  $c_file - $custom_httpd_dir/$c_name
    +
 +
 +
==Bugs==
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}
 +
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
 +
 +
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}}
    
==Changelog==
 
==Changelog==
 +
Only released version in smecontrib are listed here.
   −
# Author: Normando Hall (PicsOne)
+
{{#smechangelog: {{#var:smecontribname}} }}
# nhall@unixlan.com.ar
  −
#
  −
# Status
  −
# Version: 2.0
  −
# 20/10/2007  (d/m/Y)
  −
#
  −
#
  −
# Changelog
  −
#
  −
# 2.0 (reloaded) (by Normando Hall)
  −
# Remove SME6 compatibility
  −
# Fix root dir perms
  −
# Improve instructions and visual
  −
# Generate index.html for test and info purposes
  −
# Fix some bugs
  −
# Rename the script to smesm
  −
# Secure some script functions
  −
#
  −
# 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
  −
 
      
----
 
----
   −
[[Category: Howto]]
+
[[Category: Deprecated_Contrib]]
[[Category: Contribs]]
+
[[Category:Webapps]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu