Xxv
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→Installation) |
|||
| Zeile 1: | Zeile 1: | ||
==Beschreibung== | ==Beschreibung== | ||
| − | Eine | + | Eine detaillierte Beschreibung finden Sie hier: http://vdrportal.de/board/thread.php?threadid=22819 |
{| | {| | ||
Version vom 13. Januar 2005, 17:45 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
- telnet-server <<<<<<<< Seit ihr euch da sicher?!!!!!!!!!!!!>>>>>>>>>>>>>
- 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":
Befehl??? (perl -MCPAN -e 'install DBI' 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
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
Links
| [1] | http://www.mysql.org | mySQL |
| [2] | http://xpix.dieserver.de/content | Homepage |