CAUCHO RESIN3.1.X编译安装脚本

这是个人总结和编辑的一个caucho resin3.1.x的编译安装shell脚本

RESIN_VER=3.1.15
wget -c --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz
wget -c http://www.caucho.com/download/resin-${RESIN_VER}.tar.gz
wget -c http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz

tar xf jdk-8u92-linux-x64.tar.gz -C /usr/local
if ! grep -q JAVA_HOME /etc/profile; then
    echo 'export JAVA_HOME=/usr/local/jdk1.8.0_92' >> /etc/profile
    echo 'export PATH=$JAVA_HOME/bin:$PATH' >> /etc/profile
    echo 'export CLASSPATH=$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar' >> /etc/profile
    echo 'export LD_LIBRARY_PATH=:$JAVA_HOME/lib' >> /etc/profile
fi

source /etc/profile

tar -xf automake-1.15.tar.gz
tar xf resin-${RESIN_VER}.tar.gz
\cp automake-1.15/lib/missing resin-${RESIN_VER}/automake/missing
sed -i '1299s/int/long/' resin-${RESIN_VER}/modules/c/src/common/stream.c
cd resin-${RESIN_VER}
./configure --prefix=/usr/local/resin --enable-64bit
./configure --prefix=/usr/local/resin --enable-64bit
make
make install

 

 

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
下一篇