Finding the Best Linux Monitoring Software is Crucial to ensuring uptime and we’re here to show you which ones are the top picks for all around management and monitoring of Ubuntu, Centos, Redhat, and any other distro! Though Windows is one the most popular operating systems for Servers, there are also a substantial number of […]
The Best Linux Monitoring Software & Tools (Ubuntu, Centos, Apache, Debian, Fedora, etc)
Aliases & Functions in Bash
You might save some time and have a little fun by putting some aliases and functions in your .bashrc file. You can put functions or aliases in .bash_profile or .bashrc in your home directory. But by using .bashrc instead of .bash_profile, they’ll be read in not only when you log in, but whenever you start […]
Adding Swap Space on the Fly in Linux
Sometimes in the course of a system’s existence you find that the swap partition you set up at install-time just isn’t enough anymore. Maybe you’re upgrading your system to RedHat 7.1 from a version of RedHat that used less swap in relation to physical RAM. Perhaps you’re running Oracle. Or maybe you’re adding more memory […]
Filesystem Hierarchy Standard
For those of you managing GNU/Linux systems, you are certainly familiar with the wide range of filesystem heierarchies and utility locations. This makes it difficult to move between different vendors’ distributions. This is changing, in a large part due to the FHS standard. Check it out: http://www.pathname.com/fhs/
Automated creation of GNU/Linux systems w/ XML spec file
I’ve mentioned Linux From Scratch in previous articles. I’ve discovered another tool related to this project that rocks called ALFS, or Automatic Linux From Scratch. ALFS puts all of the specifications for compiling a linux system into an XML document and generates most of a Linux From Scratch system automatically. There are a couple of […]
Linux From Scratch Version 3.0 Released
For those of you who wish to learn more about how a GNU/Linux system is put together, or if you want to have more control over your GNU/Linux system, check out Linux From Scratch (LFS). The commands for building a system from scratch are provided, as well as step-by-step instructions and explanations. Simply download the […]
Using RPM
One task that we often do is remove rpms that are installed by default. In this example, we will find out what rpm apache uses and we will uninstall it. What we need to do is find the name of the apache package: [root@srv-3 RPMS]# rpm -qa | grep apache apache-1.3.19-5 [root@srv-3 RPMS]# So, we […]
Kernel recompile
Before you do anything else, make sure you have a way to boot the OS. Make a bootdisk and test it. Get the source for the kernel and put it in /usr/src. cd /usr/src tar -xzf <kernel source file name> The kernel source lives in /usr/src/linux. Linux is usually a symbolic link to the source […]
Determine version of running kernel
uname -a You’ll see something like this: Linux u-1.signalq.com 2.4.6 #2 SMP Sat Jul 14 09:02:08 PDT 2001 i686 unknown
Linux Kernel 2.4.9 Released + some tips
You can get it from the mirrors here: kernel.org/mirrors or here: kernel.org. Check our our article on compiling the Linux kernel. One trick we’d like to remind you of from the article is to use “make oldconfig” to migrate your old .config file (usually in /usr/src/linux). You will be asked about just the options that […]
Aliases & Functions in Bash
You might save some time and have a little fun by putting some aliases and functions in your .bashrc file. You can put functions or aliases in .bash_profile or .bashrc in your home directory. But by using .bashrc instead of .bash_profile, they’ll be read in not only when you log in, but whenever you start […]
Running Linux on Sparc64
If you have some old Sun hardware you would like to run GNU/Linux on, the easiest way to get started is to use the CD-ROM images available at Aurora Linux. We’ve tried many different distributions, but the only one that we could get to load successfully is Aurora. Mebbe we are braindead, but if you […]
Linux Kernel 2.4.12 Released
It is a good idea to test this and upgrade to it if you are running a 2.4 kernel. There have been some problems with virtual memory with some of the 2.4 releases. There was also a nasty bug with symlinks w/ 2.4.11. Get it from: Kernel.org Mirrors. Seems to work fine for us. We […]
Gentoo Migration With Dump / ST15150
We have an old Sun box that won’t even run Solaris 8. Plus, Urbana wants to run Solaris 9 on the good Sun box, not GNU/Linux. After we optimized our system with Gentoo, we didn’t want to redo the compiles, especially on this slower box. We did a dump of the filesystem, installed Aurora on […]
Stupid Bash Tricks: Simple Loop With Timestamp
We ran into an interesting situation where we needed to know two things: whether or not a particular server was down, and when, exactly, it went down. We had requested some service be done on the server, and had a shell open via ssh. A simple solution that did the trick, and illustrates some stupid […]
Optimizations for Pentium4 and gcc 3.2.2
We run Gentoo, and in our make.conf file we had CFLAGS=”-march=pentium4 -O3 -pipe -fomit-frame-pointer”. Well, it turns out there is a bug. If you run this script: python -c ‘int(10.1); int(10000.3); int(1.2)’ You will get an overflow error. The fix is to use CFLAGS=”-march=pentium3 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer”. We just ran emerge glibc, and the […]
Linux From Scratch Book With CD
Linux From Scratch is a GNU/Linux distribution that you compile and piece together yourself. Gerard Beekmans and the LFS team have published LFS 4.1 as a book with a companion CD. We think that this is a fabulous way to document the heart of GNU/Linux. Own your own distribution. Don’t be buffeted about by corporate […]
GNUkes of Hazzard
For a serious analysis of what is going on with the whole SCO/IBM thing, check out the OSI Position Paper. But, for some Friday fun, check out The GNUkes of Hazzard.
Roll Your Own RPM
Building from source is fun, but it’s easier to distribute RPMs to a bunch of machines. You may recall that we recently built and installed the OpenTDS libraries and SQSH, a dandy little command line tool for use with MS SQLServer. These built nicely on my RedHat 7.3 system, and I have a bunch of […]
Sync Sync Halt
Urbana used to work with a guy who routinely shut down GNU/Linux by typing: sync sync halt That just sounded plain crazy. Why not use shutdown? Well, we just figured he was just a little old-school. The command appeared to work (manpage for sync, manpage for halt). Now, our robocoop is running a giagd system, […]