Difference between revisions of "User:Djgreen/MediaWiki: Engr Installation"
Jump to navigation
Jump to search
m |
m |
||
Line 6: | Line 6: | ||
#Use '''tables.sql''' in the maintenance folder to create the initial database table structures. | #Use '''tables.sql''' in the maintenance folder to create the initial database table structures. | ||
#*Be sure to remove all references to /*$wgDBprefix*/ within the file before trying to run it. | #*Be sure to remove all references to /*$wgDBprefix*/ within the file before trying to run it. | ||
− | #Create your LocalSettings.php file | + | #Create your '''AdminSettings.php''' from AdminSettings.sample |
+ | #Create your '''LocalSettings.php''' file | ||
<pre> | <pre> | ||
</pre> | </pre> |
Revision as of 09:53, 28 June 2006
Installing 1.6.7
- Unpack the files into the intended directory.
- Create a database called mediawiki_<nameofsite>, and a corresponding useraccount
- User account needs create, select, insert, update, delete, lock tables on the DB.
- Autoinstaller isn't going to work, so don't even bother.
- Use tables.sql in the maintenance folder to create the initial database table structures.
- Be sure to remove all references to /*$wgDBprefix*/ within the file before trying to run it.
- Create your AdminSettings.php from AdminSettings.sample
- Create your LocalSettings.php file
- Fill the tables -- run ./update.php from the maintenance folder. You'll need to use a cmdline PHP to do so (so basedir doesn't come into affect), so I suggest running from CHRONOS.
sudo /root/env_wrapper /opt/php5/bin/php -q ./update.php
Upgrading from 1.5.6 to 1.6.7
- BACKUP both the DB and the folder.