$ cd /var/www
$ 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
$ 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

Comments powered by CComment