Ich hab ja schon angedroht das ich ggf. ein neues Template für dieses Blog erstellen werde und da es extremst saugt auf localhost zu arbeiten und auf $remote_server zu testen, hab ich das auch
blitzkrieg ausgelagert; dort läuft nämlich seit einiger Zeit ein frisch installiertes Debian 5.0 das sich zu Tode langweilt. Also dann.. auf in den Kampf!
Zuerst mal gucken welche Version von
S9Y aka Serendipity vorhanden ist.
$ aptitude show serendipity
ackage: serendipity
State: not installed
Version: 1.3.1-1
Priority: optional
Section: web
Maintainer: Thijs Kinkhorst <thijs@debian.org>
Uncompressed Size: 18.3M
Depends: apache2 | httpd, libapache2-mod-php5 | libapache-mod-php5 | php5 | php5-cgi | libapache2-mod-php4 |
libapache-mod-php4 | php4-cgi | php4, php5-mysql | php4-mysql | php5-pgsql | php4-pgsql | php5-sqlite |
php4-sqlite | php5-sqlite3 | php-sqlite3, dbconfig-common, mysql-client | postgresql-client | sqlite |
sqlite3, php-pear, smarty, php-cache-lite, php-http-request, php-net-socket, php-net-url, php-net-checkip,
debconf (>= 0.5) | debconf-2.0
Recommends: imagemagick | php4-gd | php5-gd, ttf-dejavu-core
Description: Weblog manager with extensive theming and plugin support
Serendipity (s9y) is a weblog application which gives the user an easy way to maintain an online diary,
weblog or a complete homepage.
It has extensive plugin and theming, support for multiple authors, threaded comments, multiple
categories and spam blocking. It's written in PHP and supports the SQLite, PostgreSQL, MySQL
and MySQLi databases.
Homepage: http://www.s9y.org/
Gut. 1.3.1 ist zwar vom
22. April 2008 aber egal. Die neue Version is ja gleich runtergeladen.
Also
aptitude install serendipity
und folgendes
Reading task descriptions... Done
The following NEW packages will be installed:
apache2{a} apache2-mpm-prefork{a} apache2-utils{a} apache2.2-common{a}
dbconfig-common{a} libapache2-mod-php5{a} php-cache-lite{a}
php-http-request{a} php-net-checkip{a} php-net-socket{a} php-net-url{a}
php-pear{a} php5-cli{a} php5-common{a} php5-mysql{a} serendipity
smarty{a}
0 packages upgraded, 17 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/11.9MB of archives. After unpacking 40.6MB will be used.
Do you want to continue? [Y/n/?]
mit
Y bestätigen und nachdem alles heruntergeladen und entpackt wurde, ploppt mir folgender Hinweis ins Gesicht:
serendipity must have a database installed and configured before it can be used. If you like, this can be
handled with dbconfig-common.
If you are an advanced database administrator and know that you want to perform this configuration manually,
or if your database has already been installed and configured, you should refuse this option.
Details on what needs to be done should most likely be provided in /usr/share/doc/serendipity.
Otherwise, you should probably choose this option.
Configure database for serendipity with dbconfig-common?
gefolgt von
Yes/No-Abfrage; nach einem "Jaaa.." wähl ich MySQL als Datenbank aus, geb das Passwort ein, bestätige es um dann folgendes zu lesen:
To properly configure the database for serendipity, it is necessary that you also have mysql-client
installed. Unfortunately, this can not be done automatically.
If in doubt, you should choose "abort", and install mysql-client before continuing with the configuration
of this package. If you choose "retry", you will be allowed to choose different answers (in case you
chose the wrong database type by mistake). If you choose "ignore", then installation will continue as
normal.
abort/retry/ignore?! Wär nett gewesen wenn ich das vorher gewusst hätte oder ein dementsprechender Hinweis angezeigt werden würde. Mir hätte es ja schon gereicht wenn es unter
Recommends: gestanden hätte, aber na gut. Also "ignore" und die restliche Konfiguration durchlaufen.
dbconfig-common: writing config to /etc/dbconfig-common/serendipity.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!
Please inform the package maintainer about this problem.
Ja! Nerv nicht! Kurz danach lese ich dann folgende Meldung auf meiner Konsole:
Serendipity for Debian
======================
Getting started
---------------
You need to configure your webserver for use with Serendipity. A default
configuration for Apache is included in /etc/serendipity/apache.conf; you
can drop or symlink it into the /etc/apache*/conf.d directory and reload
the webserver.
You can then access your Serendipity install at
http://localhost/serendipity ; to log into the admin section, use
the username 'admin' and password 'admin' (and of course change
that right away).
Mein erster Gedanke war "Wie jetzt? Ich kann S9Y konfigurieren obwohl es nich installiert ist?". Also noch schnell /etc/serendipity/apache.conf nach /etc/apache2/conf.d/ verlinkt, Apache neu gestartet und localhost aufgerufen. Apache läuft, aber ./serendipity is nich da!?
Wayne.. dann halt doch
mysql-client installieren; hat nur nix gebracht, weil ich
mysql-server benötige. Das hab ich dann auch gemacht und mit
dpkg-reconfigure serendipity
, aber localhost zeigt immer noch kein ./serendipity an. Ist in meinem Fall auch egal, weil ich eh 1.4.1 herunterlade. Also ab nach /home/www/, serendipity-1.4.1.tar.gz heruntergeladen, entpackt, mit "admin/admin" eingeloggt, http://localhost/serendipity und.. J-E-H-O-V-A!!!111! Kaum popelt man ~1h lang rum, schon funktioniert es!
Mental note to self:
Zuerst mysql-server,
dann den Rest herunterladen. Wieso allerdings die von Debian installierte Version von S9Y nicht im ServerRoot von Apache auftaucht, bleibt mir ein Rätsel.. wobei.. ich will gar nicht alles wissen.
Last ten comments: