Installing IRLP (and EchoIRLP) on CentOS 5


NOTE: IRLP is NOT supported on CentOS 5 - if you want support from the IRLP installs team, you must install and run their distribution, which is currently based on CentOS 4. This information is for those who are willing to support themselves.

Running IRLP/EchoIRLP on CentOS doesn't seem to be a problem - so long as your hardware is reasonably modern. I haven't tested this too thoroughly yet, but here's what I had to do to get everything installed on CentOS 5.2. Familiarity with Linux is expected of the reader - e.g. I assume you get get CentOS installed and configured for internet access, etc.

Prepare the OS

Install CentOS 5 from DVD, or whatever

Add the "Development Tools" collection when selecting software.

Optionally add the lynx package, if you can find it, or just run yum install lynx after the install. lynx is used to update your node information for the status page - http://www.irlp.net/owners/dbupdates.html

Run yum update to get all the latest goodies.

Get Additional stuff

ncftp

ncftp is used by IRLP, but it's not included with CentOS 5. Add it as follows...

Create the file /etc/yum.repos.d/kbs-CentOS-Testing.repo containing:

[kbs-CentOS-Testing]
name=CentOS.Karan.Org-ELS - Testing
gpgcheck=0
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
enabled=1
baseurl=http://centos.karan.org/el5/extras/testing/i386/RPMS/

Then run:

rpm --import  http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
yum install ncftp

aumix

might be needed too .. I got it from:

http://rpms.netmindz.net/el5/i386/RPMS.extras/?C=S;O=D

IRLP install scripts

Snarf a copy of the install and reinstall scripts from the IRLP FTP server:

cd
ncftpget irlp.net . /pub/install/irlp-install /pub/re-install/irlp-reinstall

Run the IRLP (re)install script

Run the appropriate script, depending whether this is a new node or a reinstall from backup

cd
sh ./irlp-install

Follow the rest of the installation procedure as you would if you had installed from the IRLP CD

Install EchoIRLP

I didn't have to do anything out of the ordinary here, other than hacking the echo-install script, which is left as an exercise for the reader. If you can't handle that, maybe you shouldn't be here :P

Sound Card Config

IRLP seems to always use sound card number 0. EchoIRLP seems to use ALSA, and therefore whatever ALSA thinks is the default card, which is not necessarily number 0. Use system-config-soundcard to set things up so that the card you want to use is the first in the list AND also selected as the default.

Comments