# for deb-based linux distributions

apt-get update

apt-get install libqt4-dev libgloox-dev openssl libssl-dev make cmake mysql-server mysql-client mercurial lynx nano screen gcc g++

cd /home/

hg clone  http://hg.inhex.net/gluxi-dev

cd gluxi-dev

mkdir debug

cd debug

cmake ..

make

cp /home/gluxi-dev/sql/mysql.sql /home/gluxi-dev/debug/mysql.sql

cp /home/gluxi-dev/sql/config.sql /home/gluxi-dev/debug/config.sql

cp /home/gluxi-dev/gluxi.cfg /home/gluxi-dev/debug/gluxi.cfg

mysql -u root

# in mysql cmd line: # # create database gluxi; # # grant all privileges on gluxi.* to gluxi@localhost identified by 'your_db_password' with grant option; # # exit

mysql -u root -D gluxi < mysql.sql

mysql -u root -D gluxi < config.sql

cd /home/gluxi-dev/sql/update/

nano dbupdate.sh

#edit database name, password, host, user

./dbupdate.sh mysql

cd /home/gluxi-dev/debug/

nano gluxi.cfg

chmod +x gluxi

su your_user

cd /home/gluxi-dev/debug && screen ./gluxi