Xxv
Aus VDR Wiki
Version vom 3. Januar 2005, 17:51 Uhr von 213.6.81.12 (Diskussion)
Inhaltsverzeichnis |
Beschreibung
Softwareanforderungen
- mysql-server
- perl
- DBI
- DBD::mysql
- Event
- Test::Simple
- telnet-server
- mplayer (optional)
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???
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, mit (^bash> und ^mysql> sind eingaben):
bash> mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.21-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> USE mysql; Database changed mysql> create database xxv; Query OK, 1 row affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON *.* TO 'xpix'@'%' IDENTIFIED BY 'xpix' WITH GRANT OPTION; Query OK, 0 rows affected (0.00 sec)
Plugins
Probleme
Links
| [1] | http://www.mysql.org | mySQL |
| [2] | http://xpix.dieserver.de/content | Homepage |