Download and Install MediaWiki
From Wiki
Back to Main Page
Step by Step Instructions
- Download Mediawiki
- Upload zipped file to your server using FTP if you didn't install there initially
- Unzip file in terminal window
tar xvzf mediawiki-*.tar.gz
- Rename unzipped folder (this will be part of your URL)
- The config subdirectory permission settings must be changed so that it is writeable. In the terminal use the following command in your wiki directory:
chmod a+w config
- If you have a root password, MediaWiki will create a database for you. Just run the installation script by going to your domain on the web www.yourdomain.com/your_wiki_directory. Instructions to configure your wiki will be presented. (more on install http://www.mediawiki.org/wiki/Manual:Config_script). If you do not have a root password, you must create a database.
- After successful installation, move the LocalSettings.php file in /your_wiki_directoy/config to /your_wiki_directory.
- Your site is now up and running. It is recommended to configure security settings to protect your site from unwanted users and spam. Please see Secure Your Wiki for more details.
If further instruction is needed, see http://www.mediawiki.org/wiki/Manual:Installation_guide
Potential Errors: Even though an error may occur during an installation, the wiki database may still have been created. In the case that an error with your database username or password occurs, you may not have an administrator account created for you. If it is the case that you are not the administrator/bureaucrat of your own site, either create a new username for yourself or use one if it already exists and then run the following mysql command to change your user settings:
INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( <id>, 'bureaucrat' ), ( <id>, 'sysop' );
Replace <id> with your user id under Special pages/Preferences. http://www.mediawiki.org/wiki/Manual:FAQ#Alter_the_database
When you go to upload files to your site, your $wgEnableUploads may be sent to false and your images directory may not initially be writeable. Just set "false" to "true" and then to make the directory writeable, in the terminal type:
chmod a+w [directory path]/images/
Back to Main Page
