Xnix系统下某些软件自动安装脚本

我这里把我用到的那些东东整理一下,以后再安装直接copy就好了,
方便多了,否则找个地方去下载就要找半天.

[quote="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 ..[/quote]

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


[quote="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 -
[/quote]

[quote="源码安装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 ..

[/quote]


[quote="安装支持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[/quote]


[quote="安装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 ..[/quote]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值