


Websites and SEO
sudo apt-get install vnstatIt will usually add the databases and network ports automatically like so: https://www.sotechdesign.com.au/sniffles-dating-site/ If it doesn’t and gives you an error you can create the database(s) with:
sudo vnstat -u -i eth0If you have multiple network cards/ports you can add those in, too:
vnstat -u -i eth1 vnstat -u -i eth2 …etcIf it couldn’t create the databases you can start it with:
sudo /etc/init.d/vnstat startIf you need to change the maximum bandwidth from 100Mb you can edit the file:
/etc/vnstat.confScroll down until you see the following:
# maximum bandwidth (Mbit) for all interfaces, 0 = disable feature # (unless interface specific limit is given) MaxBandwidth 100and make MaxBandwidth the figure you require (e.g. 1000). If you make a change restart vnstat with:
/etc/init.d/vnstat restartYou can now see how much traffic has come through the NIC since vnstat started recording – at first it probably won’t be much (if any), but as it adds up you can check it with:
vnstatThe output should look like: asian dating melbourne You can watch how much traffic is flowing through in real-time by running:
vnstat -i eth0 -lThis will give you a screen showing you the current traffic: https://www.sotechdesign.com.au/i-am-looking-for-serious-and-permanent-relationship/ You can end this with CTRL+C, which shows you a summary screen:
vnstat -i eth0 -h
vnstat -i eth0 -d
vnstat -i eth0 -m
dns-nameservers [ip.of.your.router]e.g., for a modem/router that’s 10.1.1.1 on your local network, your /etc/network/interfaces file might look like:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.1.1.50 netmask 255.255.255.0 gateway 10.1.1.1 broadcast 10.1.1.255 dns-nameservers 10.1.1.1Restart your network with:
sudo /etc/init.d/networking restart…then try pinging Google or something similar and you should have success 🙂 It’s generally not advisable for Australians to use nameservers located elsewhere, e.g. Google’s public DNS’ 8.8.8.8 or 8.8.4.4 – some things which are unmetered by your ISP may be metered if you do so.