Xxv
(→Installation) |
(→Probleme) |
||
| Zeile 122: | Zeile 122: | ||
* | * | ||
==Probleme== | ==Probleme== | ||
| + | * in dem Logile tauche manchmal Warnungen auf: | ||
| + | 6 (3185) [16:41:37 02/01/05] Can't locate Term/ReadLine/Gnu.pm in @INC (@INC contains: /root/XXV/bin/../lib /root/XXV/bin /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at (eval 27) line 1 | ||
| + | 7 (3185) [16:41:37 02/01/05] Can't locate Term/ReadLine/Gnu.pm in @INC (@INC contains: /root/XXV/bin/../lib /root/XXV/bin /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at (eval 27) line 1 | ||
| + | |||
| + | '''Diese können ignoriert werden.''' Perl versucht verschiedene Module aufzurufen um herauszufinden welches es benutzen darf. | ||
| + | |||
==Links== | ==Links== | ||
{| | {| | ||
Version vom 1. Februar 2005, 16:52 Uhr
Inhaltsverzeichnis |
Beschreibung
Eine detaillierte Beschreibung finden Sie hier: http://vdrportal.de/board/thread.php?threadid=22819
Softwareanforderungen
- mysql-server
- perl
- DBI
- DBD::mysql
- Event
- Test::Simple
- URI
- MIME::Base64
- Time::HiRes
- Attribute::Handlers
- mplayer (optional), installation siehe auch: mplayer-plugin
Installation
Als erstes ist Mysql zu installieren.
cd $SOURCEDIR
tar xvzf mysql-<VERSION>.tar.gz
./configure --prefix=/usr/local \
--libexecdir=/usr/local/bin \
--without-extra-tools \
--without-bench
make
make install
find . -name my-medium.cnf -exec cp --backup=t \{} /etc/my.cnf \;
cd /usr/local/lib
ln -s mysql/libmysqlclient.so* .
groupadd mysql
useradd -g mysql mysql
chown -R mysql var
mysql_install_db --user=mysql &
ldconfig
Starten des Servers mit.
mysqld_safe --user=mysql &
Nun folgt ein ganzer packen Perl::Module, da gibt es wie 2 Wege.
Mittels "CPAN":
perl -MCPAN -e 'install MODULE'
So in etwa:
perl -MCPAN -e 'install URI'
Oder via Source, auf dem TestPC als Basis Peanut waren es folgende Sachen.
- Test-Simple-<VERSION>.tar.gz
- DBI-<VERSION>.tar.gz
- DBD-mysql-<VERSION>.tar.gz
- Event-<VERSION>.tar.gz
- URI-<VERSION>.tar.gz
- MIME-Base64-<VERSION>.tar.gz
- Time-HiRes-<VERSION>.tar.gz
- Attribute-Handlers-<VERSION>.tar.gz
Die Installation ist fuer alle Pakete Identisch:
cd $SOURCEDIR tar xvzf <NAME>-<VERSION>.tar.gz cd <NAME>-<VERSION> perl Makefile.PL make make install cd -
Zu guter letzt xxv:
cd $SOURCEDIR tar xvzf <VERSION>.tar.gz
Konfiguration
Als erstes erfolgt das anlegen der Datenbank:
bash> mysql -u root -e "create database xxv;"
Rechte setzen:
bash> mysql -u root -e "grant all privileges on xxv.* to xpix@localhost;"
Die $SOURCEDIR/xxv-<VERSION>/xxvd.cfg ist anzupassen:
[General] DSN=DBI:mysql:database=xxv;host=localhost;port=3306 LANGUAGE=german LOGFILE=/var/log/xxvd.log PIDFILE=/var/run/xxvd.pid PWD= USR=xpix
Starten von xxv:
cd $SOURCEDIR/xxv-<VERSION> ./bin/xxvd.pl && tail -f /var/log/xxvd.log
Plugins
Probleme
- in dem Logile tauche manchmal Warnungen auf:
6 (3185) [16:41:37 02/01/05] Can't locate Term/ReadLine/Gnu.pm in @INC (@INC contains: /root/XXV/bin/../lib /root/XXV/bin /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at (eval 27) line 1 7 (3185) [16:41:37 02/01/05] Can't locate Term/ReadLine/Gnu.pm in @INC (@INC contains: /root/XXV/bin/../lib /root/XXV/bin /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at (eval 27) line 1
Diese können ignoriert werden. Perl versucht verschiedene Module aufzurufen um herauszufinden welches es benutzen darf.
Links
| [1] | http://www.mysql.org | mySQL |
| [2] | http://xpix.dieserver.de/content | Homepage |