howto basic remote system logging with rsyslog on fedora 17

my laptop began to freeze up and i cant get anything from my local logs so i had to set up remote logging. all i had to do was follow these easy steps

so on the client side

sudo vi /etc/rsyslog.conf

and go right to the bottom of the file where it says "remote host". yes, use those as key words. you will find an entry that looks like:

#*.* @@remote-host:514

remove the hash and put in the ip of the remote syslog server (in my case it was my desktop). you can of course, put in the hostname instead of ip, but make sure the name is resolvable first.

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

these types of articles seem to be in demand so again, i will repeat it.the instructions to upgrade your fedora desktop or server can be found here.

tell me, wasnt that simple?

virsh cheat sheet

i am currently working with kvm a little bit, so as usual i tried to figure out the command line version instead of relying on virt-manager. this is great since, virt-manager is not guaranteed to work across the network without a little setup. source is taken from here


architecting your data center

so if you like me suddenly found yourself one day, about 7 years ago, given a brand new environment of 200 servers to install, configure and maintain by yourself, what are you going to do ?

anyways, what did i do? well i pulled out my redhat course books and decided on what i needed and the following is what i came up with. after i give you my list of 7 years ago, i will give you my thoughts of how i would do it today


after searching the web a bit, i found this script which will create an rpm of drush for you. so i have run the script and now have drush 5 in rpm form. i am attaching both the script and the rpm to this article. the script so that you and i can always have a copy and the rpm so we dont have to

you may have to do a post install step

ln -s /usr/local/drush/drush /usr/bin/drush

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


Subscribe to Posix In Egypt RSS