Vnstat installing stuck at step 3

I am tryıng https://j0hn.uk/vnstati/vnstati_howto.php
That tutorial but ı stuck at mkdir /var/www section
Ssh give me a there is no such a directory
İ tried root and i give a again message what must i do???

Pls helpmme thanks…

/var/www == apache2

Look up how to install Apache2 on Debian

Actually your answer not help me i guess on osmc rpi var directory restricted pls help

The tutorial assumes the installation of apache2 and php5 first. Google LAMP Debian and click the first result, it is a useful resource

there is no www directory on osmc :slight_smile: i created and everything fine :smiley: sorry for useless question thanks anyway

There is no WWW directory because we don’t ship Apache2 by default