Linux Shtuff Posts
Read more
Hi,
When I started this blog, I started it for my own benefit so I could remember those little tweaks or fixes which escape memory at crucial times when a needed repair or a new issue arose that I had never dealt with before. When I would research these issues, ...
File system info
Read more
Earlier, a client asked a simple question...
how many subdirectories can you have in a directory?
how may files can you have in a directory?
I doing a little research, I came across some basic info to pass along regarding this;
The ext3 file system has a limit of about 32000 subdirs per ...
Convert MySQL from MyISAM to InnoDB Using a Script
Read more
From technotes.twosmallcoins.com
How to Convert MySQL from MyISAM to InnoDB Using a Script
Okay. So I need to convert MySQL database using the default MyISAM engine to the InnoDB engine. The command is simple:
ALTER TABLE table_name ENGINE = InnoDB;
However, this command needs to be done for EVERY table. Yes, ...
Stupid tar Tricks
Read more
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, ...
Install sar, sadf, mpstat, iostat, pidstat and sa tools on CentOS / Fedora / RHEL
Read more
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 ...
CLIcompanion
Read more
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 ...
Install Iftop
Read more
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
Read more
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 the same for all three ...
Bmon
Read more
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 ...
Remote Connect to MySQL server
Read more
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 ...
Multiple server alias
Read more
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, ...
Install nginx
Read more
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 ...
sntop
Read more
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 ...
di – disk info utility
Read more
From linuxpoison.blogspot.com
di is a disk information utility, displaying everything that df does and more. It features the ability to display your disk usage in whatever format you desire/prefer/are used to. It is designed to be highly portable across many platforms.
di Displays usage information on mounted filesystems. Block values are reported in ...