File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ useradd -g www www -s /bin/false
88
99yum install -y gcc gcc-c++ zlib zlib-devel openssl openssl-devel pcre pcre-devel
1010yum install -y libpng libjpeg libpng-devel libjpeg-devel ghostscript libtiff libtiff-devel freetype freetype-devel
11+ yum install -y GraphicsMagick GraphicsMagick-devel
1112```
12131 . download software
1314--------------------
@@ -18,7 +19,6 @@ cd /usr/local/src
1819``` bash
1920wget http://nginx.org/download/nginx-1.8.0.tar.gz
2021wget http://luajit.org/download/LuaJIT-2.0.4.tar.gz # ## LuaJIT
21- wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/GraphicsMagick-1.3.21.tar.gz # ## GraphicsMagick
2222wget http://zlib.net/zlib-1.2.8.tar.gz
2323```
2424### nginx module
@@ -50,15 +50,8 @@ export LUAJIT_INC=/usr/local/include/luajit-2.0
5050ln -s /usr/local/lib/libluajit-5.1.so.2 /lib64/libluajit-5.1.so.2
5151cd ..
5252```
53- #### 2.2 install GraphicsMagick
54- ``` bash
55- cd GraphicsMagick-1.3.21
56- ./configure --enable-shared --with-jpeg=yes --with-png=yes
57- make -j8
58- make install
59- cd ..
60- ```
61- #### 2.3 install nginx
53+
54+ #### 2.2 install nginx
6255``` bash
6356cd nginx-1.8.0
6457./configure --prefix=/usr/local/nginx \
You can’t perform that action at this time.
0 commit comments