INSTALL.AWS_EC2.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. #!/bin/cat
  2. # $Id: INSTALL.AWS_EC2.txt,v 1.9 2022/05/17 14:32:47 gilles Exp gilles $
  3. This documentation is also located online at
  4. https://imapsync.lamiral.info/INSTALL.d/
  5. https://imapsync.lamiral.info/INSTALL.d/INSTALL.AWS_EC2.txt
  6. =======================================================================
  7. Installing imapsync on AWS EC2
  8. =======================================================================
  9. AWS: Amazon Web Service
  10. A) cat /etc/system-release
  11. Amazon Linux release 2 (Karoo)
  12. sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  13. sudo yum install imapsync
  14. imapsync --version
  15. 1.727
  16. To install a more recent imapsync
  17. sudo yum install perl-App-cpanminus \
  18. perl-Dist-CheckConflicts \
  19. perl-HTML-Parser \
  20. perl-libwww-perl \
  21. perl-Module-Implementation \
  22. perl-Module-ScanDeps \
  23. perl-Package-Stash \
  24. perl-Package-Stash-XS \
  25. perl-PAR-Packer \
  26. perl-Regexp-Common \
  27. perl-Sys-MemInfo \
  28. perl-Test-Fatal \
  29. perl-Test-Mock-Guard \
  30. perl-Test-Requires \
  31. perl-Test-Deep \
  32. perl-File-Tail \
  33. perl-Unicode-String \
  34. perl-Test-NoWarnings \
  35. perl-Test-Simple \
  36. perl-Test-Warn \
  37. perl-Sub-Uplevel \
  38. perl-Proc-ProcessTable
  39. sudo cpanm Encode::IMAPUTF7
  40. wget -N https://imapsync.lamiral.info/imapsync
  41. chmod +x imapsync
  42. ./imapsync --testslive
  43. ./imapsync --version # command typed on 14 April 2020
  44. 1.983
  45. sudo cpanm CGI
  46. B) Old Amazon Linux AMI release 2017.03
  47. cat /etc/system-release
  48. Amazon Linux AMI release 2017.03
  49. sudo yum install \
  50. perl-Class-Load \
  51. perl-IO-Compress \
  52. perl-Crypt-OpenSSL-RSA \
  53. perl-Data-Dumper \
  54. perl-Dist-CheckConflicts \
  55. perl-ExtUtils-Embed \
  56. perl-File-Copy-Recursive \
  57. perl-File-Tail \
  58. perl-IO-Socket-INET6 \
  59. perl-IO-Socket-SSL \
  60. perl-JSON \
  61. perl-HTML-Parser \
  62. perl-libwww-perl \
  63. perl-Mail-IMAPClient \
  64. perl-Module-Implementation \
  65. perl-Module-Runtime \
  66. perl-Module-ScanDeps \
  67. perl-Net-SSLeay \
  68. perl-Package-Stash \
  69. perl-Package-Stash-XS \
  70. perl-Parse-RecDescent \
  71. perl-Readonly \
  72. perl-Regexp-Common \
  73. perl-Sys-MemInfo \
  74. perl-TermReadKey \
  75. perl-Test-Fatal \
  76. perl-Test-MockObject \
  77. perl-Test-Simple \
  78. perl-Test-Pod \
  79. perl-Test-Requires \
  80. perl-Try-Tiny \
  81. perl-Unicode-String \
  82. perl-URI \
  83. perl-Proc-ProcessTable \
  84. cpanminus
  85. sudo cpanm Authen::NTLM Data::Uniqid IO::Tee \
  86. JSON::WebToken JSON::WebToken::Crypt::RSA \
  87. Test::Mock::Guard \
  88. Encode::IMAPUTF7
  89. wget -N https://imapsync.lamiral.info/imapsync
  90. chmod +x imapsync
  91. ./imapsync
  92. ./imapsync --testslive
  93. =======================================================================
  94. =======================================================================