Month: August 2010

Stupid tar Tricks

From linuxjournal.com One of the most common programs on Linux systems for packaging files is the venerable tar. tar is short for tape archive, and originally, it would archive your files to a tape device. Now, you’re more likely to use a file to make your archive. To use a tarfile, use the command-line option…


Install sar, sadf, mpstat, iostat, pidstat and sa tools on CentOS / Fedora / RHEL

From blog.taragana.com How to install sar, sadf, mpstat, iostat, pidstat and sa tools on CentOS / Fedora / RHEL The following command can be used to install sar, sadf, mpstat, iostat, pidstat and sa tools on RPM based systems like CentOS, Fedora, RHEL (Red Hat Enterprise Linux): As root type the followiung command (on console…


CLIcompanion

CLIcompanion lets you run Terminal commands from a GUI. You can also store commands to create a command ‘dictionary’. CLIcompanion is an application that is used as a compliment to the Terminal. People unfamiliar with the Terminal will find CLIcompanion a useful way to become acquainted with the Terminal. Using the built-in commands new users…


Install Iftop

From hikaro.com Iftop is a niffty little tool to help in helping to monitor Network Bandwith. Similar to top, it display the local and external host(s) that are responsible for the most traffic activities. There are some basic requirement first. Make sure you install 1. libpcap and libpcap-devel 2. ncurses and ncurses-devel To install iftop…


Update clam 96.2-2 on centOS

Go to http://dag.wieers.com/rpm/packages/clamav/ and download the latest version of clamav clamd clamav-db for Red Hat EL 5 wget http://packages.sw.be/clamav/clamav-0.96.2-2.el5.rf.i386.rpm wget http://packages.sw.be/clamav/clamav-db-0.96.2-2.el5.rf.i386.rpm wget http://packages.sw.be/clamav/clamd-0.96.2-2.el5.rf.i386.rpmm To install them all type in yum localinstall clamav-xxx.rpm clamd-xxx.rpm clamav-db-xxx.rpm or the simpler yum –nogpgcheck localinstall *.rpm if the current directory only contains clamav rpms. Make sure the version number is…


Bmon

From linuxpoison.blogspot.com Bmon – Real time Bandwidth monitoring tool bmon is a portable bandwidth monitor and rate estimator. It supports various input methods for different architectures. Various output modes exist, including an interactive curses interface, lightweight HTML output, and simple ASCII output. Statistics may be distributed over a network using multicast or unicast and collected…


Remote Connect to MySQL server

From thegeekstuff.com How to Allow MySQL Client to Connect to Remote MySQL server By default, MySQL does not allow remote clients to connect to the MySQL database. If you try to connect to a remote MySQL database from your client system, you will get “ERROR 1130: Host is not allowed to connect to this MySQL…


Multiple server alias

From domainhelp.com How do I point “www.domain.com” at “domain.com” or vice-versa? You may have your webserver setup for either www.example.com or just example.com and you want it to work either way, whether people type in the “www” part of your domain or not. (By way of info, “www” is purely a convention, it isn’t in…


Install nginx

From errorcodex.com How to Install nginx on cPanel (CentOS/RedHat Enterprise) nginx can be used to serve static pages on a server running cPanel with Apache. Apache will handle the dynamic content for PHP and cgi scripts, while nginx will handle the static pages such as .htm and .html This guide will be using the installer…


sntop

From linuxpoison.blogspot.com Simple network top (sntop) is a curses-based console utility in the spirit of top that polls network hosts at a regular interval to determine their connectivity and displays the results in a pretty format. Advanced features are supported, such as automatic HTML generation of results, secure terminal mode, execution of an external file…