Hostapd on CentOS 6

Posted by jason on Feb. 3, 2012, 6:31 a.m. - 6 comments
Tags: centos config hostapd linux sysadmin

Here's how I got hostapd working on my CentOS 6 box. This article (if you could call it that) is just a running commentary. I wrote it while figuring things out, so all the silly issues I encountered are included here. Yes, I could write this properly so that ...

Ignoring yum dependency errors on CentOS

Posted by jason on Feb. 1, 2012, 7:05 a.m.
Tags: centos sysadmin

I have a machine I manage that has the php53* packages installed, and when phpmyadmin needs to be updated, yum craps out, complaining about phpmyadmin needing php-mysql, etc. I have php53-mysql installed, so these types of error can be safely ignored.

To solve the issue, I downloaded the latest phpmyadmin ...

NFS (v4) Shares on CentOS 6

Posted by jason on Jan. 30, 2012, 12:39 p.m.
Tags: arch centos linux sysadmin

Here's a few I had to do while trying to set up read-write NFS shares between a CentOS 6 NFS server and an Arch Linux client. The Arch Wiki NFSv4 page was a huge help.

Set up NFS domain

Edit /etc/idmapd.conf on both the client and the ...

VIM: Remember cursor position

Posted by jason on Jan. 27, 2012, 6:43 a.m.
Tags: centos config linux vim

For those who like how vim under CentOS remembers the previous cursor position when you open a file, here's the relevant code from /etc/vimrc. Just put it in your ~/.vimrc file:

if has("autocmd")
    augroup redhat
        "When editing a file, always jump to the last cursor position
        autocmd ...

Install rxvt-unicode on CentOS 5

Posted by jason on Dec. 2, 2011, 6:41 a.m.
Tags: centos sysadmin utf8

Here's how to enable the EPEL repository and use it to only install the rvxt-unicode terminal.

Get the EPEL RPM package:

jason@jason:~ [322]$ wget -c

Install the .rpm:

jason@jason:~ [323]$ rpm -i epel-release-5-4.noarch.rpm ...