From f46eddd73d2761bec439645254a8d187cd3f4fe1 Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 2 Dec 2021 22:11:05 +0800 Subject: [PATCH] Fix bug. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aefc149..ca1a876 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,14 @@ $ sudo ls -la /root # 測試 rulingcom sudo 是否可用 $ exit; exit # 第一次 exit 退回 root 帳號,第二次 exit 退回剛登入的帳號 ``` +## 安裝libgmp(Ubuntu 14.04需要) + +```sh +sudo apt install libgmp-dev ##此套件為nokogiri相依套件 +``` + ## 安裝 Nginx 1.14 + ```sh $ sudo apt update $ sudo apt install nginx @@ -94,7 +101,7 @@ $ sudo apt install -y cmake pkg-config libbrotli-dev # Build imagemagick $ wget http://www.imagemagick.org/download/ImageMagick.tar.gz $ tar xvfz ImageMagick.tar.gz -$ cd ImageMagick-7.1.0-1/ # cd ImageMagick-x.x.x-x(版本號) +$ cd ImageMagick-7.1.0-16/ # cd ImageMagick-x.x.x-x(版本號) $ ./configure --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes --disable-shared --with-modules ##在configure跑完後,可確認Delegates是否有jpeg png zlib(最後一行) $ make