$ cd /var/www
$ sudo wget http://samm.kiev.ua/sqstat/sqstat-1.20.tar.gz
$ sudo tar -xzvf sqstat-1.20.tar.gz$ sudo mv sqstat-1.20 sqstat
$ cd sqstat
$ sudo cp config.inc.php.defaults config.inc.php
$ echo DirectoryIndex sqstat.php > ./.htaccess
$ echo DirectoryIndex sqstat.php > ./.htaccess
$ sudo nano /etc/apache2/sites-enabled/000-default
.....................Options Indexes FollowSymLinks MultiViews
#AllowOverride None
AllowOverride all
Order allow,deny
allow from all
.....................
$ sudo /etc/init.d/apache2 restart
$ sudo /etc/init.d/apache2 restart