Category Archives: fedora

PHPHOST BLOG

Web Hosting Related Articles You May Need

How to programmatically determine the highest version kernel RPM installed?

Background

Recently on the StackExchange site Unix & Linux the following question came up which seemed easy enough to answer.

How to programmatically determine the highest version kernel RPM installed?

This turned out to be trickier than I originally thought. What follows is my ultimate answer along with several failed attempts. I leave them so that others can […]

Continue reading

Posted in centos, fedora, package management, rhel, rpm, Syndicated, sysadmin, tip, tutorials | Comments Off on How to programmatically determine the highest version kernel RPM installed?

[one-liner]: Dealing with UEFI

Background

UEFI looks to be a major pain in the @$$, but like it or hate it everyone in the Linux community will need to learn to navigate it. Here’s a list of useful UEFI resources that I’ve come across as I’ve started to get smarter about how to deal with this beast.

Solution

Wikipedia

Unified Extensible Firmware […]

Continue reading

Posted in centos, fedora, one-liner, redhat, rhel, Syndicated, tips & tricks, UEFI | Comments Off on [one-liner]: Dealing with UEFI

[one-liner]: Setting up the Subversion Client RabbitVCS 0.15.0.5 on Fedora 14

Background

If you do any software development work that requires the use of subversion then you may have heard of rabbitvcs. It’s one of the best subversion clients that integrates well with nautilus, under GNOME. I’d been running into an issue however where it wouldn’t allow me to perform a comparison of my checked out working […] Continue reading

Posted in fedora, package management, rabbitvcs, redhat, subversion, Syndicated | Comments Off on [one-liner]: Setting up the Subversion Client RabbitVCS 0.15.0.5 on Fedora 14

[one-liner]: Download an RTMP Stream & Convert it to an MP3 File via the Fedora/CentOS Command Line

Background

I recently wanted to download a podcast that was being served via a RTMP stream. RTMP (Real Time Messaging Protocol) was initially a proprietary protocol developed by Macromedia for streaming audio, video and data over the Internet, between a Flash player and a server. Macromedia is now owned by Adobe, which has released the specification […] Continue reading

Posted in audio, centos, fedora, mp3, one-liner, script, streaming, Syndicated, tips & tricks | Comments Off on [one-liner]: Download an RTMP Stream & Convert it to an MP3 File via the Fedora/CentOS Command Line

[one-liner]: Using yum-builddep to Speed Up the Building of SRPMs on Fedora & CentOS

Background

I just came across this nifty little tool called yum-builddep, which is part of the yum-utils package. It can be a really big time saver if you need to build source RPMS (SRPMs). What does it do? yum-builddep, installs all the RPM dependencies required to build a given SRPM.

Solution

Installation is a snap, it’s just part […] Continue reading

Posted in centos, fedora, one-liner, package management, redhat, rhel, rpm, Syndicated | Comments Off on [one-liner]: Using yum-builddep to Speed Up the Building of SRPMs on Fedora & CentOS

[one-liner]: Installing 3rd Party Apps (Java, Skype, MS Fonts, and Codecs) using the app easyLife on Fedora Linux

Background

Never heard of this app before, easyLife, but it purports to simplifying the installation of the extras that you typically will need on your Fedora system, (i.e. Java, Nvidia, Skype, Adobe Flash, Fonts, etc.). It works like other apps have in the past, Automatix & Ultamatix, on Ubuntu, and Fedora Frog just to name a […] Continue reading

Posted in centos, fedora, one-liner, redhat, rhel, Syndicated, sysadmin, tips & tricks | Comments Off on [one-liner]: Installing 3rd Party Apps (Java, Skype, MS Fonts, and Codecs) using the app easyLife on Fedora Linux

How to Add a New Hard Drive to a Linux Software RAID (CentOS & Fedora)

Getting Started

A while back I setup a 1TB hard drive for backing up my primary file server. That 1TB drive was setup in a software RAID, a RAID 1 mirror to be exact. However I opted at the time to only add the one drive to the RAID, mainly because I only had just the […] Continue reading

Posted in centos, fedora, RAID, redhat, rhel, Syndicated, sysadmin, tutorials | Comments Off on How to Add a New Hard Drive to a Linux Software RAID (CentOS & Fedora)

CentOS RPM Tutorial Part 4 – Another Example of Rolling your Own .spec File

Getting Started

In this 4th installment of my series on RPM packages I’m going to show another example where I package up a tarball that I’ve created, and roll it into an RPM file. For this example I’ll be packaging up a Perl script and a man page. NOTE: Refer to my previous posts (part 1, […] Continue reading

Posted in centos, fedora, redhat, rhel, rpm, Syndicated, tip, tutorials | Comments Off on CentOS RPM Tutorial Part 4 – Another Example of Rolling your Own .spec File

[one-liner]: Installing Adobe Flash Player 11.1 on Fedora 14 64bit

Background

While processing some updates on my Fedora 14 (x86_64) laptop the other day, Adobe Flash Player inexplicably stopped working. Looks like there’s a 64bit version of flash now available. Not sure when this happened, but I was using a 32bit version of flash, wrapped so that it would work with 64bit. For whatever reason the […] Continue reading

Posted in centos, fedora, one-liner, redhat, rhel, Syndicated, tips & tricks | Comments Off on [one-liner]: Installing Adobe Flash Player 11.1 on Fedora 14 64bit

[one-liner]: Using the Linux Command, dirsplit, to Dynamically Backup a Directory Over Multiple DVDs

Background

At my day job I deal with a fair amount of image data. We typically are shipping the data out on either hard drives, thumb drives, or via SFTP. On occasion we will some times burn it to a CD and/or a DVD. But until today all the data was either large sets (200-400GB) variety, […] Continue reading

Posted in backup, centos, DVD, fedora, iso, one-liner, redhat, rhel, script, Syndicated, sysadmin, tips & tricks | Comments Off on [one-liner]: Using the Linux Command, dirsplit, to Dynamically Backup a Directory Over Multiple DVDs