Difference between revisions of "RBE10K/Website/Installation"
From The Crowdsourced Resource-Based Economy Knowledgebase
(→Apache Virtual Host config) |
m (→Permissions) |
||
Line 7: | Line 7: | ||
The following permissions are required. These must be applied before running the installation script. | The following permissions are required. These must be applied before running the installation script. | ||
− | + | <syntaxhighlight lang="text" enclose="div> | |
− | + | chmod -v 0777 administrator/components | |
− | + | chmod -v 0777 administrator/language | |
− | + | chmod -v 0777 administrator/language/en-GB | |
− | + | chmod -v 0777 administrator/language/overrides | |
− | + | chmod -v 0777 administrator/manifests/files | |
− | + | chmod -v 0777 administrator/manifests/libraries | |
− | + | chmod -v 0777 administrator/manifests/packages | |
− | + | chmod -v 0777 administrator/modules | |
− | + | chmod -v 0777 administrator/templates | |
− | + | chmod -v 0777 components | |
− | + | chmod -v 0777 images | |
− | + | chmod -v 0777 images/banners | |
− | + | chmod -v 0777 images/sampledata | |
− | + | chmod -v 0777 language | |
− | + | chmod -v 0777 language/en-GB | |
− | + | chmod -v 0777 language/overrides | |
− | + | chmod -v 0777 libraries | |
− | + | chmod -R -v 0777 media | |
− | + | chmod -v 0777 modules | |
− | + | chmod -v 0777 plugins | |
− | + | chmod -v 0777 plugins/authentication | |
− | + | chmod -v 0777 plugins/captcha | |
− | + | chmod -v 0777 plugins/content | |
− | + | chmod -v 0777 plugins/editors | |
− | + | chmod -v 0777 plugins/editors-xtd | |
− | + | chmod -v 0777 plugins/extension | |
− | + | chmod -v 0777 plugins/finder | |
− | + | chmod -v 0777 plugins/quickicon | |
− | + | chmod -v 0777 plugins/search | |
− | + | chmod -v 0777 plugins/system | |
− | + | chmod -v 0777 plugins/user | |
− | + | chmod -v 0777 templates | |
− | + | chmod -v 0777 configuration.php | |
− | + | chmod -v 0777 cache | |
− | + | chmod -v 0777 administrator/cache | |
− | + | chmod -v 0777 logs | |
− | + | chmod -v 0777 tmp | |
− | + | chmod -v 0777 . | |
+ | chmod -R -v 0777 installation | ||
+ | </syntaxhighlight> | ||
== Patches == | == Patches == |
Revision as of 17:38, 1 March 2013
This section documents the installation of a functional version of Joomla 3.0.3
Contents |
Install file
The version installed can be found here: http://joomlacode.org/gf/download/frsrelease/17965/78414/Joomla_3.0.3-Stable-Full_Package.zip
Permissions
The following permissions are required. These must be applied before running the installation script.
chmod -v 0777 administrator/components chmod -v 0777 administrator/language chmod -v 0777 administrator/language/en-GB chmod -v 0777 administrator/language/overrides chmod -v 0777 administrator/manifests/files chmod -v 0777 administrator/manifests/libraries chmod -v 0777 administrator/manifests/packages chmod -v 0777 administrator/modules chmod -v 0777 administrator/templates chmod -v 0777 components chmod -v 0777 images chmod -v 0777 images/banners chmod -v 0777 images/sampledata chmod -v 0777 language chmod -v 0777 language/en-GB chmod -v 0777 language/overrides chmod -v 0777 libraries chmod -R -v 0777 media chmod -v 0777 modules chmod -v 0777 plugins chmod -v 0777 plugins/authentication chmod -v 0777 plugins/captcha chmod -v 0777 plugins/content chmod -v 0777 plugins/editors chmod -v 0777 plugins/editors-xtd chmod -v 0777 plugins/extension chmod -v 0777 plugins/finder chmod -v 0777 plugins/quickicon chmod -v 0777 plugins/search chmod -v 0777 plugins/system chmod -v 0777 plugins/user chmod -v 0777 templates chmod -v 0777 configuration.php chmod -v 0777 cache chmod -v 0777 administrator/cache chmod -v 0777 logs chmod -v 0777 tmp chmod -v 0777 . chmod -R -v 0777 installation
Patches
The following patches are required. These must be implemented before running the installation script. File:Joomla-3.0.3-Patches.txt
Apache Virtual Host config
<IfDefine DEFAULT_VHOST>
<VirtualHost *:80>
ServerName 10k.rbem.org
ServerAlias www.rbem.org
DocumentRoot "/var/www/org.rbem.10k/htdocs/joomla"
<Directory "/var/www/org.rbem.10k/htdocs/joomla">
Options FollowSymLinks
AllowOverride All
Require all granted
RewriteEngine On
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
</Directory>
ErrorLog /var/log/apache2/10k.rbemwiki.org-error.log
CustomLog /var/log/apache2/10k.rbemwiki.org-access.log common
</VirtualHost>
</IfDefine>
<VirtualHost *:80>
ServerName 10k.rbem.org
ServerAlias www.rbem.org
DocumentRoot "/var/www/org.rbem.10k/htdocs/joomla"
<Directory "/var/www/org.rbem.10k/htdocs/joomla">
Options FollowSymLinks
AllowOverride All
Require all granted
RewriteEngine On
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
</Directory>
ErrorLog /var/log/apache2/10k.rbemwiki.org-error.log
CustomLog /var/log/apache2/10k.rbemwiki.org-access.log common
</VirtualHost>
</IfDefine>