Pejman Moghadam / Redhat

Redhat 8.0 - Speedometer

Public domain


Upgrade to python 2.5

# rpm -e python-devel
# rpm -e python
# cd /usr/src
# wget http://www.python.org/ftp/python/2.5/Python-2.5.tgz
# tar -zxvf Python-2.5.tgz
# cd /usr/src/Python-2.5
# ./configure
# make && make install
# reboot

urwid 0.9.7.2

# cd /usr/src/
# wget http://excess.org/urwid/urwid-0.9.7.2.tar.gz
# tar -zxvf urwid-0.9.7.2.tar.gz
# cd /usr/src/urwid-0.9.7.2
# python setup.py install

Speedometer 2.4

# cd /usr/src
# wget http://excess.org/speedometer/speedometer-2.4.tar.gz
# tar -zxvf speedometer-2.4.tar.gz
# cd /usr/src/speedometer-2.4
# vi speedometer.py
#!/usr/local/bin/python
# cp speedometer.py /usr/local/bin/speedometer
# chown root: /usr/local/bin/speedometer
# chmod 755 /usr/local/bin/speedometer
# speedometer -rx eth1 -tx eth1

BY: Pejman Moghadam
TAG: speedometer, urwid
DATE: 2007-11-27 20:14:14


Pejman Moghadam / Redhat [ TXT ]