Difference between revisions of "Start a Wiki"

Kipkis (Kipkis | contribs)
 
Kipkis (Kipkis | contribs)
m (Text replacement - "<br><br>" to "")
Line 36: Line 36:
 
#*Place the extracted wiki software folder into the "web" directory on your server.
 
#*Place the extracted wiki software folder into the "web" directory on your server.
 
#*Rename the uploaded folder to what you want the URL to look like. For example, if your website is www.example.com, renaming the folder to "w" will make your wiki homepage www.example.com/w/index.php.
 
#*Rename the uploaded folder to what you want the URL to look like. For example, if your website is www.example.com, renaming the folder to "w" will make your wiki homepage www.example.com/w/index.php.
#Create a database. MediaWiki supports [[Create-a-Database-in-MySQL|MySQL]] and SQLite. If you are using SQLite, you only need to choose a name for the database and it will be installed automatically. If you are running MySQL, you will need to download it for your server if it is not already installed, and then create a new database using the following commands:<br><br>{{kbd|create database wikidb;}}<br><br>{{kbd|grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to '{{var|username}}'@'{{var|localhost}}' identified by '{{var|password}}';}}
+
#Create a database. MediaWiki supports [[Create-a-Database-in-MySQL|MySQL]] and SQLite. If you are using SQLite, you only need to choose a name for the database and it will be installed automatically. If you are running MySQL, you will need to download it for your server if it is not already installed, and then create a new database using the following commands:{{kbd|create database wikidb;}}{{kbd|grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to '{{var|username}}'@'{{var|localhost}}' identified by '{{var|password}}';}}
 
#*Replace {{var|username}} and {{var|password}} with the username and password you want to use as the wiki's owner.
 
#*Replace {{var|username}} and {{var|password}} with the username and password you want to use as the wiki's owner.
 
#*{{var|localhost}} Can be left as "localhost" unless your database is located on a different server than the web server you're installing your wiki on. In that case, replace {{var|localhost}} with the address of the database's server.
 
#*{{var|localhost}} Can be left as "localhost" unless your database is located on a different server than the web server you're installing your wiki on. In that case, replace {{var|localhost}} with the address of the database's server.