- daUrl : http://web.quakelive.fr/CGraphz
- Login/Pass : admin/pass
- Database is reseted once per hour
aptitude install mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql
cd /var/www/
Or
git clone http://github.com/Poil/CGraphz.git
=======
- MySQL :
- Set the default to UTF-8 in my.cnf
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld]
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
- Source the schema
mysql -u root -p -e "source /var/www/CGraphz/sql/initial_cgraphz_2.10.sql; source /var/www/CGraphz/sql/upgrade_from_2.10_to_2_20.sql;"
- Submenu in english :
mysql -u root -p -e "source /var/www/CGraphz/sql/cgraphz_en.sql;"
- Configuration
- Edit /var/www/CGraphz/config/config.php.tpl
- Move /var/www/CGraphz/config/config.php.tpl to /var/www/CGraphz/config/config.php
- Edit /var/www/CGraphz/config/databases.ini.php.tpl
- Move /var/www/CGraphz/config/databases.ini.php.tpl to /var/www/CGraphz/config/databases.ini.php
mv /var/www/CGraphz/config/config.php.tpl /var/www/CGraphz/config/config.php
mv /var/www/CGraphz/config/databases.ini.php.tpl /var/www/CGraphz/config/databases.ini.php
- Better file permissions to root / apache
chown -R root.www-data /var/www/CGraphz/
find /var/www/CGraphz/ -type d -print0 | xargs -0 -r chmod 2750
find /var/www/CGraphz/ -type f -print0 | xargs -0 -r chmod 640
- Create LOGS dir must be apache writable :
mkdir -p /var/www/CGraphz/logs
chmod 2770 /var/www/CGraphz/logs
- Open your webbrowser and goto http://localhost/CGraphz
- Login : admin
- Password : pass
- Goto Administration / Serveurs
- Add servers, you can enter a description
- Goto Administration / Projets
- Click on the project "test"
- Put some servers in this project
- Add the admin group to the permissions tab
- You can now go on dashboard and view your RRDs