#!/bin/bash echo "Install Imgproxy for Centos7"; cd $HOME; # Install and enable the EPEL RPM package on Amazon Linux 2 yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y; # Install the Remi repository configuration package yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y; # Install the yum-utils package (for the yum-config-manager command) yum install yum-utils -y; # Command to enable the repository yum-config-manager --enable remi; # Install libvips (+ development files and command-line tools) yum install vips vips-devel vips-tools -y; sudo cat >> /etc/bashrc <> /opt/imgproxy/etc/imgproxy.conf <> /etc/systemd/system/imgproxy.service <