Things I don't want to look for twice..

Monthly Archives: August 2011

scp and wget missing on RHEL6 minimal install

So, to get around, you can install them from DVD or, mount your DVD as a yum repo, and then install the following packages:


How to convert dos format text files to unix format

I needed this for some scripts I discovered they’re DOS format and bash couldn’t understand them. So, it’s simple, and you have multiple choices:

tr -d ‘\r’ output.file

sed ‘s/$'”/`echo \\\r`/” input.file > output.file

apache not processing <? ?> only <?php ?>

This is solely PHP based, and I found this in default php.ini on RHEL6.1

short_open_tag = Off

Turn it on to allow only ..