Advertisment

A Local Wiki

author-image
PCQ Bureau
New Update

A Wiki is a website that allows users to add content, but

also allows others to edit and add on to this at anytime. When you use PCQLinux

2006, you get the very same power in your hands. PCQLinux 2006 contains the same

software called MediaWiki, which drives this huge encyclopedia. During the

PCQLinux installation, on the package selection screen, make sure that you

select the Servers>Web Server and PCQLinux Specials>



Enterprise




>Details>mediawiki. Additionally, click on  “Details” besides Web

Server and select the package named php-mysql. Besides these RPMs, you will also

need to install MySQL database server. Refer to the article “Organize, Manage

and Publish Web content with Joomla” on page xxx to install and setup MySQL.

Advertisment

Next, go to http:///wiki.

The first time you go here, you will be shown a link taking you to the

configuration page. Once you see the configuration page, there are a few things

you need to do. The following items must be entered to get the Wiki to function

correctly.

Site Name: This is the name of the site (Wiki) that

you wish to install and show.

Sysop Account Name: The username for the system

administrator. We recommend you change the default one given here.

Advertisment

Sysop Passwords: Make sure you remember these are

very important.

MySQL Server: This is the server name/IP address of

your MySQL server. It's to be correctly entered, otherwise, you will get some

very strange looking errors later on.

Database Name: The name of the new database that

this config file creates that stores all the data in the Wiki.

Advertisment

DB Username: The name of the MySQL user that can

connect to this database. If the user does not exist, it will be created for you

with the correct permissions. This should be different from the Sysop username.

DB Password: This is the new or existing password

for the DB user.

Table Prefix: In case, you are using an existing database

to store the Wiki data, you might want to enter a table prefix (say, 'wk_').

This prepends the table names with this so that it is easier for you to manage.

Advertisment

DB Root Password: The password for the MySQL root user.

Type Wiki Code Output
Headers == Header 1 == Header 1 
  == Header 2 == Header 2
  == Header 3 == Header 3
Paragraphs This is simpletext in lines This is simpletext in lines
  Put multiple enters to create a new para Put multiple enters to create a new para
Bullets * List Item1 l List Item1·
  * List Item2 l List Item2o
  **List

Item3
l List Item3
  *** List Item4 l List Item4·
  * List

Item5
l List Item5
Internal Links <> This is a new page in the Wiki called New_Stuff
External <http://pcquest.com

PCQuest>
This creates a new text link as PCQuest linked to the

Once you submit this form, the install script will perform

a set of operations and create a file named LocalSettings.php in the config

directory. Now go back to the Linux console and into the /var/www/html/wiki/config

directory. Move the LocalSettings.php file to its parent, and remove the config

directory by issuing the command:

Advertisment

#mv LocalSettings.php ..







#cd ..







#rm -rf config


To view your newly created Wiki, browse over to http:// -2006-server>/wiki. You will see a welcome page that contains different links

to help you customize the page as well as the examples of different sections on

the page. Working with the new Wiki is simple enough. Users can create content

(that of course can be vetted by other users and the administrator) to their

heart's content. The Wiki provides a simple editing screen that allows users to

create and/or edit content pages for the topic as and when they choose. The Wiki

grows with the submissions and content that is provided.

The administrator can quite simply set up preferences

including the way the Wiki is formatted, the search parameters and the behaviors

of various actions (such as double clicking on a header). Editing content in a

Wiki is extremely simple-even for people with no HTML knowledge. Below are a few

examples of creating content.

There are many others you can use to create content and

almost everything can be done by simply typing into the edit page. The different

sections can be easily linked and manipulated to create the content according to

the topic of your Wiki.

Advertisment