方便多了,否则找个地方去下载就要找半天.
sysstat 写道
wget http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.6.tar.gz
tar -zxvf sysstat-9.0.6.tar.gz
cd sysstat-9.0.6
./configure
make && make install
cd ..
wget http://ncu.dl.sourceforge.net/project/rstatd/rstatd/3.07/rstatd.tar.gz tar -zxvf rstatd.tar.gz cd rpc.rstatd/ ./configure make && make install cd .. rpc.rstatd
apache-ant-1.8.0-bin 写道
#下载
wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.gz
tar -zxvf apache-ant-1.8.0-bin.tar.gz
mv apache-ant-1.8.0 /usr/local/
#将bin目录加入到path中
export PATH=/usr/local/apache-ant-1.8.0/bin/:$PATH
echo export PATH=/usr/local/apache-ant-1.8.0/bin/:$PATH >> ~/bash_profile
#设置ANT_HOME环境变量
export ANT_HOME=/usr/local/apache-ant-1.8.0/
echo export ANT_HOME=/usr/local/apache-ant-1.8.0/ >> ~/bash_profile
ant -v
#下载jakarta-ant-1.4-optional.jar
cd /usr/local/apache-ant-1.8.0/lib
wget http://archive.apache.org/dist/ant/binaries/jakarta-ant-1.4-optional.jar
cd -
源码安装Ice-3.4.0 写道
wget http://www.zeroc.com/download/Ice/3.4/Ice-3.4.0.tar.gz
wget http://www.zeroc.com/download/Ice/3.4/ThirdParty-Sources-3.4.0.tar.gz
wget http://www.zeroc.com/download/Ice/3.4/db48-4.8.24-1ice.src.rpm
wget http://www.zeroc.com/download/Ice/3.4/mcpp-devel-2.7.2-2ice.src.rpm
tar -zxvf ThirdParty-Sources-3.4.0.tar.gz
cd ThirdParty-Sources-3.4.0
tar -zxvf mcpp-2.7.2.tar.gz
cd mcpp-2.7.2
patch -p0 < ../mcpp/patch.mcpp.2.7.2
./configure CFLAGS=-fPIC --enable-mcpplib --disable-shared
make && make install
cd ..
cd ..
rpm -ivh db48-4.8.24-1ice.src.rpm
rpm -ivh mcpp-devel-2.7.2-2ice.src.rpm
tar -zxvf Ice-3.4.0.tar.gz
cd Ice-3.4.0
make && make install
cd ..
安装支持Ruby的Ice3.2.1 Linux4.6 写道
wget http://www.zeroc.com/download/Ice/3.2/Ice-3.2.1-bin-rhel-i386.tar.gz
tar -zxvf Ice-3.2.1-bin-rhel-i386.tar.gz
mv Ice-3.2.1 /usr/local/Ice-3.2.1
echo export ICE_HOME=/usr/local/Ice-3.2.1 >> ~/.bash_profile
export ICE_HOME=/usr/local/Ice-3.2.1
echo export PATH=$ICE_HOME/bin:$PATH >> ~/.bash_profile
export PATH=$ICE_HOME/bin:$PATH
echo export LD_LIBRARY_PATH=$ICE_HOME/lib >> ~/.bash_profile
export LD_LIBRARY_PATH=$ICE_HOME/lib
echo export RUBYLIB=$ICE_HOME/ruby/:$RUBYLIB >> ~/.bash_profile
export RUBYLIB=$ICE_HOME/ruby/:$RUBYLIB
tar -zxvf Ice-3.2.1-bin-rhel-i386.tar.gz
mv Ice-3.2.1 /usr/local/Ice-3.2.1
echo export ICE_HOME=/usr/local/Ice-3.2.1 >> ~/.bash_profile
export ICE_HOME=/usr/local/Ice-3.2.1
echo export PATH=$ICE_HOME/bin:$PATH >> ~/.bash_profile
export PATH=$ICE_HOME/bin:$PATH
echo export LD_LIBRARY_PATH=$ICE_HOME/lib >> ~/.bash_profile
export LD_LIBRARY_PATH=$ICE_HOME/lib
echo export RUBYLIB=$ICE_HOME/ruby/:$RUBYLIB >> ~/.bash_profile
export RUBYLIB=$ICE_HOME/ruby/:$RUBYLIB
安装memcached和libmemcached 写道
wget http://www.monkey.org/~provos/libevent-2.0.5-beta.tar.gz
wget http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz
wget http://launchpad.net/libmemcached/1.0/0.40/+download/libmemcached-0.40.tar.gz
tar -zxvf libevent-2.0.5-beta.tar.gz
cd libevent-2.0.5-beta
./configure --prefix=/usr/local/libevent
make && make install
cd ..
tar -zxvf memcached-1.4.5.tar.gz
cd memcached-1.4.5
./configure --prefix=/usr/local/memchached --with-libevent=/usr/local/libevent
make && make install
ln -s /usr/local/libevent/lib/libevent.so.4.0.0 /usr/lib
cd ..
tar -zxvf libmemcached-0.40.tar.gz
cd libmemcached-0.40
./configure --prefix=/usr/local/libmemcached/ --with-memcached=/usr/local/memchached/bin/memcached
make && make install
cd ..
wget http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz
wget http://launchpad.net/libmemcached/1.0/0.40/+download/libmemcached-0.40.tar.gz
tar -zxvf libevent-2.0.5-beta.tar.gz
cd libevent-2.0.5-beta
./configure --prefix=/usr/local/libevent
make && make install
cd ..
tar -zxvf memcached-1.4.5.tar.gz
cd memcached-1.4.5
./configure --prefix=/usr/local/memchached --with-libevent=/usr/local/libevent
make && make install
ln -s /usr/local/libevent/lib/libevent.so.4.0.0 /usr/lib
cd ..
tar -zxvf libmemcached-0.40.tar.gz
cd libmemcached-0.40
./configure --prefix=/usr/local/libmemcached/ --with-memcached=/usr/local/memchached/bin/memcached
make && make install
cd ..