How to Create Bandwidth Usage Script on Linux

Using a tool called iftop we can monitor bandwidth usage via command line on Linux. But here we will create our own shell script to monitor bandwidth usage. The idea is to read rx_bytes and tx_bytes files inside /sys/class/net/[interface]/statistics/ folder. Create netspeed script in /usr/local/bin/ and copy and paste below script. Script content: Exit nano…

Read More

Install Subversion on Debian

First of all, install these packages: apache2, php5, subversion. # apt-get install apache2 # apt-get install libapache2-mod-php5 # apt-get install subversion # apt-get install libapache2-svn Create repository folder. # mkdir /subversion # svnadmin create –fs-type fsfs /subversion/kendal Make sure subversion is activated in apache. # a2enmod dav # a2enmod dav_svn Create user account for subversion….

Read More