kpartx: Linux Create Device Maps From Partition Tables ( mpath devices for...
How can I create mpath devices for partitions under CentOS Linux version 5.x server?Read answer to: "kpartx: Linux Create Device Maps From Partition Tables ( mpath devices for partitions )"
View ArticleForce yum update Command To Exclude Certain Packages
How can I exclude selected packages when I rum yum update command under CentOS / RHEL / Fedora / Red Hat Enterprise Linux server?Read answer to: "Force yum update Command To Exclude Certain Packages"
View ArticleLinux: pathmunge Command in Shell Script
Q. I see pathmunge used in few scripts under Red Hat Enterprise Linux. Can you explain the use of pathmunge under RHEL / CentOS / Fedora Linux?Read answer to: "Linux: pathmunge Command in Shell...
View ArticleRed Hat Enterprise Linux / CentOS Linux Enable EPEL (Extra Packages for...
How do I enable EPEL (Extra Packages for Enterprise Linux) repo and install the packages under RHEL / CentOS Linux server systems?Read answer to: "Red Hat Enterprise Linux / CentOS Linux Enable EPEL...
View ArticleRed Hat / CentOS Linux: Enable and Install Media, CD / DVD, Moive MP3 Players
Q. How do I enable and install Media player under CentOS or Fedora or Red Hat Enterprise Linux systems? How do I play mp3s under RHEL / CentOS Linux 5.x? How do I play CD / DVD movies under RHEL /...
View ArticleUpdate Centos Linux
How do I update Centos Linux 5 software and apply security patches?Read answer to: "Update Centos Linux"
View ArticleApache: Graceful Server Reboot From Shell
How do I gracefully restart Apache web server from a shell prompt?Read answer to: "Apache: Graceful Server Reboot From Shell"
View ArticleExisting lock /var/run/yum.pid: another copy is running as pid 523.
I'm running the command yum update -y and getting the following error:Loaded plugins: fastestmirror, priorities Existing lock /var/run/yum.pid: another copy is running as pid 523. Another app is...
View ArticleRedhat / CentOS: ImageMagick Installation
How do I install ImageMagick under CentOS / Fedora / RHEL / Redhat Linux for displaying and manipulating images via perl, php, blog and other web based apps?Read answer to: "Redhat / CentOS:...
View ArticleLinux: AMD Phenom II and AMD Athlon II CPU Change Frequency On All Logical Cores
I've AMD Athlon II processors based server and it does not change frequency on all logical cores under CentOS version 5.5 or RHEL Linux. How do I fix this problem?Read answer to: "Linux: AMD Phenom II...
View ArticleLinux Iptables: Add / Delete An IP Address Remotely Using A Shell Script
I've root ssh access and need to add / delete a few IP address on fly using the IPtables command via local shell script. How do I add or delete an IP address remotely over the SSH session under CentOS...
View ArticleRHEL6 Beta: HowTo Use yum Command To Install Packages Without RHN
I'm testing Redhat Enterprise Linux 6 for our apps. However, RHN do not support beta RHEL 6 software. How do I use yum command to install additional software without using DVD ROM?Read answer to:...
View ArticleLinux / UNIX: PHP mail() Error Log File
How do I view PHP mail() errors? How do I see php mail() error log file under UNIX or Linux?Read answer to: "Linux / UNIX: PHP mail() Error Log File"
View ArticleUNIX / Linux: Rsnapshot Restore Backups
I've created the backup server using this tutorial under Redhat and Debian Linux systems. How do I restore files (such as /var/www/html) with rsnapshot backup tool? How do I restore MySQL database...
View ArticleLinux Download Password Protected Large ISO Images [ Authentication...
I'm trying to download an ISO image for Enterprise Linux from RHN or Novell Suse. Both providers have placed ISO images behind paywall. I need to provide authentication credentials before downloading...
View ArticleWhere Is The Xorg.conf File Located under Unix / Linux / BSD?
I want to find and edit my xorg.conf file for tweaking and configure it for new settings. The problem is that I'm unable to find the file. According to my research, xorg.conf should in /etc/X11 or...
View ArticleHowTo: Find Out DNS Server IP Address Used By My Router?
My router configured by ISP tech and it is set to get DNS server address automatically from upstream. Is there is a way to find out the IP address of the dns server used by my router which is located...
View ArticleLinux: HowTo Check User Password Expiration Date and Time
/etc/shadow files stores actual password in encrypted format for user’s account. How do I check users password expiry information under Linux operating systems?Read answer to: "Linux: HowTo Check User...
View ArticleHowTo: Open a Tar.gz File In Linux / Unix
I've received a file called date.tar.gz. How do I open a tar.gz file under Linux or Unix like operating systems?Read answer to: "HowTo: Open a Tar.gz File In Linux / Unix"
View ArticleBash: Get The Last Argument Passed to a Shell Script
I'm writing a bash wrapper script that will pass arguments to the command. I need to find out the last argument if I call the wrapper as follows:./wrapper -a -b --longarg=foo thisfilename.txt...
View Article