Wednesday, January 4, 2012

Install bandwidth monitor linux

It is important to know traffic usage of your client if you’re a Linux network administrator.

You can monitor your client in text mode, graphic mode or html exported like mrtg, cacti but bandwidthd is very good bandwidth monitoring tool…………..



You don’t need any database or snmp connection to monitor all of your client on bandwidthd,
all you need just libcap, libpng, libgd and apache installed on your Linux system. And other
good news is bandwidthd monitor all of your connected client per IP and per connection protocol.

 Link to the download area on SourceForge: Download BandwidthD

[root@planetmy]# tar xvfz bandwidthd-2.0.1.tgz

[root@planetmy]# cd bandwidthd

Configure and install the Bandwidthd source:

[root@planetmy]# ./configure && make install

Please make sure you have:
 libpcap from http://www.tcpdump.org/
 libpng from http://www.libpng.org/
 libgd from http://www.boutell.com/gd/

Or

# yum install libbap Or # apt-get install libcap

# yum install libpng Or # apt-get install libpng

# yum install apache Or # apt-get install apache2

Edit /usr/local/bandwidthd/etc/bandwidthd.conf

to suit your network environment. …..

Save your config and start bandwidthd using /usr/local/bandwidthd/bandwidthd.

Point your Apache Virtual Host to
 /usr/local/bandwidthd/htdocs for browse
 the bandwidthd graph

Alias /bandwidthd “/usr/local/bandwidthd/htdocs”
 <Directory “/usr/local/bandwidthd/htdocs”>
 Order Allow,Deny
 Allow from All
 </Directory>



Save your work and restart apache. Next open your browser and point to http://yourserverip/bandwidth.

Thanks,
Vishal Vyas

Tuesday, January 3, 2012

How to reset the MySQL root password

How to reset the mysql root password on Linux.

Stop the mysql server:-
/etc/init.d/mysql stop
 

Start the mysql server manually without permission tables which allows us to login as root user without password:
 mysqld_safe --skip-grant-tables &

Login into mysql as root user without a password and switch to the “mysql” database:
mysql -u root mysql
Then execute this SQL query to set a new password for the mysql root user:
update user set Password=PASSWORD('mynewpassword') WHERE User='root';
(Replace “mynewpassword” with the new root password in the above command).

Then logout from the mysql prompt by typing:
exit

Start the mysql server again:-
/etc/init.d/mysql start

Monday, January 2, 2012

Ultimate Windows Genuine Advantage (WGA) Remover

Here is the ultimate Windows Genuine Advantage (WGA) remover for those who are getting annoyed by the Windows Genuine Advantage popping up every few second.

You did install the latest updates recommended by Windows, now you get a message saying: this copy of Windows is not genuine, you may be victim of software counterfeiting.
To disable Ultimate Windows Genuine Advantage (WGA) once for all, simply download and install WGA remover.

zip Ultimate Windows Genuine Advantage (WGA) Remover  WGA Remover (1.0 MiB, 464,059 downloads) Updated in October, 2011 – this version of WGA Remover is recommended for Windows7 users.

zip Ultimate Windows Genuine Advantage (WGA) Remover  WGA Remover 2011 for Windows 7 (1.6 MiB, 952,302 downloads).

Once patch is installed, reboot the Windows.

Do you still have problems?

It's recommended to run the best fix tool to repair and speed your PC!

download Registry Easy (4.7 MiB, 7,795 downloads)

Thanks,
Vishal Vyas

Install Darkstat - a network traffic analyzer

Darkstat is a opensource network monitoring tool, It is a packet sniffer which runs as a background process and serves its statistics to a ...