Vor der Installation sollte geprüft werden, ob die
Systemvoraussetzungen erfüllt sind. Unter »Woody« ist das kein Problem,
apache, php4, mysql-server und
mysql-client existieren als DEB- Pakete.
Für
Debian GNU/Linux 3.0 steht allerdins leider kein DEB- Package von
TikiWiki zur Verfügung, Tiki ist auch nicht »apt-gettable«. Daher
treffen die generischen Installationshinweise zu:
Tiki Installation - Linux + Apache,
tikiwiki.org/tiki-index.php?page=InstallTikiDoc.
Konkretere Hinweise zur Installation unter Debian GNU/Linux finden
sich unter:
QuickInstall von Bayle Shanks,
alt.thetinfoilhat.com/tiki-index.php?page=QuickInstall.
Wir brauchen also den Tarball oder das ZIP-Archiv von TikiWIki 1.7.3
(»Eta Carinae«):
wget
http://umn.dl.sourceforge.net/sourceforge/tikiwiki/tikiwiki-1.7.3.zip
Das Archiv können wir komfortabel entpacken mit
unzip tikiwiki-1.7.3.zip
Die entpackten Dateien kommen nach /var/www.
Nun können wir noch einige Zugriffsrechte ändern:
chmod -R a+rwx tiki/
Hilfestellungen gibt dabei auch das mitgelieferte Skript setup.sh;
dies setzt allerdings voraus, dass man auf dem Server Root-
Berechtigungen hat.
Nun können wir schon die TikiWiki- Site aufrufen:
links http://localhost/tiki/
Apache antwortet vermutlich mit einer Fehlermeldung wie
beispielsweise:
Unable to login to the MySQL database 'tiki' on 'localhost'
as user 'root'
Go here to begin the installation process, if you haven't done so
already.
DB Error: connect failed
Nun können wir also den Tiki installer v1.7.3 -Eta Carinae-
aufrufen mit:
links http://localhost/tiki/tiki-install.php
Als erstes wird die Datenbankverbindung abgefragt; dazu benötigen wir
einen Benutzernamen und Passwort für MySQL sowie den Namen Datenbank, in
der Tiki arbeiten soll.
Die neue Datenbank kann man komfortabl im MySQL Monitor
einrichten; alternativ können natürlich auch Tools wie MysqlAdmin,
PhpMysqlAdmin oder Webmin genutz
werden.
deb:/var/www/tiki# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 3.23.49-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
MySQL> create database tiki;
Query OK, 1 row affected (0.18 sec)
MySQL> grant all privileges on tiki.* to tiki@localhost;
Query OK, 0 rows affected (0.14 sec)
MySQL> exit
Diese Kommandos legen eine neue Datenbank tiki an und
richten den MySQL- Benutzer tiki ein, der Zugriff hat auf
die Datenbank tiki. Diese Zugriffsrechte des Benutzers
tiki können nun noch modifiziert werden; recht komfortabel
geht das beispielsweise mit dem MySQL- Modul von
Webmin.
Bayle Shanks weist in diesem Zusammenhang noch auf einige
Besonderheiten von MySQL hin:
MySQL is strange compared to other database in that while
it has users, it does not have a "create user" command. Users are
implicitly created when you grant priviledges to them. So for
example if I wanted to create a user "rharris" with the password
"foo" for my "mydatabase" database, I would do the following:
First, connect to "mydatabase" as root: MySQL -uroot -proot
mydatabase.
I would then execute a "grant" to create the "rharris"user.
In this case I will give myself all rights to all tables in the
database: grant all on * to rharris identified by 'foo';
I can now connect to the database as MySQL -urharris -pfoo
mydatabase.
An diesem Punkt erhalte ich einen "Internal Server Error".
Put your username and MySQL password and "tiki" for the database name
(leave the machine name as localhost). hit "submit". WARNING: IF YOU
LEAVE USERNAME AND DATABASE BLANK AND HIT SUBMIT, YOU MAY GET STUCK
LATER ON WITH NO WAY TO GET BACK HERE. You could always edit the
config files by hand in such a case, but it's quicker to just delete
the tiki directory and unzip it again.
if your username or password or database name doesn't work, you'll
be returned to the same screen with a message about not finding a DB
connection.
otherwise, you'll get to a new screen which asks you if you'd like
to create a new database, or upgrade an old one. you want to create a
new one.
now you'll get to a screen that tells you the database is created,
that your initial password is "admin", and asks if you'd like to
remove the uninstall script for security. I guess you do. There's a
lot of garbage below.
Now you are landed on an empty page in Tiki. Login as admin. You'll
be prompted to change your password.
The initial setup is now done. You have an empty Tiki.
It doesn't seem like you can do much, although at least the wiki is
turned on
by default. That's because by default most
of the features are turned off. Go to the admin menu by clicking on
"Admin (click!)", and then go to "features". Here you can turn on
features (for example, "forums"). After you turn on a feature,
you'll get a new menu on the lefthand nav bar for that feature. If
you expand the nav bar menu, there will be an "Admin "
option. This lets you add forums, etc.
-- BayleShanks
Weiter: Konfiguration von
TikiWiki.