howto: convert vcd format to mpg

for whatever reason, backups, conversion from one format to another, new dvd camera, standardising your media library etc, you might need this handy little utility which is surprisingly easy to use. it converts the contents of a vcd to mgp among other handy functions

the utility is called  cdxa2mpeg and it comes packages in fedora in vcdimager

and you use like so:

1. mount your VCD or iso

mount -o loop $1 /mnt/iso

2. convert from DAT format to MPG

how to resize a kvm / qemu image

what a night! i was trying to expand the size of my spacewalk kvm guest and instead messed it up and so i had to try and fix it. i dint have any luck but i did learn how to take a working kvm guest image and make it bigger.

first of all prepare your host by installing the following

how to install pecl

pecl is short for "PHP Extension Community Library" and the following command for RHEL/CentOS will give you the basics

yum -y install php-pear pcre-devel

centos spacewalk client checksum failure

You may know that i have been experimenting with spacewalk recently. And when you have a server you have a client. but before i get to the client, i suddenly noticed i was no longer populating errata into my centos channel.

the reason being that sometime around the beginning of the year, centos decided to avoid a hash collision by switching to sha256. so i switched the channel hash calculation to sha256 and once again, i was downloading errata.

howto: arabic in the terminal

i use kde and i wanted to read some arabic file names.fedora has for sometime came with one package per language. this means arabic is installed by default, so we wont need to install any extra fonts.

kde also supports bidirectional languages, so that means we can use the default terminal called konsole. i hear too that gnome terminal does too but thats outside the scope of this article :D.

to cut a long story short

open up konsole/settings/configure current profile/advanced/enable bi-directional text rendering

How To Upgrade From Fedora 15 To Fedora 16 (Desktop & Server)

my last article on using preupgrade proved popular enough that i am doing a repeat:here is the link

howto: spacewalk server configuration refresh

i have recently begun to experiment with spacewalk. and when i experiment i like to build then tear down to rebuild again and again. so i went off on an exploratory trip and brought back some results

to do a proper cleanup, issue the following commands:

link: How to disable SSH host key checking

this link is too good to ignore. so i am adding it here for me and for you. it basically describes how to bypass the yes/no prompt when you encounter an new host. the link is at linuxcommando

howto: ddclient setup

ddclient is a command line daemon that was written expressly for dynamic dns services. dynamic dns is basically is a site that allows you to manually update your dns entry whenever you need to. it does this by setting a low ttl (time to live) for your dns entry and so dns clients cache your dns record for short periods of time.

howto: disabling firefox work offline mode

suddenly, my wife's account would always start firefox in offline mode. and no matter what i did i was not able to fix it. that is until i discovered a hidden switch. i was looking for the toolkit.networkmanager but i wrote offline instead and i found this:


and i set it to false and voila it worked


Subscribe to Posix In Egypt RSS