File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
mkdir -p /data/src
2
2
cd /data/src
3
- if [ ! -x " LuaJIT-2.0.0.tar.gz" ]; then
3
+ if [ ! -x " LuaJIT-2.0.0.tar.gz" ]; then
4
4
wget http://luajit.org/download/LuaJIT-2.0.0.tar.gz
5
5
fi
6
6
tar zxvf LuaJIT-2.0.0.tar.gz
9
9
make install PREFIX=/usr/local/lj2
10
10
ln -s /usr/local/lj2/lib/libluajit-5.1.so.2 /lib64/
11
11
cd /data/src
12
- if [ ! -x " v0.2.17rc2.zip" ]; then
12
+ if [ ! -x " v0.2.17rc2.zip" ]; then
13
13
wget https://github.com/simpl/ngx_devel_kit/archive/v0.2.17rc2.zip
14
14
fi
15
15
unzip v0.2.17rc2
16
- if [ ! -x " v0.7.4.zip" ]; then
16
+ if [ ! -x " v0.7.4.zip" ]; then
17
17
wget https://github.com/chaoslawful/lua-nginx-module/archive/v0.7.4.zip
18
18
fi
19
19
unzip v0.7.4
20
20
cd /data/src
21
- if [ ! -x " pcre-8.10.tar.gz" ]; then
21
+ if [ ! -x " pcre-8.10.tar.gz" ]; then
22
22
wget http://blog.s135.com/soft/linux/nginx_php/pcre/pcre-8.10.tar.gz
23
23
fi
24
24
tar zxvf pcre-8.10.tar.gz
25
25
cd pcre-8.10/
26
26
./configure
27
27
make && make install
28
28
cd ..
29
- if [ ! -x " nginx-1.2.4.tar.gz" ]; then
29
+ if [ ! -x " nginx-1.2.4.tar.gz" ]; then
30
30
wget ' http://nginx.org/download/nginx-1.2.4.tar.gz'
31
31
fi
32
32
tar -xzvf nginx-1.2.4.tar.gz
You can’t perform that action at this time.
0 commit comments