Created
November 30, 2018 17:18
-
-
Save stephencweiss/268ea02bf0b8feb33bb1ae9e8193ba94 to your computer and use it in GitHub Desktop.
Installing nginx on AWS if outbound traffic is restricted
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ec2-user@ip-172-31-1-221 ~]$ sudo yum install nginx | |
Loaded plugins: priorities, update-motd, upgrade-helper | |
amzn-main | 2.1 kB 00:00:00 | |
amzn-updates | 2.5 kB 00:00:00 | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package nginx.x86_64 1:1.12.1-1.33.amzn1 will be installed | |
--> Processing Dependency: libprofiler.so.0()(64bit) for package: 1:nginx-1.12.1-1.33.amzn1.x86_64 | |
--> Running transaction check | |
---> Package gperftools-libs.x86_64 0:2.0-11.5.amzn1 will be installed | |
--> Processing Dependency: libunwind.so.8()(64bit) for package: gperftools-libs-2.0-11.5.amzn1.x86_64 | |
--> Running transaction check | |
---> Package libunwind.x86_64 0:1.1-10.8.amzn1 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
======================================================================================= | |
Package Arch Version Repository Size | |
======================================================================================= | |
Installing: | |
nginx x86_64 1:1.12.1-1.33.amzn1 amzn-main 561 k | |
Installing for dependencies: | |
gperftools-libs x86_64 2.0-11.5.amzn1 amzn-main 570 k | |
libunwind x86_64 1.1-10.8.amzn1 amzn-main 72 k | |
Transaction Summary | |
======================================================================================= | |
Install 1 Package (+2 Dependent packages) | |
Total download size: 1.2 M | |
Installed size: 2.9 M | |
Is this ok [y/d/N]: y | |
Downloading packages: | |
(1/3): libunwind-1.1-10.8.amzn1.x86_64.rpm | 72 kB 00:00:00 | |
(2/3): gperftools-libs-2.0-11.5.amzn1.x86_64.rpm | 570 kB 00:00:00 | |
(3/3): nginx-1.12.1-1.33.amzn1.x86_64.rpm | 561 kB 00:00:00 | |
--------------------------------------------------------------------------------------- | |
Total 1.6 MB/s | 1.2 MB 00:00 | |
Running transaction check | |
Running transaction test | |
Transaction test succeeded | |
Running transaction | |
Installing : libunwind-1.1-10.8.amzn1.x86_64 1/3 | |
Installing : gperftools-libs-2.0-11.5.amzn1.x86_64 2/3 | |
Installing : 1:nginx-1.12.1-1.33.amzn1.x86_64 3/3 | |
Verifying : libunwind-1.1-10.8.amzn1.x86_64 1/3 | |
Verifying : gperftools-libs-2.0-11.5.amzn1.x86_64 2/3 | |
Verifying : 1:nginx-1.12.1-1.33.amzn1.x86_64 3/3 | |
Installed: | |
nginx.x86_64 1:1.12.1-1.33.amzn1 | |
Dependency Installed: | |
gperftools-libs.x86_64 0:2.0-11.5.amzn1 libunwind.x86_64 0:1.1-10.8.amzn1 | |
Complete! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment