cd /usr/local
 
rpm –import RPM-GPG-KEY-EPEL-6
rpm –import RPM-GPG-KEY.dag.txt
rpm -ihv epel-release-6-7.noarch.rpm
rpm -ihv rpmforge-release-0.5.3-1.el6.rf.i686.rpm
 
yum -y install gcc gcc-c++ m4 make automake libtool gettext openssl-devel pkgconfig perl-libwww-perl perl-XML-Parser curl curl-devel libevent-devel libevent libidn-devel zlib-devel
 
yum -y install transmission-common transmission-daemon transmission-cli


 
 
 
 
cd /usr/local
wget http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.18-stable.tar.gz
tar zxf libevent-*-stable.tar.gz
cd libevent-*-stable
./configure –prefix=/usr/local/libevent
make && make install
cd ..
echo “/usr/local/libevent/lib/" >> /etc/ld.so.conf
ln -s /usr/local/libevent/lib/libevent-2.0.so.5 /lib/libevent-2.0.so.5
ldconfig
/sbin/ldconfig
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
 
cd /usr/local
wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gz
tar zxf libiconv-1.13.1.tar.gz
cd libiconv-1.13.1
./configure –prefix=/usr/local/libiconv
make && make install
cd ..
echo “/usr/local/lib" >> /etc/ld.so.conf/sbin/ldconfig
 
cd /usr/local
wget http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz
tar zxf intltool-*.tar.gz
cd intltool-*
./configure –prefix=/usr/local/initltool
make -s
make -s install
 
echo install Transmisson
 
cd /usr/local
wget http://download.m0k.org/transmission/files/transmission-2.51.tar.bz2
tar xjf transmission-*.tar.bz2
cd transmission-*
./configure –prefix=/usr/local/transmission CFLAGS=-liconv
make -s
make -s install
 
mkdir -p /home/transmission
chown -R transmission.transmission /home/transmission
chmod g+w /home/transmission
 
mv -f settings.json /var/lib/transmission/.config/transmission/settings.json
ERIC2599

Tags: , ,