User:Chrismo/wikindx

From Wikiversity

Jump to: navigation, search

[edit] Installing Wikindx3

This isnt my typical documentation, Im trying to understand how to do this same thing for a Mac Os Tiger user.

Download the file wikindx3_5.tar.gz http://downloads.sourceforge.net/wikindx/wikindx3_5.tar.gz?modtime=1167905444&big_mirror=0

Here's the install guide http://wikindx.sourceforge.net/install.html

I am user chris running Edubuntu. I already have Apache, Mysql, Php installed.

First I copy the wikindx3_5 to public_html

   cp wikindx3_5.tar.gz ~/public_html

Then unpack the tar (-p flag to preserve permissions for writeable directories etc. 88.105.193.118 19:20, 21 October 2007 (UTC) Mark Grimshaw)

   tar -zxvpf wikindx3_5.tar.gz

Create the database

   mysqladmin create wikindx3 -u chris -p

Now using your favourite editor, edit the config.php file in the wikindx3 folder

The things I changed were

   $WIKINDX_DB_USER = "chris";
   $WIKINDX_DB_PASSWORD = "password";

Open browser

   firefox http://localhost/~chris/wikindx3/

And set the permissions for folders as in the install guide.

[edit] AMP on Mac

Setting up Apache, PHP, MySQL is really the hard part so here's a link

  1. http://www.macmerc.com/articles/Freeloader_Friday_Download_of_the_Week/384

[edit] Notes

Adding a MySQL user

mysql -u root -p
mysql> create user chris
mysql> GRANT ALL PRIVILEGES ON *.* TO 'chris'@'localhost'
    -> IDENTIFIED BY 'password' WITH GRANT OPTION;
Query OK, 0 rows affected (0.11 sec)