Blog Archive

Wednesday, July 27, 2011

set time zone ubuntu

To reconfigure time zone using terminal,use this command
sudo dpkg-reconfigure tzdata

Monitoring Server Traffic

Installing bandwidthd for Network Monitoring in Debian Server
  1.     apt-get install bandwidthd
  2.      follow prompts, main config file is /etc/bandwidthd/bandwidthd.con You can  copy the conf file from /usr/share/doc/bandwidthd/bandwidthd.conf to /etc/bandwidthd/bandwidthd.conf
  3.     apt-get install apache2
  4.     cd to /var/www and create a soft link to the htdocs directory that bandwidthd uses (see /etc/bandwidthd/bandwidthd.conf)
  5.     ln -s /var/lib/bandwidthd/htdocs bandwidthd
  6.     where bandwidthd in the name of the link
  7.     restart apache /etc/init.d/apache2 restart (and bandwidthd if needed /etc/init.d/bandwidthd restart)
  8.     access bandwidthd
  9.     http://<localhost or IP>/bandwidthd
References
http://www.debianadmin.com/network-traffic-analyzer-for-your-ubuntu-system.html
http://infodotnet.blogspot.com/2008/02/install-and-configure-bandwidthd-per-ip.html

Tuesday, July 26, 2011

fix mp3 showing incorrect length

If  MP3 shows incorrect length or  are encoded with variable bitrate (VBR), you can try VBRFix: It is found in ubuntu repository
Code:
sudo apt-get install vbrfix

vbrfix in.mp3 out.mp3

Followers