Required things for TAKserver:
*java
*openfire xmpp server
*mysql database
install java;
For installing OpenFire on Debian Squeeze with the .deb from ignite we need to install Java on the machine. The deb package only accepts the Sun JRE, which is debian non free.
So, add non-free to your /etc/apt/sources.list, should look like this:
deb http://ftp.be.debian.org/debian/ squeeze main non-free deb-src http://ftp.be.debian.org/debian/ squeeze main non-free
For Debian Lenny add this:
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://packages.prosody.im/debian lenny main
update your sources and install the Sun java:
#aptitude update #aptitude install sun-java6-bin
now you can install the .deb like so:
#dpkg -i //packagename//.deb
install mysql, make database, add user, grant privileges to user (untested from the top of my head)
#aptitude install mysql-server #mysql -u root -p mysql> create database openfire; mysql> create user 'openfire'@'localhost' identified by 'password'; mysql> GRANT ALL ON openfire TO 'openfire'@'localhost';
Make sure the mysql user has the privileges to create tables and other stuff - otherwise it doesn't work (of course).
ā> install openfire with mysql database; the first time you install openfire, the login doesn't work, so you have to change the user and login in the mysql database; update ufUser table;
(this is not valid for Debian Lenny! It works out of the box)
ā> update ofUser set plainPassword = 'admin', encryptedPassword = NULL;
then restart openfire server with /etc/init.dā¦) and then go to login screen and login with admin/admin; change passwd after that;
note: fixed in Openfire 3.7.0