views
Local Server
Install web server software, if you haven't already.
Download MediaWiki to your local computer.
Uncompress the files into the root directory of your website (not in a subdirectory).
Rename the unzipped directory to the name you want to appear in the URL (for example, name it "wiki" if you want the URL http://example.com/wiki/).
CHMOD the permission settings for the "config" subdirectory to 770, so that it is writable by the web server (Linux only).
Go to the the directory in your web browser (e.g. http://localhost/wiki/).
Click the link to begin configuring.
Fill out the form, following the instructions. Enter a name for the database, database user and password.Install MediaWiki Step 8.5 Version 4.png Select "use superuser account" if the database and database user do not already exist (no need to change superuser name or password).Install MediaWiki Step 8Bullet2 Version 2.jpg
Complete the installation.
Move the LocalSettings.php from the config directory to the wiki's root directory (e.g. wiki).
Hosted Server
If you know the root password for your MySQL server, the MediaWiki setup script can automatically create a database and an account to access it. Skip to the "Run the installation script" section below.
If you don't know the root password for your MySQL server, you need to create a MySQL database and a user before installing MediaWiki. You can do this using various control panels such as PhpMyAdmin. See the corresponding documentation. Most web hosting services provide a MySQL database along with your hosting account. If that is the case, use the MySQL credentials provided by your host along with the database name, and then specify something like mw_ as table prefix. This will allow MediaWiki to tell what tables belong to it. Alternatively, ask your hosting service to create an account for, then proceed as above.
Comments
0 comment