Advertisement
Guest User

Untitled

a guest
Sep 25th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.68 KB | None | 0 0
  1. Last login: Thu Sep 20 11:24:21 on ttys008
  2. ActionJack@The-Eagle-of-Justice-2 ~/Downloads
  3. $ chmod 400 schedulekey.pem
  4. ActionJack@The-Eagle-of-Justice-2 ~/Downloads
  5. $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
  6. The authenticity of host 'ec2-18-188-165-15.us-east-2.compute.amazonaws.com (18.188.165.15)' can't be established.
  7. ECDSA key fingerprint is SHA256:shm3Uae30BUMHSpWH5TUbrcjhJ0pDRP/1fNZkeyVBu4.
  8. Are you sure you want to continue connecting (yes/no)?
  9. Host key verification failed.
  10. ActionJack@The-Eagle-of-Justice-2 ~/Downloads
  11. $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
  12. The authenticity of host 'ec2-18-188-165-15.us-east-2.compute.amazonaws.com (18.188.165.15)' can't be established.
  13. ECDSA key fingerprint is SHA256:shm3Uae30BUMHSpWH5TUbrcjhJ0pDRP/1fNZkeyVBu4.
  14. Are you sure you want to continue connecting (yes/no)? yes
  15. Warning: Permanently added 'ec2-18-188-165-15.us-east-2.compute.amazonaws.com,18.188.165.15' (ECDSA) to the list of known hosts.
  16. Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
  17.  
  18. * Documentation: https://help.ubuntu.com
  19. * Management: https://landscape.canonical.com
  20. * Support: https://ubuntu.com/advantage
  21.  
  22. Get cloud support with Ubuntu Advantage Cloud Guest:
  23. http://www.ubuntu.com/business/services/cloud
  24.  
  25. 0 packages can be updated.
  26. 0 updates are security updates.
  27.  
  28.  
  29.  
  30. The programs included with the Ubuntu system are free software;
  31. the exact distribution terms for each program are described in the
  32. individual files in /usr/share/doc/*/copyright.
  33.  
  34. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  35. applicable law.
  36.  
  37. To run a command as administrator (user "root"), use "sudo <command>".
  38. See "man sudo_root" for details.
  39.  
  40. ubuntu@ip-172-31-20-245:~$ sudo apt-get update
  41. Hit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
  42. Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  43. Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  44. Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
  45. Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
  46. Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
  47. Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
  48. Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
  49. Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
  50. Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
  51. Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
  52. Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
  53. Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Sources [321 kB]
  54. Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,528 B]
  55. Get:15 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [222 kB]
  56. Get:16 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [8,388 B]
  57. Get:17 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [849 kB]
  58. Get:18 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [347 kB]
  59. Get:19 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [690 kB]
  60. Get:20 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [279 kB]
  61. Get:21 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.4 kB]
  62. Get:22 http://security.ubuntu.com/ubuntu xenial-security/main Sources [134 kB]
  63. Get:23 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,344 B]
  64. Get:24 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Sources [4,488 B]
  65. Get:25 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [6,740 B]
  66. Get:26 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [6,756 B]
  67. Get:27 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [4,180 B]
  68. Get:28 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7,568 B]
  69. Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,048 B]
  70. Get:30 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B]
  71. Get:31 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [75.5 kB]
  72. Get:32 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [2,088 B]
  73. Get:33 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [556 kB]
  74. Get:34 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [235 kB]
  75. Get:35 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [379 kB]
  76. Get:36 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [144 kB]
  77. Get:37 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,460 B]
  78. Get:38 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,744 B]
  79. Fetched 25.5 MB in 4s (5,406 kB/s)
  80. Reading package lists... Done
  81. ubuntu@ip-172-31-20-245:~$ sudo apt-get install -y build-essential openssl libssl-dev pkg-config
  82. Reading package lists... Done
  83. Building dependency tree
  84. Reading state information... Done
  85. openssl is already the newest version (1.0.2g-1ubuntu4.13).
  86. The following additional packages will be installed:
  87. binutils cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5
  88. libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  89. libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl
  90. libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libisl15 libitm1
  91. liblsan0 libmpc3 libmpx0 libquadmath0 libssl-doc libstdc++-5-dev libtsan0
  92. libubsan0 linux-libc-dev make manpages-dev zlib1g-dev
  93. Suggested packages:
  94. binutils-doc cpp-doc gcc-5-locales debian-keyring g++-multilib
  95. g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-multilib autoconf automake
  96. libtool flex bison gdb gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg
  97. libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg
  98. libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg glibc-doc
  99. libstdc++-5-doc make-doc
  100. The following NEW packages will be installed:
  101. binutils build-essential cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5
  102. libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  103. libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl
  104. libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libisl15 libitm1
  105. liblsan0 libmpc3 libmpx0 libquadmath0 libssl-dev libssl-doc libstdc++-5-dev
  106. libtsan0 libubsan0 linux-libc-dev make manpages-dev pkg-config zlib1g-dev
  107. 0 upgraded, 40 newly installed, 0 to remove and 14 not upgraded.
  108. Need to get 40.8 MB of archives.
  109. After this operation, 154 MB of additional disk space will be used.
  110. Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 1.0.3-1 [39.7 kB]
  111. Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils amd64 2.26.1-1ubuntu1~16.04.7 [2,309 kB]
  112. Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-dev-bin amd64 2.23-0ubuntu10 [68.7 kB]
  113. Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-libc-dev amd64 4.4.0-135.161 [868 kB]
  114. Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc6-dev amd64 2.23-0ubuntu10 [2,079 kB]
  115. Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
  116. Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.10 [7,671 kB]
  117. Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
  118. Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.10 [38.8 kB]
  119. Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.10 [55.1 kB]
  120. Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.10 [27.4 kB]
  121. Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.10 [8,888 B]
  122. Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.10 [264 kB]
  123. Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.10 [105 kB]
  124. Get:15 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.10 [244 kB]
  125. Get:16 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.10 [95.3 kB]
  126. Get:17 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.10 [40.1 kB]
  127. Get:18 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.10 [9,764 B]
  128. Get:19 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.10 [131 kB]
  129. Get:20 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.10 [2,228 kB]
  130. Get:21 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.10 [8,426 kB]
  131. Get:22 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5,244 B]
  132. Get:23 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.10 [1,426 kB]
  133. Get:24 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.10 [8,319 kB]
  134. Get:25 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
  135. Get:26 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
  136. Get:27 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.4 [195 kB]
  137. Get:28 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.4 [584 kB]
  138. Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
  139. Get:30 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
  140. Get:31 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
  141. Get:32 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
  142. Get:33 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
  143. Get:34 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
  144. Get:35 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfile-fcntllock-perl amd64 0.22-3 [32.0 kB]
  145. Get:36 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4.1 [168 kB]
  146. Get:37 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4.13 [1,342 kB]
  147. Get:38 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-doc all 1.0.2g-1ubuntu4.13 [1,079 kB]
  148. Get:39 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 manpages-dev all 4.04-2 [2,048 kB]
  149. Get:40 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
  150. Fetched 40.8 MB in 0s (50.2 MB/s)
  151. Extracting templates from packages: 100%
  152. Selecting previously unselected package libmpc3:amd64.
  153. (Reading database ... 51284 files and directories currently installed.)
  154. Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
  155. Unpacking libmpc3:amd64 (1.0.3-1) ...
  156. Selecting previously unselected package binutils.
  157. Preparing to unpack .../binutils_2.26.1-1ubuntu1~16.04.7_amd64.deb ...
  158. Unpacking binutils (2.26.1-1ubuntu1~16.04.7) ...
  159. Selecting previously unselected package libc-dev-bin.
  160. Preparing to unpack .../libc-dev-bin_2.23-0ubuntu10_amd64.deb ...
  161. Unpacking libc-dev-bin (2.23-0ubuntu10) ...
  162. Selecting previously unselected package linux-libc-dev:amd64.
  163. Preparing to unpack .../linux-libc-dev_4.4.0-135.161_amd64.deb ...
  164. Unpacking linux-libc-dev:amd64 (4.4.0-135.161) ...
  165. Selecting previously unselected package libc6-dev:amd64.
  166. Preparing to unpack .../libc6-dev_2.23-0ubuntu10_amd64.deb ...
  167. Unpacking libc6-dev:amd64 (2.23-0ubuntu10) ...
  168. Selecting previously unselected package libisl15:amd64.
  169. Preparing to unpack .../libisl15_0.16.1-1_amd64.deb ...
  170. Unpacking libisl15:amd64 (0.16.1-1) ...
  171. Selecting previously unselected package cpp-5.
  172. Preparing to unpack .../cpp-5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  173. Unpacking cpp-5 (5.4.0-6ubuntu1~16.04.10) ...
  174. Selecting previously unselected package cpp.
  175. Preparing to unpack .../cpp_4%3a5.3.1-1ubuntu1_amd64.deb ...
  176. Unpacking cpp (4:5.3.1-1ubuntu1) ...
  177. Selecting previously unselected package libcc1-0:amd64.
  178. Preparing to unpack .../libcc1-0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  179. Unpacking libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  180. Selecting previously unselected package libgomp1:amd64.
  181. Preparing to unpack .../libgomp1_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  182. Unpacking libgomp1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  183. Selecting previously unselected package libitm1:amd64.
  184. Preparing to unpack .../libitm1_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  185. Unpacking libitm1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  186. Selecting previously unselected package libatomic1:amd64.
  187. Preparing to unpack .../libatomic1_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  188. Unpacking libatomic1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  189. Selecting previously unselected package libasan2:amd64.
  190. Preparing to unpack .../libasan2_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  191. Unpacking libasan2:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  192. Selecting previously unselected package liblsan0:amd64.
  193. Preparing to unpack .../liblsan0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  194. Unpacking liblsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  195. Selecting previously unselected package libtsan0:amd64.
  196. Preparing to unpack .../libtsan0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  197. Unpacking libtsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  198. Selecting previously unselected package libubsan0:amd64.
  199. Preparing to unpack .../libubsan0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  200. Unpacking libubsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  201. Selecting previously unselected package libcilkrts5:amd64.
  202. Preparing to unpack .../libcilkrts5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  203. Unpacking libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  204. Selecting previously unselected package libmpx0:amd64.
  205. Preparing to unpack .../libmpx0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  206. Unpacking libmpx0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  207. Selecting previously unselected package libquadmath0:amd64.
  208. Preparing to unpack .../libquadmath0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  209. Unpacking libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  210. Selecting previously unselected package libgcc-5-dev:amd64.
  211. Preparing to unpack .../libgcc-5-dev_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  212. Unpacking libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  213. Selecting previously unselected package gcc-5.
  214. Preparing to unpack .../gcc-5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  215. Unpacking gcc-5 (5.4.0-6ubuntu1~16.04.10) ...
  216. Selecting previously unselected package gcc.
  217. Preparing to unpack .../gcc_4%3a5.3.1-1ubuntu1_amd64.deb ...
  218. Unpacking gcc (4:5.3.1-1ubuntu1) ...
  219. Selecting previously unselected package libstdc++-5-dev:amd64.
  220. Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  221. Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  222. Selecting previously unselected package g++-5.
  223. Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
  224. Unpacking g++-5 (5.4.0-6ubuntu1~16.04.10) ...
  225. Selecting previously unselected package g++.
  226. Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
  227. Unpacking g++ (4:5.3.1-1ubuntu1) ...
  228. Selecting previously unselected package make.
  229. Preparing to unpack .../archives/make_4.1-6_amd64.deb ...
  230. Unpacking make (4.1-6) ...
  231. Selecting previously unselected package libdpkg-perl.
  232. Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1.4_all.deb ...
  233. Unpacking libdpkg-perl (1.18.4ubuntu1.4) ...
  234. Selecting previously unselected package dpkg-dev.
  235. Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.4_all.deb ...
  236. Unpacking dpkg-dev (1.18.4ubuntu1.4) ...
  237. Selecting previously unselected package build-essential.
  238. Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
  239. Unpacking build-essential (12.1ubuntu2) ...
  240. Selecting previously unselected package libfakeroot:amd64.
  241. Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
  242. Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
  243. Selecting previously unselected package fakeroot.
  244. Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
  245. Unpacking fakeroot (1.20.2-1ubuntu1) ...
  246. Selecting previously unselected package libalgorithm-diff-perl.
  247. Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
  248. Unpacking libalgorithm-diff-perl (1.19.03-1) ...
  249. Selecting previously unselected package libalgorithm-diff-xs-perl.
  250. Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
  251. Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
  252. Selecting previously unselected package libalgorithm-merge-perl.
  253. Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
  254. Unpacking libalgorithm-merge-perl (0.08-3) ...
  255. Selecting previously unselected package libfile-fcntllock-perl.
  256. Preparing to unpack .../libfile-fcntllock-perl_0.22-3_amd64.deb ...
  257. Unpacking libfile-fcntllock-perl (0.22-3) ...
  258. Selecting previously unselected package zlib1g-dev:amd64.
  259. Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4.1_amd64.deb ...
  260. Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
  261. Selecting previously unselected package libssl-dev:amd64.
  262. Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.13_amd64.deb ...
  263. Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.13) ...
  264. Selecting previously unselected package libssl-doc.
  265. Preparing to unpack .../libssl-doc_1.0.2g-1ubuntu4.13_all.deb ...
  266. Unpacking libssl-doc (1.0.2g-1ubuntu4.13) ...
  267. Selecting previously unselected package manpages-dev.
  268. Preparing to unpack .../manpages-dev_4.04-2_all.deb ...
  269. Unpacking manpages-dev (4.04-2) ...
  270. Selecting previously unselected package pkg-config.
  271. Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
  272. Unpacking pkg-config (0.29.1-0ubuntu1) ...
  273. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  274. Processing triggers for man-db (2.7.5-1) ...
  275. Setting up libmpc3:amd64 (1.0.3-1) ...
  276. Setting up binutils (2.26.1-1ubuntu1~16.04.7) ...
  277. Setting up libc-dev-bin (2.23-0ubuntu10) ...
  278. Setting up linux-libc-dev:amd64 (4.4.0-135.161) ...
  279. Setting up libc6-dev:amd64 (2.23-0ubuntu10) ...
  280. Setting up libisl15:amd64 (0.16.1-1) ...
  281. Setting up cpp-5 (5.4.0-6ubuntu1~16.04.10) ...
  282. Setting up cpp (4:5.3.1-1ubuntu1) ...
  283. Setting up libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  284. Setting up libgomp1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  285. Setting up libitm1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  286. Setting up libatomic1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  287. Setting up libasan2:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  288. Setting up liblsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  289. Setting up libtsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  290. Setting up libubsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  291. Setting up libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  292. Setting up libmpx0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  293. Setting up libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  294. Setting up libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  295. Setting up gcc-5 (5.4.0-6ubuntu1~16.04.10) ...
  296. Setting up gcc (4:5.3.1-1ubuntu1) ...
  297. Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
  298. Setting up g++-5 (5.4.0-6ubuntu1~16.04.10) ...
  299. Setting up g++ (4:5.3.1-1ubuntu1) ...
  300. update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
  301. Setting up make (4.1-6) ...
  302. Setting up libdpkg-perl (1.18.4ubuntu1.4) ...
  303. Setting up dpkg-dev (1.18.4ubuntu1.4) ...
  304. Setting up build-essential (12.1ubuntu2) ...
  305. Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
  306. Setting up fakeroot (1.20.2-1ubuntu1) ...
  307. update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
  308. Setting up libalgorithm-diff-perl (1.19.03-1) ...
  309. Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
  310. Setting up libalgorithm-merge-perl (0.08-3) ...
  311. Setting up libfile-fcntllock-perl (0.22-3) ...
  312. Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
  313. Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.13) ...
  314. Setting up libssl-doc (1.0.2g-1ubuntu4.13) ...
  315. Setting up manpages-dev (4.04-2) ...
  316. Setting up pkg-config (0.29.1-0ubuntu1) ...
  317. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  318. ubuntu@ip-172-31-20-245:~$ sudo apt-get install -y nodejs nodejs-legacy
  319. Reading package lists... Done
  320. Building dependency tree
  321. Reading state information... Done
  322. The following additional packages will be installed:
  323. libuv1
  324. The following NEW packages will be installed:
  325. libuv1 nodejs nodejs-legacy
  326. 0 upgraded, 3 newly installed, 0 to remove and 14 not upgraded.
  327. Need to get 3,247 kB of archives.
  328. After this operation, 13.5 MB of additional disk space will be used.
  329. Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libuv1 amd64 1.8.0-1 [57.4 kB]
  330. Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nodejs amd64 4.2.6~dfsg-1ubuntu4.2 [3,162 kB]
  331. Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nodejs-legacy all 4.2.6~dfsg-1ubuntu4.2 [27.9 kB]
  332. Fetched 3,247 kB in 0s (44.8 MB/s)
  333. Selecting previously unselected package libuv1:amd64.
  334. (Reading database ... 58206 files and directories currently installed.)
  335. Preparing to unpack .../libuv1_1.8.0-1_amd64.deb ...
  336. Unpacking libuv1:amd64 (1.8.0-1) ...
  337. Selecting previously unselected package nodejs.
  338. Preparing to unpack .../nodejs_4.2.6~dfsg-1ubuntu4.2_amd64.deb ...
  339. Unpacking nodejs (4.2.6~dfsg-1ubuntu4.2) ...
  340. Selecting previously unselected package nodejs-legacy.
  341. Preparing to unpack .../nodejs-legacy_4.2.6~dfsg-1ubuntu4.2_all.deb ...
  342. Unpacking nodejs-legacy (4.2.6~dfsg-1ubuntu4.2) ...
  343. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  344. Processing triggers for man-db (2.7.5-1) ...
  345. Setting up libuv1:amd64 (1.8.0-1) ...
  346. Setting up nodejs (4.2.6~dfsg-1ubuntu4.2) ...
  347. update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
  348. Setting up nodejs-legacy (4.2.6~dfsg-1ubuntu4.2) ...
  349. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  350. ubuntu@ip-172-31-20-245:~$ sudo apt-get install npm -y
  351. Reading package lists... Done
  352. Building dependency tree
  353. Reading state information... Done
  354. The following additional packages will be installed:
  355. gyp javascript-common libjs-inherits libjs-jquery libjs-node-uuid
  356. libjs-underscore libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
  357. libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async
  358. node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
  359. node-forever-agent node-form-data node-fstream node-fstream-ignore
  360. node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
  361. node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
  362. node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
  363. node-normalize-package-data node-npmlog node-once node-osenv node-qs
  364. node-read node-read-package-json node-request node-retry node-rimraf
  365. node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
  366. node-underscore node-which nodejs-dev python python-minimal
  367. python-pkg-resources python2.7 python2.7-minimal
  368. Suggested packages:
  369. apache2 | lighttpd | httpd node-hawk node-aws-sign node-oauth-sign
  370. node-http-signature debhelper python-doc python-tk python-setuptools
  371. python2.7-doc binfmt-support
  372. The following NEW packages will be installed:
  373. gyp javascript-common libjs-inherits libjs-jquery libjs-node-uuid
  374. libjs-underscore libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
  375. libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async
  376. node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
  377. node-forever-agent node-form-data node-fstream node-fstream-ignore
  378. node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
  379. node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
  380. node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
  381. node-normalize-package-data node-npmlog node-once node-osenv node-qs
  382. node-read node-read-package-json node-request node-retry node-rimraf
  383. node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
  384. node-underscore node-which nodejs-dev npm python python-minimal
  385. python-pkg-resources python2.7 python2.7-minimal
  386. 0 upgraded, 63 newly installed, 0 to remove and 14 not upgraded.
  387. Need to get 6,742 kB of archives.
  388. After this operation, 34.0 MB of additional disk space will be used.
  389. Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [340 kB]
  390. Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [1,261 kB]
  391. Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-minimal amd64 2.7.12-1~16.04 [28.1 kB]
  392. Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-stdlib amd64 2.7.12-1ubuntu0~16.04.3 [1,880 kB]
  393. Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.3 [224 kB]
  394. Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-stdlib amd64 2.7.12-1~16.04 [7,768 B]
  395. Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python amd64 2.7.12-1~16.04 [137 kB]
  396. Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
  397. Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 gyp all 0.1+20150913git1f374df9-1ubuntu1 [265 kB]
  398. Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 javascript-common all 11 [6,066 B]
  399. Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB]
  400. Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libjs-node-uuid all 1.4.0-1 [11.1 kB]
  401. Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-underscore all 1.7.0~dfsg-1ubuntu1 [46.7 kB]
  402. Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libuv1-dev amd64 1.8.0-1 [74.7 kB]
  403. Get:15 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-async all 0.8.0-1 [22.2 kB]
  404. Get:16 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-node-uuid all 1.4.0-1 [2,530 B]
  405. Get:17 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-underscore all 1.7.0~dfsg-1ubuntu1 [3,780 B]
  406. Get:18 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libjs-inherits all 2.0.1-3 [2,794 B]
  407. Get:19 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-abbrev all 1.0.5-2 [3,592 B]
  408. Get:20 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-ansi all 0.3.0-2 [8,590 B]
  409. Get:21 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-ansi-color-table all 1.0.0-1 [4,478 B]
  410. Get:22 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-archy all 0.0.2-1 [3,660 B]
  411. Get:23 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-inherits all 2.0.1-3 [3,060 B]
  412. Get:24 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-block-stream all 0.0.7-1 [4,832 B]
  413. Get:25 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-delayed-stream all 0.0.5-1 [4,750 B]
  414. Get:26 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-combined-stream all 0.0.5-1 [4,958 B]
  415. Get:27 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-cookie-jar all 0.3.1-1 [3,746 B]
  416. Get:28 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-forever-agent all 0.5.1-1 [3,194 B]
  417. Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-mime all 1.3.4-1 [11.9 kB]
  418. Get:30 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-form-data all 0.1.0-1 [6,412 B]
  419. Get:31 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-rimraf all 2.2.8-1 [5,702 B]
  420. Get:32 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-mkdirp all 0.5.0-1 [4,690 B]
  421. Get:33 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-graceful-fs all 3.0.2-1 [7,102 B]
  422. Get:34 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-fstream all 0.1.24-1 [19.5 kB]
  423. Get:35 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-lru-cache all 2.3.1-1 [5,674 B]
  424. Get:36 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-sigmund all 1.0.0-1 [3,818 B]
  425. Get:37 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-minimatch all 1.0.0-1 [14.0 kB]
  426. Get:38 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-fstream-ignore all 0.0.6-2 [5,586 B]
  427. Get:39 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-github-url-from-git all 1.1.1-1 [3,138 B]
  428. Get:40 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-once all 1.1.1-1 [2,608 B]
  429. Get:41 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-glob all 4.0.5-1 [13.2 kB]
  430. Get:42 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nodejs-dev amd64 4.2.6~dfsg-1ubuntu4.2 [265 kB]
  431. Get:43 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-nopt all 3.0.1-1 [9,544 B]
  432. Get:44 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-npmlog all 0.0.4-1 [5,844 B]
  433. Get:45 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-osenv all 0.1.0-1 [3,772 B]
  434. Get:46 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-tunnel-agent all 0.3.1-1 [4,018 B]
  435. Get:47 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-json-stringify-safe all 5.0.0-1 [3,544 B]
  436. Get:48 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-qs all 2.2.4-1 [7,574 B]
  437. Get:49 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-request all 2.26.1-1 [14.5 kB]
  438. Get:50 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-semver all 2.1.0-2 [16.2 kB]
  439. Get:51 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-tar all 1.0.3-2 [17.5 kB]
  440. Get:52 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-which all 1.0.5-2 [3,678 B]
  441. Get:53 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-gyp all 3.0.3-2ubuntu1 [23.2 kB]
  442. Get:54 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-ini all 1.1.0-1 [4,770 B]
  443. Get:55 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-lockfile all 0.4.1-1 [5,450 B]
  444. Get:56 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-mute-stream all 0.0.4-1 [4,096 B]
  445. Get:57 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-normalize-package-data all 0.2.2-1 [9,286 B]
  446. Get:58 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-read all 1.0.5-1 [4,314 B]
  447. Get:59 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-read-package-json all 1.2.4-1 [7,780 B]
  448. Get:60 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-retry all 0.6.0-1 [6,172 B]
  449. Get:61 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-sha all 1.2.3-1 [4,272 B]
  450. Get:62 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-slide all 1.1.4-1 [6,118 B]
  451. Get:63 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 npm all 3.5.2-0ubuntu4 [1,586 kB]
  452. Fetched 6,742 kB in 0s (7,837 kB/s)
  453. Extracting templates from packages: 100%
  454. Selecting previously unselected package libpython2.7-minimal:amd64.
  455. (Reading database ... 58274 files and directories currently installed.)
  456. Preparing to unpack .../libpython2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
  457. Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ...
  458. Selecting previously unselected package python2.7-minimal.
  459. Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
  460. Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ...
  461. Selecting previously unselected package python-minimal.
  462. Preparing to unpack .../python-minimal_2.7.12-1~16.04_amd64.deb ...
  463. Unpacking python-minimal (2.7.12-1~16.04) ...
  464. Selecting previously unselected package libpython2.7-stdlib:amd64.
  465. Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
  466. Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ...
  467. Selecting previously unselected package python2.7.
  468. Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
  469. Unpacking python2.7 (2.7.12-1ubuntu0~16.04.3) ...
  470. Selecting previously unselected package libpython-stdlib:amd64.
  471. Preparing to unpack .../libpython-stdlib_2.7.12-1~16.04_amd64.deb ...
  472. Unpacking libpython-stdlib:amd64 (2.7.12-1~16.04) ...
  473. Processing triggers for man-db (2.7.5-1) ...
  474. Processing triggers for mime-support (3.59ubuntu1) ...
  475. Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ...
  476. Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ...
  477. Linking and byte-compiling packages for runtime python2.7...
  478. Setting up python-minimal (2.7.12-1~16.04) ...
  479. Selecting previously unselected package python.
  480. (Reading database ... 59020 files and directories currently installed.)
  481. Preparing to unpack .../python_2.7.12-1~16.04_amd64.deb ...
  482. Unpacking python (2.7.12-1~16.04) ...
  483. Selecting previously unselected package python-pkg-resources.
  484. Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
  485. Unpacking python-pkg-resources (20.7.0-1) ...
  486. Selecting previously unselected package gyp.
  487. Preparing to unpack .../gyp_0.1+20150913git1f374df9-1ubuntu1_all.deb ...
  488. Unpacking gyp (0.1+20150913git1f374df9-1ubuntu1) ...
  489. Selecting previously unselected package javascript-common.
  490. Preparing to unpack .../javascript-common_11_all.deb ...
  491. Unpacking javascript-common (11) ...
  492. Selecting previously unselected package libjs-jquery.
  493. Preparing to unpack .../libjs-jquery_1.11.3+dfsg-4_all.deb ...
  494. Unpacking libjs-jquery (1.11.3+dfsg-4) ...
  495. Selecting previously unselected package libjs-node-uuid.
  496. Preparing to unpack .../libjs-node-uuid_1.4.0-1_all.deb ...
  497. Unpacking libjs-node-uuid (1.4.0-1) ...
  498. Selecting previously unselected package libjs-underscore.
  499. Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1ubuntu1_all.deb ...
  500. Unpacking libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
  501. Selecting previously unselected package libuv1-dev:amd64.
  502. Preparing to unpack .../libuv1-dev_1.8.0-1_amd64.deb ...
  503. Unpacking libuv1-dev:amd64 (1.8.0-1) ...
  504. Selecting previously unselected package node-async.
  505. Preparing to unpack .../node-async_0.8.0-1_all.deb ...
  506. Unpacking node-async (0.8.0-1) ...
  507. Selecting previously unselected package node-node-uuid.
  508. Preparing to unpack .../node-node-uuid_1.4.0-1_all.deb ...
  509. Unpacking node-node-uuid (1.4.0-1) ...
  510. Selecting previously unselected package node-underscore.
  511. Preparing to unpack .../node-underscore_1.7.0~dfsg-1ubuntu1_all.deb ...
  512. Unpacking node-underscore (1.7.0~dfsg-1ubuntu1) ...
  513. Selecting previously unselected package libjs-inherits.
  514. Preparing to unpack .../libjs-inherits_2.0.1-3_all.deb ...
  515. Unpacking libjs-inherits (2.0.1-3) ...
  516. Selecting previously unselected package node-abbrev.
  517. Preparing to unpack .../node-abbrev_1.0.5-2_all.deb ...
  518. Unpacking node-abbrev (1.0.5-2) ...
  519. Selecting previously unselected package node-ansi.
  520. Preparing to unpack .../node-ansi_0.3.0-2_all.deb ...
  521. Unpacking node-ansi (0.3.0-2) ...
  522. Selecting previously unselected package node-ansi-color-table.
  523. Preparing to unpack .../node-ansi-color-table_1.0.0-1_all.deb ...
  524. Unpacking node-ansi-color-table (1.0.0-1) ...
  525. Selecting previously unselected package node-archy.
  526. Preparing to unpack .../node-archy_0.0.2-1_all.deb ...
  527. Unpacking node-archy (0.0.2-1) ...
  528. Selecting previously unselected package node-inherits.
  529. Preparing to unpack .../node-inherits_2.0.1-3_all.deb ...
  530. Unpacking node-inherits (2.0.1-3) ...
  531. Selecting previously unselected package node-block-stream.
  532. Preparing to unpack .../node-block-stream_0.0.7-1_all.deb ...
  533. Unpacking node-block-stream (0.0.7-1) ...
  534. Selecting previously unselected package node-delayed-stream.
  535. Preparing to unpack .../node-delayed-stream_0.0.5-1_all.deb ...
  536. Unpacking node-delayed-stream (0.0.5-1) ...
  537. Selecting previously unselected package node-combined-stream.
  538. Preparing to unpack .../node-combined-stream_0.0.5-1_all.deb ...
  539. Unpacking node-combined-stream (0.0.5-1) ...
  540. Selecting previously unselected package node-cookie-jar.
  541. Preparing to unpack .../node-cookie-jar_0.3.1-1_all.deb ...
  542. Unpacking node-cookie-jar (0.3.1-1) ...
  543. Selecting previously unselected package node-forever-agent.
  544. Preparing to unpack .../node-forever-agent_0.5.1-1_all.deb ...
  545. Unpacking node-forever-agent (0.5.1-1) ...
  546. Selecting previously unselected package node-mime.
  547. Preparing to unpack .../node-mime_1.3.4-1_all.deb ...
  548. Unpacking node-mime (1.3.4-1) ...
  549. Selecting previously unselected package node-form-data.
  550. Preparing to unpack .../node-form-data_0.1.0-1_all.deb ...
  551. Unpacking node-form-data (0.1.0-1) ...
  552. Selecting previously unselected package node-rimraf.
  553. Preparing to unpack .../node-rimraf_2.2.8-1_all.deb ...
  554. Unpacking node-rimraf (2.2.8-1) ...
  555. Selecting previously unselected package node-mkdirp.
  556. Preparing to unpack .../node-mkdirp_0.5.0-1_all.deb ...
  557. Unpacking node-mkdirp (0.5.0-1) ...
  558. Selecting previously unselected package node-graceful-fs.
  559. Preparing to unpack .../node-graceful-fs_3.0.2-1_all.deb ...
  560. Unpacking node-graceful-fs (3.0.2-1) ...
  561. Selecting previously unselected package node-fstream.
  562. Preparing to unpack .../node-fstream_0.1.24-1_all.deb ...
  563. Unpacking node-fstream (0.1.24-1) ...
  564. Selecting previously unselected package node-lru-cache.
  565. Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ...
  566. Unpacking node-lru-cache (2.3.1-1) ...
  567. Selecting previously unselected package node-sigmund.
  568. Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ...
  569. Unpacking node-sigmund (1.0.0-1) ...
  570. Selecting previously unselected package node-minimatch.
  571. Preparing to unpack .../node-minimatch_1.0.0-1_all.deb ...
  572. Unpacking node-minimatch (1.0.0-1) ...
  573. Selecting previously unselected package node-fstream-ignore.
  574. Preparing to unpack .../node-fstream-ignore_0.0.6-2_all.deb ...
  575. Unpacking node-fstream-ignore (0.0.6-2) ...
  576. Selecting previously unselected package node-github-url-from-git.
  577. Preparing to unpack .../node-github-url-from-git_1.1.1-1_all.deb ...
  578. Unpacking node-github-url-from-git (1.1.1-1) ...
  579. Selecting previously unselected package node-once.
  580. Preparing to unpack .../node-once_1.1.1-1_all.deb ...
  581. Unpacking node-once (1.1.1-1) ...
  582. Selecting previously unselected package node-glob.
  583. Preparing to unpack .../node-glob_4.0.5-1_all.deb ...
  584. Unpacking node-glob (4.0.5-1) ...
  585. Selecting previously unselected package nodejs-dev.
  586. Preparing to unpack .../nodejs-dev_4.2.6~dfsg-1ubuntu4.2_amd64.deb ...
  587. Unpacking nodejs-dev (4.2.6~dfsg-1ubuntu4.2) ...
  588. Selecting previously unselected package node-nopt.
  589. Preparing to unpack .../node-nopt_3.0.1-1_all.deb ...
  590. Unpacking node-nopt (3.0.1-1) ...
  591. Selecting previously unselected package node-npmlog.
  592. Preparing to unpack .../node-npmlog_0.0.4-1_all.deb ...
  593. Unpacking node-npmlog (0.0.4-1) ...
  594. Selecting previously unselected package node-osenv.
  595. Preparing to unpack .../node-osenv_0.1.0-1_all.deb ...
  596. Unpacking node-osenv (0.1.0-1) ...
  597. Selecting previously unselected package node-tunnel-agent.
  598. Preparing to unpack .../node-tunnel-agent_0.3.1-1_all.deb ...
  599. Unpacking node-tunnel-agent (0.3.1-1) ...
  600. Selecting previously unselected package node-json-stringify-safe.
  601. Preparing to unpack .../node-json-stringify-safe_5.0.0-1_all.deb ...
  602. Unpacking node-json-stringify-safe (5.0.0-1) ...
  603. Selecting previously unselected package node-qs.
  604. Preparing to unpack .../node-qs_2.2.4-1_all.deb ...
  605. Unpacking node-qs (2.2.4-1) ...
  606. Selecting previously unselected package node-request.
  607. Preparing to unpack .../node-request_2.26.1-1_all.deb ...
  608. Unpacking node-request (2.26.1-1) ...
  609. Selecting previously unselected package node-semver.
  610. Preparing to unpack .../node-semver_2.1.0-2_all.deb ...
  611. Unpacking node-semver (2.1.0-2) ...
  612. Selecting previously unselected package node-tar.
  613. Preparing to unpack .../node-tar_1.0.3-2_all.deb ...
  614. Unpacking node-tar (1.0.3-2) ...
  615. Selecting previously unselected package node-which.
  616. Preparing to unpack .../node-which_1.0.5-2_all.deb ...
  617. Unpacking node-which (1.0.5-2) ...
  618. Selecting previously unselected package node-gyp.
  619. Preparing to unpack .../node-gyp_3.0.3-2ubuntu1_all.deb ...
  620. Unpacking node-gyp (3.0.3-2ubuntu1) ...
  621. Selecting previously unselected package node-ini.
  622. Preparing to unpack .../node-ini_1.1.0-1_all.deb ...
  623. Unpacking node-ini (1.1.0-1) ...
  624. Selecting previously unselected package node-lockfile.
  625. Preparing to unpack .../node-lockfile_0.4.1-1_all.deb ...
  626. Unpacking node-lockfile (0.4.1-1) ...
  627. Selecting previously unselected package node-mute-stream.
  628. Preparing to unpack .../node-mute-stream_0.0.4-1_all.deb ...
  629. Unpacking node-mute-stream (0.0.4-1) ...
  630. Selecting previously unselected package node-normalize-package-data.
  631. Preparing to unpack .../node-normalize-package-data_0.2.2-1_all.deb ...
  632. Unpacking node-normalize-package-data (0.2.2-1) ...
  633. Selecting previously unselected package node-read.
  634. Preparing to unpack .../node-read_1.0.5-1_all.deb ...
  635. Unpacking node-read (1.0.5-1) ...
  636. Selecting previously unselected package node-read-package-json.
  637. Preparing to unpack .../node-read-package-json_1.2.4-1_all.deb ...
  638. Unpacking node-read-package-json (1.2.4-1) ...
  639. Selecting previously unselected package node-retry.
  640. Preparing to unpack .../node-retry_0.6.0-1_all.deb ...
  641. Unpacking node-retry (0.6.0-1) ...
  642. Selecting previously unselected package node-sha.
  643. Preparing to unpack .../node-sha_1.2.3-1_all.deb ...
  644. Unpacking node-sha (1.2.3-1) ...
  645. Selecting previously unselected package node-slide.
  646. Preparing to unpack .../node-slide_1.1.4-1_all.deb ...
  647. Unpacking node-slide (1.1.4-1) ...
  648. Selecting previously unselected package npm.
  649. Preparing to unpack .../npm_3.5.2-0ubuntu4_all.deb ...
  650. Unpacking npm (3.5.2-0ubuntu4) ...
  651. Processing triggers for man-db (2.7.5-1) ...
  652. Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ...
  653. Setting up python2.7 (2.7.12-1ubuntu0~16.04.3) ...
  654. Setting up libpython-stdlib:amd64 (2.7.12-1~16.04) ...
  655. Setting up python (2.7.12-1~16.04) ...
  656. Setting up python-pkg-resources (20.7.0-1) ...
  657. Setting up gyp (0.1+20150913git1f374df9-1ubuntu1) ...
  658. Setting up javascript-common (11) ...
  659. Setting up libjs-jquery (1.11.3+dfsg-4) ...
  660. Setting up libjs-node-uuid (1.4.0-1) ...
  661. Setting up libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
  662. Setting up libuv1-dev:amd64 (1.8.0-1) ...
  663. Setting up node-async (0.8.0-1) ...
  664. Setting up node-node-uuid (1.4.0-1) ...
  665. Setting up node-underscore (1.7.0~dfsg-1ubuntu1) ...
  666. Setting up libjs-inherits (2.0.1-3) ...
  667. Setting up node-abbrev (1.0.5-2) ...
  668. Setting up node-ansi (0.3.0-2) ...
  669. Setting up node-ansi-color-table (1.0.0-1) ...
  670. Setting up node-archy (0.0.2-1) ...
  671. Setting up node-inherits (2.0.1-3) ...
  672. Setting up node-block-stream (0.0.7-1) ...
  673. Setting up node-delayed-stream (0.0.5-1) ...
  674. Setting up node-combined-stream (0.0.5-1) ...
  675. Setting up node-cookie-jar (0.3.1-1) ...
  676. Setting up node-forever-agent (0.5.1-1) ...
  677. Setting up node-mime (1.3.4-1) ...
  678. Setting up node-form-data (0.1.0-1) ...
  679. Setting up node-rimraf (2.2.8-1) ...
  680. Setting up node-mkdirp (0.5.0-1) ...
  681. Setting up node-graceful-fs (3.0.2-1) ...
  682. Setting up node-fstream (0.1.24-1) ...
  683. Setting up node-lru-cache (2.3.1-1) ...
  684. Setting up node-sigmund (1.0.0-1) ...
  685. Setting up node-minimatch (1.0.0-1) ...
  686. Setting up node-fstream-ignore (0.0.6-2) ...
  687. Setting up node-github-url-from-git (1.1.1-1) ...
  688. Setting up node-once (1.1.1-1) ...
  689. Setting up node-glob (4.0.5-1) ...
  690. Setting up nodejs-dev (4.2.6~dfsg-1ubuntu4.2) ...
  691. Setting up node-nopt (3.0.1-1) ...
  692. Setting up node-npmlog (0.0.4-1) ...
  693. Setting up node-osenv (0.1.0-1) ...
  694. Setting up node-tunnel-agent (0.3.1-1) ...
  695. Setting up node-json-stringify-safe (5.0.0-1) ...
  696. Setting up node-qs (2.2.4-1) ...
  697. Setting up node-request (2.26.1-1) ...
  698. Setting up node-semver (2.1.0-2) ...
  699. Setting up node-tar (1.0.3-2) ...
  700. Setting up node-which (1.0.5-2) ...
  701. Setting up node-gyp (3.0.3-2ubuntu1) ...
  702. Setting up node-ini (1.1.0-1) ...
  703. Setting up node-lockfile (0.4.1-1) ...
  704. Setting up node-mute-stream (0.0.4-1) ...
  705. Setting up node-normalize-package-data (0.2.2-1) ...
  706. Setting up node-read (1.0.5-1) ...
  707. Setting up node-read-package-json (1.2.4-1) ...
  708. Setting up node-retry (0.6.0-1) ...
  709. Setting up node-sha (1.2.3-1) ...
  710. Setting up node-slide (1.1.4-1) ...
  711. Setting up npm (3.5.2-0ubuntu4) ...
  712. ubuntu@ip-172-31-20-245:~$ sudo npm cache clean -f
  713. npm WARN using --force I sure hope you know what you are doing.
  714. ubuntu@ip-172-31-20-245:~$ sudo npm install -g n
  715. /usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
  716. /usr/local/lib
  717. └── n@2.1.12
  718.  
  719. ubuntu@ip-172-31-20-245:~$ sudo n stable
  720.  
  721. install : node-v10.10.0
  722. mkdir : /usr/local/n/versions/node/10.10.0
  723. fetch : https://nodejs.org/dist/v10.10.0/node-v10.10.0-linux-x64.tar.gz
  724. ######################################################################## 100.0%
  725. installed : v10.10.0
  726.  
  727. ubuntu@ip-172-31-20-245:~$ sudo npm install -g @angular/cli
  728. /usr/local/bin/ng -> /usr/local/lib/node_modules/@angular/cli/bin/ng
  729. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/@angular/cli/node_modules/fsevents):
  730. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  731.  
  732. + @angular/cli@6.2.3
  733. added 242 packages from 190 contributors in 11.094s
  734. ubuntu@ip-172-31-20-245:~$ sudo apt-get install nginx git -y
  735. Reading package lists... Done
  736. Building dependency tree
  737. Reading state information... Done
  738. git is already the newest version (1:2.7.4-0ubuntu1.4).
  739. The following additional packages will be installed:
  740. fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
  741. libjpeg-turbo8 libjpeg8 libtiff5 libvpx3 libxpm4 nginx-common nginx-core
  742. Suggested packages:
  743. libgd-tools fcgiwrap nginx-doc ssl-cert
  744. The following NEW packages will be installed:
  745. fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
  746. libjpeg-turbo8 libjpeg8 libtiff5 libvpx3 libxpm4 nginx nginx-common
  747. nginx-core
  748. 0 upgraded, 13 newly installed, 0 to remove and 14 not upgraded.
  749. Need to get 2,857 kB of archives.
  750. After this operation, 9,307 kB of additional disk space will be used.
  751. Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3.1 [111 kB]
  752. Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjbig0 amd64 2.1-3.1 [26.6 kB]
  753. Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 fonts-dejavu-core all 2.35-1 [1,039 kB]
  754. Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 fontconfig-config all 2.11.94-0ubuntu1.1 [49.9 kB]
  755. Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu1.1 [131 kB]
  756. Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2,194 B]
  757. Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5 amd64 4.0.6-1ubuntu0.4 [148 kB]
  758. Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libvpx3 amd64 1.5.0-2ubuntu1 [732 kB]
  759. Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxpm4 amd64 1:3.5.11-1ubuntu0.16.04.1 [33.8 kB]
  760. Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgd3 amd64 2.1.1-4ubuntu0.16.04.10 [126 kB]
  761. Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-common all 1.10.3-0ubuntu0.16.04.2 [26.6 kB]
  762. Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-core amd64 1.10.3-0ubuntu0.16.04.2 [428 kB]
  763. Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx all 1.10.3-0ubuntu0.16.04.2 [3,490 B]
  764. Fetched 2,857 kB in 0s (27.7 MB/s)
  765. Preconfiguring packages ...
  766. Selecting previously unselected package libjpeg-turbo8:amd64.
  767. (Reading database ... 62671 files and directories currently installed.)
  768. Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3.1_amd64.deb ...
  769. Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
  770. Selecting previously unselected package libjbig0:amd64.
  771. Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
  772. Unpacking libjbig0:amd64 (2.1-3.1) ...
  773. Selecting previously unselected package fonts-dejavu-core.
  774. Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...
  775. Unpacking fonts-dejavu-core (2.35-1) ...
  776. Selecting previously unselected package fontconfig-config.
  777. Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ...
  778. Unpacking fontconfig-config (2.11.94-0ubuntu1.1) ...
  779. Selecting previously unselected package libfontconfig1:amd64.
  780. Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ...
  781. Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
  782. Selecting previously unselected package libjpeg8:amd64.
  783. Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
  784. Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
  785. Selecting previously unselected package libtiff5:amd64.
  786. Preparing to unpack .../libtiff5_4.0.6-1ubuntu0.4_amd64.deb ...
  787. Unpacking libtiff5:amd64 (4.0.6-1ubuntu0.4) ...
  788. Selecting previously unselected package libvpx3:amd64.
  789. Preparing to unpack .../libvpx3_1.5.0-2ubuntu1_amd64.deb ...
  790. Unpacking libvpx3:amd64 (1.5.0-2ubuntu1) ...
  791. Selecting previously unselected package libxpm4:amd64.
  792. Preparing to unpack .../libxpm4_1%3a3.5.11-1ubuntu0.16.04.1_amd64.deb ...
  793. Unpacking libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
  794. Selecting previously unselected package libgd3:amd64.
  795. Preparing to unpack .../libgd3_2.1.1-4ubuntu0.16.04.10_amd64.deb ...
  796. Unpacking libgd3:amd64 (2.1.1-4ubuntu0.16.04.10) ...
  797. Selecting previously unselected package nginx-common.
  798. Preparing to unpack .../nginx-common_1.10.3-0ubuntu0.16.04.2_all.deb ...
  799. Unpacking nginx-common (1.10.3-0ubuntu0.16.04.2) ...
  800. Selecting previously unselected package nginx-core.
  801. Preparing to unpack .../nginx-core_1.10.3-0ubuntu0.16.04.2_amd64.deb ...
  802. Unpacking nginx-core (1.10.3-0ubuntu0.16.04.2) ...
  803. Selecting previously unselected package nginx.
  804. Preparing to unpack .../nginx_1.10.3-0ubuntu0.16.04.2_all.deb ...
  805. Unpacking nginx (1.10.3-0ubuntu0.16.04.2) ...
  806. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  807. Processing triggers for man-db (2.7.5-1) ...
  808. Processing triggers for ureadahead (0.100.0-19) ...
  809. Processing triggers for ufw (0.35-0ubuntu2) ...
  810. Processing triggers for systemd (229-4ubuntu21.4) ...
  811. Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
  812. Setting up libjbig0:amd64 (2.1-3.1) ...
  813. Setting up fonts-dejavu-core (2.35-1) ...
  814. Setting up fontconfig-config (2.11.94-0ubuntu1.1) ...
  815. Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
  816. Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
  817. Setting up libtiff5:amd64 (4.0.6-1ubuntu0.4) ...
  818. Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
  819. Setting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
  820. Setting up libgd3:amd64 (2.1.1-4ubuntu0.16.04.10) ...
  821. Setting up nginx-common (1.10.3-0ubuntu0.16.04.2) ...
  822. Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...
  823. Setting up nginx (1.10.3-0ubuntu0.16.04.2) ...
  824. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  825. Processing triggers for systemd (229-4ubuntu21.4) ...
  826. Processing triggers for ureadahead (0.100.0-19) ...
  827. Processing triggers for ufw (0.35-0ubuntu2) ...
  828. ubuntu@ip-172-31-20-245:~$ cd /var/www
  829. ubuntu@ip-172-31-20-245:/var/www$ sudo git clone https://github.com/ActionPackedJack/Restaurant-Schedule
  830. Cloning into 'Restaurant-Schedule'...
  831. remote: Enumerating objects: 7927, done.
  832. remote: Counting objects: 100% (7927/7927), done.
  833. remote: Compressing objects: 100% (4592/4592), done.
  834. remote: Total 7927 (delta 2810), reused 7877 (delta 2760), pack-reused 0
  835. Receiving objects: 100% (7927/7927), 4.16 MiB | 0 bytes/s, done.
  836. Resolving deltas: 100% (2810/2810), done.
  837. Checking connectivity... done.
  838. ubuntu@ip-172-31-20-245:/var/www$ cd /etc/nginx/sites-available
  839. ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ sudo vim Restaurant-Scheduleubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ sudo rm default
  840. ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ sudo ln -s /etc/nginx/sites-available/Restaurant-Schedule /etc/nginx/sites-enabled/Restaurant-Schedule
  841. ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ sudo rm /etc/nginx/sites-enabled/default
  842. ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ sudo npm install pm2 -g
  843. /usr/local/bin/pm2 -> /usr/local/lib/node_modules/pm2/bin/pm2
  844. /usr/local/bin/pm2-dev -> /usr/local/lib/node_modules/pm2/bin/pm2-dev
  845. /usr/local/bin/pm2-docker -> /usr/local/lib/node_modules/pm2/bin/pm2-docker
  846. /usr/local/bin/pm2-runtime -> /usr/local/lib/node_modules/pm2/bin/pm2-runtime
  847. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/pm2/node_modules/fsevents):
  848. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  849.  
  850. + pm2@3.1.3
  851. added 258 packages from 224 contributors in 9.834s
  852. ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ cd /var/www
  853. ubuntu@ip-172-31-20-245:/var/www$ sudo chown -R ubuntu Restaurant-Schedule
  854. ubuntu@ip-172-31-20-245:/var/www$ cd Restaurant-Schedule
  855. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule$ npm install
  856. npm WARN Scheduling@1.0.0 No description
  857. npm WARN Scheduling@1.0.0 No repository field.
  858.  
  859. audited 153 packages in 1.329s
  860. found 0 vulnerabilities
  861.  
  862.  
  863. ┌──────────────────────────────────────────────────────────┐
  864. │ npm update check failed │
  865. │ Try running with sudo or get access │
  866. │ to the local update config store via │
  867. │ sudo chown -R $USER:$(id -gn $USER) /home/ubuntu/.config │
  868. └──────────────────────────────────────────────────────────┘
  869. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule$ cd public
  870. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ npm install
  871.  
  872. > node-sass@4.9.2 install /var/www/Restaurant-Schedule/public/node_modules/node-sass
  873. > node scripts/install.js
  874.  
  875. Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.2/linux-x64-64_binding.node
  876. Download complete..] - :
  877. Binary saved to /var/www/Restaurant-Schedule/public/node_modules/node-sass/vendor/linux-x64-64/binding.node
  878. Caching binary to /home/ubuntu/.npm/node-sass/4.9.2/linux-x64-64_binding.node
  879.  
  880. > node-sass@4.9.2 postinstall /var/www/Restaurant-Schedule/public/node_modules/node-sass
  881. > node scripts/build.js
  882.  
  883. Binary found at /var/www/Restaurant-Schedule/public/node_modules/node-sass/vendor/linux-x64-64/binding.node
  884. Testing binary
  885. Binary is fine
  886.  
  887. > @angular/cli@6.0.8 postinstall /var/www/Restaurant-Schedule/public/node_modules/@angular/cli
  888. > node ./bin/ng-update-message.js
  889.  
  890. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
  891. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  892.  
  893. added 1102 packages from 1279 contributors and audited 21866 packages in 25.619s
  894. found 14 vulnerabilities (9 low, 5 high)
  895. run `npm audit fix` to fix them, or `npm audit` for details
  896.  
  897. ┌──────────────────────────────────────────────────────────┐
  898. │ npm update check failed │
  899. │ Try running with sudo or get access │
  900. │ to the local update config store via │
  901. │ sudo chown -R $USER:$(id -gn $USER) /home/ubuntu/.config │
  902. └──────────────────────────────────────────────────────────┘
  903. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ ng build
  904. Your global Angular CLI version (6.2.3) is greater than your local
  905. version (6.0.8). The local Angular CLI version is used.
  906.  
  907. To disable this warning use "ng config -g cli.warnings.versionMismatch false".
  908. o Date: 2018-09-24T22:36:43.441Z
  909. Hash: f3f77865fd0b52359b99
  910. Time: 15558ms
  911. chunk {main} main.js, main.js.map (main) 82.6 kB [initial] [rendered]
  912. chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 227 kB [initial] [rendered]
  913. chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
  914. chunk {scripts} scripts.js, scripts.js.map (scripts) 87 kB [rendered]
  915. chunk {styles} styles.js, styles.js.map (styles) 15.6 kB [initial] [rendered]
  916. chunk {vendor} vendor.js, vendor.js.map (vendor) 4.23 MB [initial] [rendered]
  917. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
  918. Executing: /tmp/tmp.3X2B0t0psL/gpg.1.sh --keyserver
  919. hkp://keyserver.ubuntu.com:80
  920. --recv
  921. 9DA31620334BD75D9DCB49F368818C72E52529D4
  922. gpg: requesting key E52529D4 from hkp server keyserver.ubuntu.com
  923. gpg: key E52529D4: public key "MongoDB 4.0 Release Signing Key <packaging@mongodb.com>" imported
  924. gpg: Total number processed: 1
  925. gpg: imported: 1 (RSA: 1)
  926. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
  927. deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 multiverse
  928. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo apt-get updateHit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
  929. Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  930. Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  931. Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  932. Ign:5 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 InRelease
  933. Get:6 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 Release [2,495 B]
  934. Get:7 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 Release.gpg [801 B]
  935. Get:8 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0/multiverse amd64 Packages [3,434 B]
  936. Fetched 223 kB in 0s (278 kB/s)
  937. Reading package lists... Done
  938. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo apt-get install -y mongodb
  939. Reading package lists... Done
  940. Building dependency tree
  941. Reading state information... Done
  942. The following additional packages will be installed:
  943. libboost-filesystem1.58.0 libboost-program-options1.58.0
  944. libboost-system1.58.0 libboost-thread1.58.0 libgoogle-perftools4
  945. libpcrecpp0v5 libsnappy1v5 libtcmalloc-minimal4 libunwind8 libv8-3.14.5
  946. libyaml-cpp0.5v5 mongodb-clients mongodb-server
  947. The following NEW packages will be installed:
  948. libboost-filesystem1.58.0 libboost-program-options1.58.0
  949. libboost-system1.58.0 libboost-thread1.58.0 libgoogle-perftools4
  950. libpcrecpp0v5 libsnappy1v5 libtcmalloc-minimal4 libunwind8 libv8-3.14.5
  951. libyaml-cpp0.5v5 mongodb mongodb-clients mongodb-server
  952. 0 upgraded, 14 newly installed, 0 to remove and 14 not upgraded.
  953. Need to get 58.0 MB of archives.
  954. After this operation, 196 MB of additional disk space will be used.
  955. Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcrecpp0v5 amd64 2:8.38-3.1 [15.2 kB]
  956. Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost-system1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 [9,146 B]
  957. Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost-filesystem1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 [37.5 kB]
  958. Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost-program-options1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 [138 kB]
  959. Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost-thread1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 [47.0 kB]
  960. Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtcmalloc-minimal4 amd64 2.4-0ubuntu5.16.04.1 [105 kB]
  961. Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libunwind8 amd64 1.1-4.1 [46.5 kB]
  962. Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgoogle-perftools4 amd64 2.4-0ubuntu5.16.04.1 [187 kB]
  963. Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libv8-3.14.5 amd64 3.14.5.8-5ubuntu2 [1,189 kB]
  964. Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libyaml-cpp0.5v5 amd64 0.5.2-4ubuntu1~16.04.4 [159 kB]
  965. Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libsnappy1v5 amd64 1.1.3-2 [16.0 kB]
  966. Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 mongodb-clients amd64 1:2.6.10-0ubuntu1 [48.6 MB]
  967. Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 mongodb-server amd64 1:2.6.10-0ubuntu1 [7,425 kB]
  968. Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 mongodb amd64 1:2.6.10-0ubuntu1 [5,112 B]
  969. Fetched 58.0 MB in 1s (35.8 MB/s)
  970. Selecting previously unselected package libpcrecpp0v5:amd64.
  971. (Reading database ... 62875 files and directories currently installed.)
  972. Preparing to unpack .../libpcrecpp0v5_2%3a8.38-3.1_amd64.deb ...
  973. Unpacking libpcrecpp0v5:amd64 (2:8.38-3.1) ...
  974. Selecting previously unselected package libboost-system1.58.0:amd64.
  975. Preparing to unpack .../libboost-system1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
  976. Unpacking libboost-system1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  977. Selecting previously unselected package libboost-filesystem1.58.0:amd64.
  978. Preparing to unpack .../libboost-filesystem1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
  979. Unpacking libboost-filesystem1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  980. Selecting previously unselected package libboost-program-options1.58.0:amd64.
  981. Preparing to unpack .../libboost-program-options1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
  982. Unpacking libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  983. Selecting previously unselected package libboost-thread1.58.0:amd64.
  984. Preparing to unpack .../libboost-thread1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
  985. Unpacking libboost-thread1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  986. Selecting previously unselected package libtcmalloc-minimal4.
  987. Preparing to unpack .../libtcmalloc-minimal4_2.4-0ubuntu5.16.04.1_amd64.deb ...
  988. Unpacking libtcmalloc-minimal4 (2.4-0ubuntu5.16.04.1) ...
  989. Selecting previously unselected package libunwind8.
  990. Preparing to unpack .../libunwind8_1.1-4.1_amd64.deb ...
  991. Unpacking libunwind8 (1.1-4.1) ...
  992. Selecting previously unselected package libgoogle-perftools4.
  993. Preparing to unpack .../libgoogle-perftools4_2.4-0ubuntu5.16.04.1_amd64.deb ...
  994. Unpacking libgoogle-perftools4 (2.4-0ubuntu5.16.04.1) ...
  995. Selecting previously unselected package libv8-3.14.5.
  996. Preparing to unpack .../libv8-3.14.5_3.14.5.8-5ubuntu2_amd64.deb ...
  997. Unpacking libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
  998. Selecting previously unselected package libyaml-cpp0.5v5:amd64.
  999. Preparing to unpack .../libyaml-cpp0.5v5_0.5.2-4ubuntu1~16.04.4_amd64.deb ...
  1000. Unpacking libyaml-cpp0.5v5:amd64 (0.5.2-4ubuntu1~16.04.4) ...
  1001. Selecting previously unselected package libsnappy1v5:amd64.
  1002. Preparing to unpack .../libsnappy1v5_1.1.3-2_amd64.deb ...
  1003. Unpacking libsnappy1v5:amd64 (1.1.3-2) ...
  1004. Selecting previously unselected package mongodb-clients.
  1005. Preparing to unpack .../mongodb-clients_1%3a2.6.10-0ubuntu1_amd64.deb ...
  1006. Unpacking mongodb-clients (1:2.6.10-0ubuntu1) ...
  1007. Selecting previously unselected package mongodb-server.
  1008. Preparing to unpack .../mongodb-server_1%3a2.6.10-0ubuntu1_amd64.deb ...
  1009. Unpacking mongodb-server (1:2.6.10-0ubuntu1) ...
  1010. Selecting previously unselected package mongodb.
  1011. Preparing to unpack .../mongodb_1%3a2.6.10-0ubuntu1_amd64.deb ...
  1012. Unpacking mongodb (1:2.6.10-0ubuntu1) ...
  1013. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  1014. Processing triggers for man-db (2.7.5-1) ...
  1015. Processing triggers for systemd (229-4ubuntu21.4) ...
  1016. Processing triggers for ureadahead (0.100.0-19) ...
  1017. Setting up libpcrecpp0v5:amd64 (2:8.38-3.1) ...
  1018. Setting up libboost-system1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  1019. Setting up libboost-filesystem1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  1020. Setting up libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  1021. Setting up libboost-thread1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
  1022. Setting up libtcmalloc-minimal4 (2.4-0ubuntu5.16.04.1) ...
  1023. Setting up libunwind8 (1.1-4.1) ...
  1024. Setting up libgoogle-perftools4 (2.4-0ubuntu5.16.04.1) ...
  1025. Setting up libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
  1026. Setting up libyaml-cpp0.5v5:amd64 (0.5.2-4ubuntu1~16.04.4) ...
  1027. Setting up libsnappy1v5:amd64 (1.1.3-2) ...
  1028. Setting up mongodb-clients (1:2.6.10-0ubuntu1) ...
  1029. Setting up mongodb-server (1:2.6.10-0ubuntu1) ...
  1030. Adding system user `mongodb' (UID 112) ...
  1031. Adding new user `mongodb' (UID 112) with group `nogroup' ...
  1032. Not creating home directory `/var/lib/mongodb'.
  1033. Adding group `mongodb' (GID 116) ...
  1034. Done.
  1035. Adding user `mongodb' to group `mongodb' ...
  1036. Adding user mongodb to group mongodb
  1037. Done.
  1038. Setting up mongodb (1:2.6.10-0ubuntu1) ...
  1039. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  1040. Processing triggers for systemd (229-4ubuntu21.4) ...
  1041. Processing triggers for ureadahead (0.100.0-19) ...
  1042. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo mkdir /data
  1043. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo mkdir /data/dbubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo service mongod start
  1044. Failed to start mongod.service: Unit mongod.service not found.
  1045. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo mongod
  1046. mongod --help for help and startup options
  1047. 2018-09-24T22:39:43.517+0000 [initandlisten] MongoDB starting : pid=21595 port=27017 dbpath=/data/db 64-bit host=ip-172-31-20-245
  1048. 2018-09-24T22:39:43.517+0000 [initandlisten] db version v2.6.10
  1049. 2018-09-24T22:39:43.517+0000 [initandlisten] git version: nogitversion
  1050. 2018-09-24T22:39:43.517+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
  1051. 2018-09-24T22:39:43.517+0000 [initandlisten] build info: Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58
  1052. 2018-09-24T22:39:43.517+0000 [initandlisten] allocator: tcmalloc
  1053. 2018-09-24T22:39:43.517+0000 [initandlisten] options: {}
  1054. 2018-09-24T22:39:43.521+0000 [initandlisten] journal dir=/data/db/journal
  1055. 2018-09-24T22:39:43.521+0000 [initandlisten] recover : no journal files present, no recovery needed
  1056. 2018-09-24T22:39:43.636+0000 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017
  1057. 2018-09-24T22:39:43.636+0000 [initandlisten] ERROR: addr already in use
  1058. 2018-09-24T22:39:43.636+0000 [initandlisten] allocating new ns file /data/db/local.ns, filling with zeroes...
  1059. 2018-09-24T22:39:43.686+0000 [FileAllocator] allocating new datafile /data/db/local.0, filling with zeroes...
  1060. 2018-09-24T22:39:43.686+0000 [FileAllocator] creating directory /data/db/_tmp
  1061. 2018-09-24T22:39:43.689+0000 [FileAllocator] done allocating datafile /data/db/local.0, size: 64MB, took 0.001 secs
  1062. 2018-09-24T22:39:43.689+0000 [initandlisten] build index on: local.startup_log properties: { v: 1, key: { _id: 1 }, name: "_id_", ns: "local.startup_log" }
  1063. 2018-09-24T22:39:43.689+0000 [initandlisten] added index to empty collection
  1064. 2018-09-24T22:39:43.689+0000 [initandlisten] now exiting
  1065. 2018-09-24T22:39:43.689+0000 [initandlisten] dbexit:
  1066. 2018-09-24T22:39:43.689+0000 [initandlisten] shutdown: going to close listening sockets...
  1067. 2018-09-24T22:39:43.689+0000 [initandlisten] shutdown: going to flush diaglog...
  1068. 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: going to close sockets...
  1069. 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: waiting for fs preallocator...
  1070. 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: lock for final commit...
  1071. 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: final commit...
  1072. 2018-09-24T22:39:43.696+0000 [initandlisten] shutdown: closing all files...
  1073. 2018-09-24T22:39:43.696+0000 [initandlisten] closeAllFiles() finished
  1074. 2018-09-24T22:39:43.696+0000 [initandlisten] journalCleanup...
  1075. 2018-09-24T22:39:43.696+0000 [initandlisten] removeJournalFiles
  1076. 2018-09-24T22:39:43.697+0000 [initandlisten] shutdown: removing fs lock...
  1077. 2018-09-24T22:39:43.697+0000 [initandlisten] dbexit: really exiting now
  1078. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo systemctl enable mongod
  1079. Failed to execute operation: No such file or directory
  1080. ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ packet_write_wait: Connection to 18.188.165.15 port 22: Broken pipe
  1081. ActionJack@The-Eagle-of-Justice-2 ~/Downloads
  1082. $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
  1083. Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
  1084.  
  1085. * Documentation: https://help.ubuntu.com
  1086. * Management: https://landscape.canonical.com
  1087. * Support: https://ubuntu.com/advantage
  1088.  
  1089. Get cloud support with Ubuntu Advantage Cloud Guest:
  1090. http://www.ubuntu.com/business/services/cloud
  1091.  
  1092. 14 packages can be updated.
  1093. 14 updates are security updates.
  1094.  
  1095. New release '18.04.1 LTS' available.
  1096. Run 'do-release-upgrade' to upgrade to it.
  1097.  
  1098.  
  1099. Last login: Mon Sep 24 22:26:54 2018 from 24.148.83.27
  1100. ubuntu@ip-172-31-20-245:~$ cd var
  1101. -bash: cd: var: No such file or directory
  1102. ubuntu@ip-172-31-20-245:~$ cd www
  1103. -bash: cd: www: No such file or directory
  1104. ubuntu@ip-172-31-20-245:~$ mongo --version
  1105. MongoDB shell version: 2.6.10
  1106. ubuntu@ip-172-31-20-245:~$ mongod --version
  1107. db version v2.6.10
  1108. 2018-09-25T05:50:37.122+0000 git version: nogitversion
  1109. 2018-09-25T05:50:37.122+0000 OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
  1110. ubuntu@ip-172-31-20-245:~$ sudo mongodb
  1111. sudo: mongodb: command not found
  1112. ubuntu@ip-172-31-20-245:~$ sudo mongod
  1113. mongod --help for help and startup options
  1114. 2018-09-25T05:55:05.785+0000 [initandlisten] MongoDB starting : pid=22343 port=27017 dbpath=/data/db 64-bit host=ip-172-31-20-245
  1115. 2018-09-25T05:55:05.785+0000 [initandlisten] db version v2.6.10
  1116. 2018-09-25T05:55:05.785+0000 [initandlisten] git version: nogitversion
  1117. 2018-09-25T05:55:05.785+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
  1118. 2018-09-25T05:55:05.785+0000 [initandlisten] build info: Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58
  1119. 2018-09-25T05:55:05.786+0000 [initandlisten] allocator: tcmalloc
  1120. 2018-09-25T05:55:05.786+0000 [initandlisten] options: {}
  1121. 2018-09-25T05:55:05.788+0000 [initandlisten] journal dir=/data/db/journal
  1122. 2018-09-25T05:55:05.788+0000 [initandlisten] recover : no journal files present, no recovery needed
  1123. 2018-09-25T05:55:05.914+0000 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017
  1124. 2018-09-25T05:55:05.914+0000 [initandlisten] ERROR: addr already in use
  1125. 2018-09-25T05:55:05.914+0000 [initandlisten] now exiting
  1126. 2018-09-25T05:55:05.914+0000 [initandlisten] dbexit:
  1127. 2018-09-25T05:55:05.914+0000 [initandlisten] shutdown: going to close listening sockets...
  1128. 2018-09-25T05:55:05.914+0000 [initandlisten] shutdown: going to flush diaglog...
  1129. 2018-09-25T05:55:05.914+0000 [initandlisten] shutdown: going to close sockets...
  1130. 2018-09-25T05:55:05.915+0000 [initandlisten] shutdown: waiting for fs preallocator...
  1131. 2018-09-25T05:55:05.915+0000 [initandlisten] shutdown: lock for final commit...
  1132. 2018-09-25T05:55:05.915+0000 [initandlisten] shutdown: final commit...
  1133. 2018-09-25T05:55:05.918+0000 [initandlisten] shutdown: closing all files...
  1134. 2018-09-25T05:55:05.918+0000 [initandlisten] closeAllFiles() finished
  1135. 2018-09-25T05:55:05.918+0000 [initandlisten] journalCleanup...
  1136. 2018-09-25T05:55:05.918+0000 [initandlisten] removeJournalFiles
  1137. 2018-09-25T05:55:05.919+0000 [initandlisten] shutdown: removing fs lock...
  1138. 2018-09-25T05:55:05.919+0000 [initandlisten] dbexit: really exiting now
  1139. ubuntu@ip-172-31-20-245:~$ sudo mongod
  1140. mongod --help for help and startup options
  1141. 2018-09-25T05:57:39.702+0000 [initandlisten] MongoDB starting : pid=22356 port=27017 dbpath=/data/db 64-bit host=ip-172-31-20-245
  1142. 2018-09-25T05:57:39.702+0000 [initandlisten] db version v2.6.10
  1143. 2018-09-25T05:57:39.702+0000 [initandlisten] git version: nogitversion
  1144. 2018-09-25T05:57:39.703+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
  1145. 2018-09-25T05:57:39.703+0000 [initandlisten] build info: Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58
  1146. 2018-09-25T05:57:39.703+0000 [initandlisten] allocator: tcmalloc
  1147. 2018-09-25T05:57:39.703+0000 [initandlisten] options: {}
  1148. 2018-09-25T05:57:39.705+0000 [initandlisten] journal dir=/data/db/journal
  1149. 2018-09-25T05:57:39.705+0000 [initandlisten] recover : no journal files present, no recovery needed
  1150. 2018-09-25T05:57:39.820+0000 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017
  1151. 2018-09-25T05:57:39.820+0000 [initandlisten] ERROR: addr already in use
  1152. 2018-09-25T05:57:39.821+0000 [initandlisten] now exiting
  1153. 2018-09-25T05:57:39.821+0000 [initandlisten] dbexit:
  1154. 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: going to close listening sockets...
  1155. 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: going to flush diaglog...
  1156. 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: going to close sockets...
  1157. 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: waiting for fs preallocator...
  1158. 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: lock for final commit...
  1159. 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: final commit...
  1160. 2018-09-25T05:57:39.824+0000 [initandlisten] shutdown: closing all files...
  1161. 2018-09-25T05:57:39.824+0000 [initandlisten] closeAllFiles() finished
  1162. 2018-09-25T05:57:39.824+0000 [initandlisten] journalCleanup...
  1163. 2018-09-25T05:57:39.825+0000 [initandlisten] removeJournalFiles
  1164. 2018-09-25T05:57:39.826+0000 [initandlisten] shutdown: removing fs lock...
  1165. 2018-09-25T05:57:39.826+0000 [initandlisten] dbexit: really exiting now
  1166. ubuntu@ip-172-31-20-245:~$ ^C
  1167. ubuntu@ip-172-31-20-245:~$ ^C
  1168. ubuntu@ip-172-31-20-245:~$ sudo systemctl enable mongodConnection to ec2-18-188-165-15.us-east-2.compute.amazonaws.com closed by remote host.
  1169. Connection to ec2-18-188-165-15.us-east-2.compute.amazonaws.com closed.
  1170. ActionJack@The-Eagle-of-Justice-2 ~/Downloads
  1171. $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
  1172. Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
  1173.  
  1174. * Documentation: https://help.ubuntu.com
  1175. * Management: https://landscape.canonical.com
  1176. * Support: https://ubuntu.com/advantage
  1177.  
  1178. Get cloud support with Ubuntu Advantage Cloud Guest:
  1179. http://www.ubuntu.com/business/services/cloud
  1180.  
  1181. 14 packages can be updated.
  1182. 14 updates are security updates.
  1183.  
  1184. New release '18.04.1 LTS' available.
  1185. Run 'do-release-upgrade' to upgrade to it.
  1186.  
  1187.  
  1188. Last login: Tue Sep 25 05:47:34 2018 from 24.148.83.27
  1189. ubuntu@ip-172-31-20-245:~$ sudo mongod
  1190. mongod --help for help and startup options
  1191. 2018-09-25T06:04:14.317+0000 [initandlisten] MongoDB starting : pid=1411 port=27017 dbpath=/data/db 64-bit host=ip-172-31-20-245
  1192. 2018-09-25T06:04:14.317+0000 [initandlisten] db version v2.6.10
  1193. 2018-09-25T06:04:14.317+0000 [initandlisten] git version: nogitversion
  1194. 2018-09-25T06:04:14.317+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
  1195. 2018-09-25T06:04:14.317+0000 [initandlisten] build info: Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58
  1196. 2018-09-25T06:04:14.317+0000 [initandlisten] allocator: tcmalloc
  1197. 2018-09-25T06:04:14.317+0000 [initandlisten] options: {}
  1198. 2018-09-25T06:04:14.323+0000 [initandlisten] journal dir=/data/db/journal
  1199. 2018-09-25T06:04:14.323+0000 [initandlisten] recover : no journal files present, no recovery needed
  1200. 2018-09-25T06:04:14.476+0000 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017
  1201. 2018-09-25T06:04:14.476+0000 [initandlisten] ERROR: addr already in use
  1202. 2018-09-25T06:04:14.478+0000 [initandlisten] now exiting
  1203. 2018-09-25T06:04:14.478+0000 [initandlisten] dbexit:
  1204. 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: going to close listening sockets...
  1205. 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: going to flush diaglog...
  1206. 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: going to close sockets...
  1207. 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: waiting for fs preallocator...
  1208. 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: lock for final commit...
  1209. 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: final commit...
  1210. 2018-09-25T06:04:14.481+0000 [initandlisten] shutdown: closing all files...
  1211. 2018-09-25T06:04:14.481+0000 [initandlisten] closeAllFiles() finished
  1212. 2018-09-25T06:04:14.481+0000 [initandlisten] journalCleanup...
  1213. 2018-09-25T06:04:14.481+0000 [initandlisten] removeJournalFiles
  1214. 2018-09-25T06:04:14.483+0000 [initandlisten] shutdown: removing fs lock...
  1215. 2018-09-25T06:04:14.483+0000 [initandlisten] dbexit: really exiting now
  1216. ubuntu@ip-172-31-20-245:~$ Connection to ec2-18-188-165-15.us-east-2.compute.amazonaws.com closed by remote host.
  1217. Connection to ec2-18-188-165-15.us-east-2.compute.amazonaws.com closed.
  1218. ActionJack@The-Eagle-of-Justice-2 ~/Downloads
  1219. $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
  1220. Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
  1221.  
  1222. * Documentation: https://help.ubuntu.com
  1223. * Management: https://landscape.canonical.com
  1224. * Support: https://ubuntu.com/advantage
  1225.  
  1226. Get cloud support with Ubuntu Advantage Cloud Guest:
  1227. http://www.ubuntu.com/business/services/cloud
  1228.  
  1229. 14 packages can be updated.
  1230. 14 updates are security updates.
  1231.  
  1232. New release '18.04.1 LTS' available.
  1233. Run 'do-release-upgrade' to upgrade to it.
  1234.  
  1235.  
  1236. Last login: Tue Sep 25 06:04:07 2018 from 24.148.83.27
  1237. ubuntu@ip-172-31-20-245:~$ sudo service mongod status
  1238. ● mongod.service
  1239. Loaded: not-found (Reason: No such file or directory)
  1240. Active: inactive (dead)
  1241. ubuntu@ip-172-31-20-245:~$ sudo mongod status
  1242. Invalid command: status
  1243. Options:
  1244.  
  1245. General options:
  1246. -h [ --help ] show this usage information
  1247. --version show version information
  1248. -f [ --config ] arg configuration file specifying additional
  1249. options
  1250. -v [ --verbose ] [=arg(=v)] be more verbose (include multiple times for
  1251. more verbosity e.g. -vvvvv)
  1252. --quiet quieter output
  1253. --port arg specify port number - 27017 by default
  1254. --bind_ip arg comma separated list of ip addresses to
  1255. listen on - all local ips by default
  1256. --maxConns arg max number of simultaneous connections -
  1257. 1000000 by default
  1258. --logpath arg log file to send write to instead of stdout
  1259. - has to be a file, not directory
  1260. --syslog log to system's syslog facility instead of
  1261. file or stdout
  1262. --syslogFacility arg syslog facility used for monogdb syslog
  1263. message
  1264. --logappend append to logpath instead of over-writing
  1265. --timeStampFormat arg Desired format for timestamps in log
  1266. messages. One of ctime, iso8601-utc or
  1267. iso8601-local
  1268. --pidfilepath arg full path to pidfile (if not set, no pidfile
  1269. is created)
  1270. --keyFile arg private key for cluster authentication
  1271. --setParameter arg Set a configurable parameter
  1272. --httpinterface enable http interface
  1273. --clusterAuthMode arg Authentication mode used for cluster
  1274. authentication. Alternatives are
  1275. (keyFile|sendKeyFile|sendX509|x509)
  1276. --nounixsocket disable listening on unix sockets
  1277. --unixSocketPrefix arg alternative directory for UNIX domain
  1278. sockets (defaults to /tmp)
  1279. --fork fork server process
  1280. --auth run with security
  1281. --noauth run without security
  1282. --ipv6 enable IPv6 support (disabled by default)
  1283. --jsonp allow JSONP access via http (has security
  1284. implications)
  1285. --rest turn on simple rest api
  1286. --slowms arg (=100) value of slow for profile and console log
  1287. --profile arg 0=off 1=slow, 2=all
  1288. --cpu periodically show cpu and iowait utilization
  1289. --sysinfo print some diagnostic system information
  1290. --dbpath arg directory for datafiles - defaults to
  1291. /data/db
  1292. --directoryperdb each database will be stored in a separate
  1293. directory
  1294. --noIndexBuildRetry don't retry any index builds that were
  1295. interrupted by shutdown
  1296. --noprealloc disable data file preallocation - will often
  1297. hurt performance
  1298. --nssize arg (=16) .ns file size (in MB) for new databases
  1299. --quota limits each database to a certain number of
  1300. files (8 default)
  1301. --quotaFiles arg number of files allowed per db, implies
  1302. --quota
  1303. --smallfiles use a smaller default file size
  1304. --syncdelay arg (=60) seconds between disk syncs (0=never, but not
  1305. recommended)
  1306. --upgrade upgrade db if needed
  1307. --repair run repair on all dbs
  1308. --repairpath arg root directory for repair files - defaults
  1309. to dbpath
  1310. --noscripting disable scripting engine
  1311. --notablescan do not allow table scans
  1312. --journal enable journaling
  1313. --nojournal disable journaling (journaling is on by
  1314. default for 64 bit)
  1315. --journalOptions arg journal diagnostic options
  1316. --journalCommitInterval arg how often to group/batch commit (ms)
  1317. --shutdown kill a running server (for init scripts)
  1318.  
  1319. Replication options:
  1320. --oplogSize arg size to use (in MB) for replication op log.
  1321. default is 5% of disk space (i.e. large is
  1322. good)
  1323.  
  1324. Master/slave options (old; use replica sets instead):
  1325. --master master mode
  1326. --slave slave mode
  1327. --source arg when slave: specify master as <server:port>
  1328. --only arg when slave: specify a single database to
  1329. replicate
  1330. --slavedelay arg specify delay (in seconds) to be used when
  1331. applying master ops to slave
  1332. --autoresync automatically resync if slave data is stale
  1333.  
  1334. Replica set options:
  1335. --replSet arg arg is <setname>[/<optionalseedhostlist>]
  1336. --replIndexPrefetch arg specify index prefetching behavior (if
  1337. secondary) [none|_id_only|all]
  1338.  
  1339. Sharding options:
  1340. --configsvr declare this is a config db of a cluster;
  1341. default port 27019; default dir
  1342. /data/configdb
  1343. --shardsvr declare this is a shard db of a cluster;
  1344. default port 27018
  1345.  
  1346. SSL options:
  1347. --sslOnNormalPorts use ssl on configured ports
  1348. --sslMode arg set the SSL operation mode
  1349. (disabled|allowSSL|preferSSL|requireSSL)
  1350. --sslPEMKeyFile arg PEM file for ssl
  1351. --sslPEMKeyPassword arg PEM file password
  1352. --sslClusterFile arg Key file for internal SSL authentication
  1353. --sslClusterPassword arg Internal authentication key file password
  1354. --sslCAFile arg Certificate Authority file for SSL
  1355. --sslCRLFile arg Certificate Revocation List file for SSL
  1356. --sslWeakCertificateValidation allow client to connect without presenting a
  1357. certificate
  1358. --sslAllowInvalidHostnames Allow server certificates to provide
  1359. non-matching hostnames
  1360. --sslAllowInvalidCertificates allow connections to servers with invalid
  1361. certificates
  1362. --sslFIPSMode activate FIPS 140-2 mode at startup
  1363.  
  1364. ubuntu@ip-172-31-20-245:~$ sudo systemctl enable mongod
  1365. Failed to execute operation: No such file or directory
  1366. ubuntu@ip-172-31-20-245:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement