403Webshell
Server IP : 23.254.227.96  /  Your IP : 216.73.216.7
Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64
User : viralblo ( 1001)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/usr/local/src/imagick/docker/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/local/src/imagick/docker/installImageMagick.sh
#!/usr/bin/env bash

set -e
set -x

# git clone https://github.com/ImageMagick/ImageMagick.git

SRCFILE="ImageMagick-7.0.8-14"
# SRCFILE="ImageMagick-7.0.1-0"
# SRCFILE="ImageMagick-7.0.4-9"
SRCFILE="ImageMagick-7.0.10-27"
# SRCFILE="ImageMagick-7.0.10-10"

tar -xzf /var/app/imagemagick_src/${SRCFILE}.tar.gz -C /var/app/imagemagick_src

cd /var/app/imagemagick_src/${SRCFILE}

./configure --with-quantum-depth=16 \
  --disable-dependency-tracking \
  --with-magick-plus-plus=no \
  --without-perl \
  --disable-docs \
  --with-openexr=yes \
  --with-fontconfig=yes \
  --with-fftw \
  --with-heic=yes \
  --with-jpeg=yes \
  --with-png=yes \
  --with-tiff=yes \
  --with-urw-base35-font-dir=/usr/share/fonts/type1/urw-base35 \
  --with-webp=yes



# ./configure --with-quantum-depth=16 \
#   --with-magick-plus-plus=no \
#   --without-perl \
#   --disable-docs \
#   --with-openexr=yes \
#   --with-fontconfig=yes \
#   --with-fftw \
#   --with-heic=yes \
#   --with-jpeg=yes \
#   --with-png=yes \
#   --with-tiff=yes \
#   --with-urw-base35-font-dir=/usr/share/fonts/type1/urw-base35 \
#   --with-webp=yes \
#   --with-rsvg


# --disable-openmp

# ImageMagick appears to not fully respect lib paths even when
# setting `--libdir=/usr/local/lib` running this ldconfig command
# is needed to avoid errors like:
# convert -v
# convert: error while loading shared libraries: libMagickCore-7.Q16HDRI.so.9:
# cannot open shared object file: No such file or directory
sudo ldconfig /usr/local/lib

# If for some reason you can't run ldconfig, you could also symlink
# the files directly.
# ln -s /usr/local/lib/libMagickCore-7.Q16HDRI.so.0 /usr/lib/x86_64-linux-gnu/libMagickCore-7.Q16HDRI.so.0
# ln -s /usr/local/lib/libMagickWand-7.Q16HDRI.so.0 /usr/lib/x86_64-linux-gnu/libMagickWand-7.Q16HDRI.so.0

make install -j 4


Youez - 2016 - github.com/yon3zu
LinuXploit