#!/bin/cat # $Id: INSTALL.AWS_EC2.txt,v 1.9 2022/05/17 14:32:47 gilles Exp gilles $ This documentation is also located online at https://imapsync.lamiral.info/INSTALL.d/ https://imapsync.lamiral.info/INSTALL.d/INSTALL.AWS_EC2.txt ======================================================================= Installing imapsync on AWS EC2 ======================================================================= AWS: Amazon Web Service A) cat /etc/system-release Amazon Linux release 2 (Karoo) sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum install imapsync imapsync --version 1.727 To install a more recent imapsync sudo yum install perl-App-cpanminus \ perl-Dist-CheckConflicts \ perl-HTML-Parser \ perl-libwww-perl \ perl-Module-Implementation \ perl-Module-ScanDeps \ perl-Package-Stash \ perl-Package-Stash-XS \ perl-PAR-Packer \ perl-Regexp-Common \ perl-Sys-MemInfo \ perl-Test-Fatal \ perl-Test-Mock-Guard \ perl-Test-Requires \ perl-Test-Deep \ perl-File-Tail \ perl-Unicode-String \ perl-Test-NoWarnings \ perl-Test-Simple \ perl-Test-Warn \ perl-Sub-Uplevel \ perl-Proc-ProcessTable sudo cpanm Encode::IMAPUTF7 wget -N https://imapsync.lamiral.info/imapsync chmod +x imapsync ./imapsync --testslive ./imapsync --version # command typed on 14 April 2020 1.983 sudo cpanm CGI B) Old Amazon Linux AMI release 2017.03 cat /etc/system-release Amazon Linux AMI release 2017.03 sudo yum install \ perl-Class-Load \ perl-IO-Compress \ perl-Crypt-OpenSSL-RSA \ perl-Data-Dumper \ perl-Dist-CheckConflicts \ perl-ExtUtils-Embed \ perl-File-Copy-Recursive \ perl-File-Tail \ perl-IO-Socket-INET6 \ perl-IO-Socket-SSL \ perl-JSON \ perl-HTML-Parser \ perl-libwww-perl \ perl-Mail-IMAPClient \ perl-Module-Implementation \ perl-Module-Runtime \ perl-Module-ScanDeps \ perl-Net-SSLeay \ perl-Package-Stash \ perl-Package-Stash-XS \ perl-Parse-RecDescent \ perl-Readonly \ perl-Regexp-Common \ perl-Sys-MemInfo \ perl-TermReadKey \ perl-Test-Fatal \ perl-Test-MockObject \ perl-Test-Simple \ perl-Test-Pod \ perl-Test-Requires \ perl-Try-Tiny \ perl-Unicode-String \ perl-URI \ perl-Proc-ProcessTable \ cpanminus sudo cpanm Authen::NTLM Data::Uniqid IO::Tee \ JSON::WebToken JSON::WebToken::Crypt::RSA \ Test::Mock::Guard \ Encode::IMAPUTF7 wget -N https://imapsync.lamiral.info/imapsync chmod +x imapsync ./imapsync ./imapsync --testslive ======================================================================= =======================================================================