Install CactiEZ on Windows 2008 Hyper-V

CactiEZ (Cacti Made Easy) is a self installing Linux Distribution based off CentOS that sets up and configures a customized Cacti install. Everything is designed to be completely automated and working directly out of the box. This compact distro is loaded with extra features such as Syslog and Netflow data collection, Weathermaps, Reports, Auto Discovery, […]

Recover Root Password In Ubuntu – HowTo

You can recover/reset/change your root password on Ubuntu if you have physical access to the machine following these simple steps. Reboot Ubuntu. At the GRUB menu press ‘e’ (with quotes), which will let you edit GRUB. Edit the line with your boot command. Add this command to the very end of the line with the […]

Change Ubuntu IP Address from DHCP to Static or Vice Versa – HowTo

The default network setting in Ubuntu (or Debian) is to use DHCP.  Often, however, it is desirable to use a static IP address and settings.  To change your network configuration from DHCP to static follow these steps. Open a terminal session and enter: sudo nano /etc/network/interfaces Two network interfaces should be listed, lo and eth0: […]

Use Iperf to Measure Network Throughput (Bandwidth) on Windows or Linux

Iperf was developed by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP bandwidth performance. Iperf allows the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss. Install iperf on Windows – just download, unzip and run iperf.exe. Install iperf on Ubuntu:     sudo apt-get install iperf Iperf […]

Bandwidth Monitoring Tools for Ubuntu

bmon – Bandwidth monitor and rate estimator bwm-ng – Bandwidth Monitor NG (Next Generation), a live bandwidthmonitor for network and disk IO cbm – displays the current traffic on all network devices iftop – Real-time bandwidth usage information on a specified interface iperf – Tool for measuring maximum TCP and UDP bandwidth performance ibmonitor – interactive bandwidth monitor […]

How To Edit Linux DNS Configuration Files

Edit /etc/resolv.conf using a text editor such as nano, vi or gedit: nano /etc/resolv.conf Or, for Ubuntu: sudo nano /etc/resolv.conf Add namesevers as necessary: nameserver <ip address>nameserver <ip address>nameserver <ip address> Save and close the config file. See also Change Ubuntu IP Address from DHCP to Static

Find the top 10 largest files and directories on Ubuntu

Unfortunately there is not a simple command in Linux to find the largest files and/or directories. However, combining the following three commands (using pipes) can help you locate the largest files/directories on your file system: du – Estimate file space usage sort – Sort lines of text files or given input data head – Output the first part of […]

Upgrade Ubuntu Server From 8.10 to 9.10 – How To

You can use the following steps to easily upgrade Ubuntu Linux server (or workstation) 8.x to 9.10 (latest version as of this posting), either locally or remotely over ssh from a terminal command line. Note: Backup important data and configuration files first. First, apply latest updates to Ubuntu 8.x using: sudo apt-get updatesudo apt-get upgrade […]

How to update software on Ubuntu / Debian Linux

Ubuntu (and Debian) software can easily be updated using the apt-get command line tool. apt-get can be used from a terminal window as follows: apt-get update: Update is used to resynchronize the package index files from their sources over the Internet.To retrieve updated software list, enter:sudo apt-get update apt-get upgrade: Upgrade is used to install […]