Installing Xoops: Difference between revisions
m
Reverted edits by Upazixorys (Talk); changed back to last version by Ric
Upazixorys (talk | contribs) No edit summary |
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric) |
||
Line 1: | Line 1: | ||
<span id="top"></span> | |||
<div style="padding:0;margin:0; border-bottom:3px inset #000000"> | |||
{| | {| | ||
| [[Image:uc_small_logo.gif | MPG UniCenter]] || | | [[Image:uc_small_logo.gif | MPG UniCenter]] || | ||
How to install Xoops on Uniform Server 3.5-Apollo | How to install Xoops on Uniform Server 3.5-Apollo | ||
|} | |} | ||
</div> | |||
{| cellpadding= | {| cellpadding="2" | ||
| | | | ||
__TOC__ | __TOC__ | ||
Line 18: | Line 17: | ||
{| | {| | ||
|- | |- | ||
|valign= | |valign="top"| | ||
'''''Install Uniform server''''' | '''''Install Uniform server''''' | ||
Line 28: | Line 27: | ||
'''''Download Xoops''''' | '''''Download Xoops''''' | ||
<ol start="6"> | |||
<li> '''B)''' Create a new folder '''xoops_temp''' (Can be any name its only a tempory folder)</li> | |||
<li> Download the latest version (xoops-2.3.1.zip) of Xoops from [http://www.xoops.org/modules/core/ www.xoops.org]</li> | |||
<li> Copy the file dowloaded ('''xoops-2.3.1.zip''') to '''xoops_temp'''</li> | |||
<li> Unzip xoops-2.3.1.zip into this folder.</li> | |||
</ol> | |||
'''''Copy files to UniformServer''''' | '''''Copy files to UniformServer''''' | ||
<ol start="10"> | |||
<li> '''C)''' Expand the folder '''xoops-2.3.1'''</li> | |||
<li> '''D)''' Copy folder '''htdocs''' to Uniform's root folder '''www'''</li> | |||
<li> '''E)''' Rename the copied folder '''htdocs''' to '''xoops''' (can be any name)</li> | |||
<li> '''E1)''' Expand this folder ('''xoops''')</li> | |||
<li> '''F)''' '''Move''' (do not copy) the two folders:<br>'''xoops_data''' and '''xoops_lib''' to Uniforms's '''home''' folder </li> | |||
<li> While in folder xoops remove the read only attribute for the following folders:<br>(right click properties uncheck read only box click apply)</li> | |||
</ol> | |||
:*G1) '''uploads/''' | :*G1) '''uploads/''' | ||
Line 49: | Line 48: | ||
Still in folder xoops locate file '''mainfile.php''' and '''mainfile.dist.php''' check they are writeable if not remove read only atribute. | Still in folder xoops locate file '''mainfile.php''' and '''mainfile.dist.php''' check they are writeable if not remove read only atribute. | ||
<ol start="16"> | |||
<li> '''H)''' Expand folder "'''home'''" remove the read-only attribute<br>for the following folder and all its sub-folders: | |||
</ol> | |||
:* xoops_data/ | :* xoops_data/ | ||
:*xoops_data/configs/ | :*xoops_data/configs/ | ||
Line 66: | Line 65: | ||
# If not already running start Uniform Server. Xoops installation is mostly a click through exercise. | # If not already running start Uniform Server. Xoops installation is mostly a click through exercise. | ||
# Type the following into a browser: ''' | # Type the following into a browser: '''<nowiki>http://localhost/xoops/</nowiki>''' | ||
# Choose your language: Click '''Next''' | # Choose your language: Click '''Next''' | ||
# Welcome to the XOOPS installation assistant: Click '''Next''' | # Welcome to the XOOPS installation assistant: Click '''Next''' | ||
Line 72: | Line 71: | ||
# Paths settings: This will fail on '''xoops_data''' and '''xoops_lib''' these were moved for security. | # Paths settings: This will fail on '''xoops_data''' and '''xoops_lib''' these were moved for security. | ||
::* Change the path from: '''W:/www/xoops/xoops_data''' to '''W:\home\xoops_data''' | ::* Change the path from: '''W:/www/xoops/xoops_data''' to '''W:\home\xoops_data'''<br>(Note when you click in the next text box the above path will be found) | ||
::* Change path from: '''W:/www/xoops/xoops_lib''' to '''W:\home\xoops_lib''' | ::* Change path from: '''W:/www/xoops/xoops_lib''' to '''W:\home\xoops_lib'''<br>(Click in one of the other text boxes the path will be found) | ||
::*Click '''Nex'''t | ::*Click '''Nex'''t | ||
<ol start="7"> | |||
<li> Database connection: Enter root for user name and root for password click '''Next'''</li> | |||
<li> Database configuration: For database name enter xoops click '''Next'''</li> | |||
<li> Saving your system configuration: Click Next</li> | |||
<li> Database tables creation: Click '''Next'''</li> | |||
<li> Please enter your initial settings:<br>Admin login: '''admin'''<br>Admin e-mail: '''fred@someone.com''' -- use a real e-mail address<br>Admin password: '''admin''' -- use a real password<br>Click '''Next'''</li> | |||
<li> Saving your settings to the database: Click '''Next'''</li> | |||
<li> Welcome to your XOOPS site:<br>"You can now access the home page of your site." -- '''don't click the link'''.<br>'''Click Next'''</li> | |||
<li> Login as admin</li> | |||
</ol> | |||
'''''Note'': ''These warnings'':''' | '''''Note'': ''These warnings'':''' | ||
<pre> | |||
WARNING: Directory W:/www/xoops/install/ exists on your server. | WARNING: Directory W:/www/xoops/install/ exists on your server. | ||
Please remove this directory for security reasons. | Please remove this directory for security reasons. | ||
</pre> | |||
<pre> | |||
WARNING: File W:/www/xoops/mainfile.php is writeable by the server. | WARNING: File W:/www/xoops/mainfile.php is writeable by the server. | ||
Please change the permission of this file for security reasons. | Please change the permission of this file for security reasons. | ||
in Unix (444), in Win32 (read-only) | in Unix (444), in Win32 (read-only) | ||
</pre> | |||
Make above changes and refresh the page warning no longer displayed. | Make above changes and refresh the page warning no longer displayed. | ||
Line 102: | Line 101: | ||
'''''Note'':''' | '''''Note'':''' | ||
You can access your site by typing the following into a browser: ''' | You can access your site by typing the following into a browser: '''<nowiki>http://localhost/xoops/index.php</nowiki>''' | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 113: | Line 112: | ||
Replace every occurrence of drive letter “W” with the variable $_ENV['Disk'] as show in the lines outdented. | Replace every occurrence of drive letter “W” with the variable $_ENV['Disk'] as show in the lines outdented. | ||
<pre> | |||
// XOOPS Physical Paths | // XOOPS Physical Paths | ||
Line 128: | Line 127: | ||
define( 'XOOPS_VAR_PATH', $_ENV['Disk'].':/home/xoops_data' ); | define( 'XOOPS_VAR_PATH', $_ENV['Disk'].':/home/xoops_data' ); | ||
// Alias of XOOPS_PATH, for compatibility, temporary solution | // Alias of XOOPS_PATH, for compatibility, temporary solution | ||
define( | define("XOOPS_TRUST_PATH", XOOPS_PATH); | ||
</pre> | |||
'''''Note'':''' After saving the file set it’s file attribute back to '''read only'''. | '''''Note'':''' After saving the file set it’s file attribute back to '''read only'''. |