Skip to content

it.megocollector.com

The information technology compendium

Archive

Category: Linux

linux-penguin

After installing CentOS 6.2 i386 minimal ISO as a VMware virtual machine, immediate attempts to perform a yum update failed. The virtual machine network is bridged to the host computer. Pings to the router were successful, however, after some Internet searches, a solution that remediated this situation was found....
Continue reading ...

linux-penguin

When decompressing a compressed tar file, generally, the approach is to change directory to the root and execute the tar command from there with a full path to the compressed tar. There is an easier method that will remove a line or two of code from each script. Down to a single command line....
Continue reading ...

linux-penguin

This has more applications than with just the chkconfig command. However, I found this script to be useful and wanted to add it to my database of useful scripts....
Continue reading ...

linux-penguin

Suppose you wanted to determine the length of time it took to complete the execution of a bash script. Rather than sitting in front of the computer and estimating the time elapsed by watching the script execute with a stopwatch, it can be done with a few lines of code....
Continue reading ...

linux-penguin

From the man pages, chkconfig is defined to provide a simple command-line tool for maintaing the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories....
Continue reading ...

linux-penguinThere was a CentOS server where the IP address needed to be changed. Searches through the Internet revealed a series of commands that would do the trick. This script incorporates these commands into a single utility or bash script....
Continue reading ...

linux-penguinThere was a CentOS server where the name needed to be changed. Searches through the Internet revealed a series of commands that would do the trick. This script incorporates these commands into a single utility or bash script....
Continue reading ...

linux-penguin

Many Linux distributions permit the use of the root user as a primary login, however, the dominant and popular Ubuntu has left some users in a conundrum. In order to perform tasks as a root user, this must be performed within a terminal window with the sudo command. However, here are a set of instructions that will allow the root user to login to an Ubuntu system....
Continue reading ...