Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Thu Sep 20 11:24:21 on ttys008
- ActionJack@The-Eagle-of-Justice-2 ~/Downloads
- $ chmod 400 schedulekey.pem
- ActionJack@The-Eagle-of-Justice-2 ~/Downloads
- $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
- The authenticity of host 'ec2-18-188-165-15.us-east-2.compute.amazonaws.com (18.188.165.15)' can't be established.
- ECDSA key fingerprint is SHA256:shm3Uae30BUMHSpWH5TUbrcjhJ0pDRP/1fNZkeyVBu4.
- Are you sure you want to continue connecting (yes/no)?
- Host key verification failed.
- ActionJack@The-Eagle-of-Justice-2 ~/Downloads
- $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
- The authenticity of host 'ec2-18-188-165-15.us-east-2.compute.amazonaws.com (18.188.165.15)' can't be established.
- ECDSA key fingerprint is SHA256:shm3Uae30BUMHSpWH5TUbrcjhJ0pDRP/1fNZkeyVBu4.
- Are you sure you want to continue connecting (yes/no)? yes
- 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.
- Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 0 packages can be updated.
- 0 updates are security updates.
- The programs included with the Ubuntu system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
- applicable law.
- To run a command as administrator (user "root"), use "sudo <command>".
- See "man sudo_root" for details.
- ubuntu@ip-172-31-20-245:~$ sudo apt-get update
- Hit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
- Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
- Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
- Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
- Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
- Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
- Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
- Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
- Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
- Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
- Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
- Get:12 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
- Get:13 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Sources [321 kB]
- Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,528 B]
- Get:15 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [222 kB]
- Get:16 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [8,388 B]
- Get:17 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [849 kB]
- Get:18 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [347 kB]
- Get:19 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [690 kB]
- Get:20 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [279 kB]
- Get:21 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.4 kB]
- Get:22 http://security.ubuntu.com/ubuntu xenial-security/main Sources [134 kB]
- Get:23 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,344 B]
- Get:24 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Sources [4,488 B]
- Get:25 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [6,740 B]
- Get:26 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [6,756 B]
- Get:27 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [4,180 B]
- Get:28 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7,568 B]
- Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,048 B]
- Get:30 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B]
- Get:31 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [75.5 kB]
- Get:32 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [2,088 B]
- Get:33 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [556 kB]
- Get:34 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [235 kB]
- Get:35 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [379 kB]
- Get:36 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [144 kB]
- Get:37 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,460 B]
- Get:38 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,744 B]
- Fetched 25.5 MB in 4s (5,406 kB/s)
- Reading package lists... Done
- ubuntu@ip-172-31-20-245:~$ sudo apt-get install -y build-essential openssl libssl-dev pkg-config
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- openssl is already the newest version (1.0.2g-1ubuntu4.13).
- The following additional packages will be installed:
- binutils cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5
- libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
- libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl
- libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libisl15 libitm1
- liblsan0 libmpc3 libmpx0 libquadmath0 libssl-doc libstdc++-5-dev libtsan0
- libubsan0 linux-libc-dev make manpages-dev zlib1g-dev
- Suggested packages:
- binutils-doc cpp-doc gcc-5-locales debian-keyring g++-multilib
- g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-multilib autoconf automake
- libtool flex bison gdb gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg
- libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg
- libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg glibc-doc
- libstdc++-5-doc make-doc
- The following NEW packages will be installed:
- binutils build-essential cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5
- libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
- libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl
- libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libisl15 libitm1
- liblsan0 libmpc3 libmpx0 libquadmath0 libssl-dev libssl-doc libstdc++-5-dev
- libtsan0 libubsan0 linux-libc-dev make manpages-dev pkg-config zlib1g-dev
- 0 upgraded, 40 newly installed, 0 to remove and 14 not upgraded.
- Need to get 40.8 MB of archives.
- After this operation, 154 MB of additional disk space will be used.
- Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 1.0.3-1 [39.7 kB]
- 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]
- 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]
- 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]
- Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc6-dev amd64 2.23-0ubuntu10 [2,079 kB]
- Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
- 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]
- Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- Get:22 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5,244 B]
- 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]
- 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]
- Get:25 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
- Get:26 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
- Get:27 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.4 [195 kB]
- Get:28 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.4 [584 kB]
- Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
- Get:30 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
- Get:31 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
- 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]
- 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]
- Get:34 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
- Get:35 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfile-fcntllock-perl amd64 0.22-3 [32.0 kB]
- 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]
- 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]
- 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]
- Get:39 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 manpages-dev all 4.04-2 [2,048 kB]
- Get:40 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 pkg-config amd64 0.29.1-0ubuntu1 [45.0 kB]
- Fetched 40.8 MB in 0s (50.2 MB/s)
- Extracting templates from packages: 100%
- Selecting previously unselected package libmpc3:amd64.
- (Reading database ... 51284 files and directories currently installed.)
- Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
- Unpacking libmpc3:amd64 (1.0.3-1) ...
- Selecting previously unselected package binutils.
- Preparing to unpack .../binutils_2.26.1-1ubuntu1~16.04.7_amd64.deb ...
- Unpacking binutils (2.26.1-1ubuntu1~16.04.7) ...
- Selecting previously unselected package libc-dev-bin.
- Preparing to unpack .../libc-dev-bin_2.23-0ubuntu10_amd64.deb ...
- Unpacking libc-dev-bin (2.23-0ubuntu10) ...
- Selecting previously unselected package linux-libc-dev:amd64.
- Preparing to unpack .../linux-libc-dev_4.4.0-135.161_amd64.deb ...
- Unpacking linux-libc-dev:amd64 (4.4.0-135.161) ...
- Selecting previously unselected package libc6-dev:amd64.
- Preparing to unpack .../libc6-dev_2.23-0ubuntu10_amd64.deb ...
- Unpacking libc6-dev:amd64 (2.23-0ubuntu10) ...
- Selecting previously unselected package libisl15:amd64.
- Preparing to unpack .../libisl15_0.16.1-1_amd64.deb ...
- Unpacking libisl15:amd64 (0.16.1-1) ...
- Selecting previously unselected package cpp-5.
- Preparing to unpack .../cpp-5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking cpp-5 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package cpp.
- Preparing to unpack .../cpp_4%3a5.3.1-1ubuntu1_amd64.deb ...
- Unpacking cpp (4:5.3.1-1ubuntu1) ...
- Selecting previously unselected package libcc1-0:amd64.
- Preparing to unpack .../libcc1-0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libgomp1:amd64.
- Preparing to unpack .../libgomp1_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libgomp1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libitm1:amd64.
- Preparing to unpack .../libitm1_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libitm1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libatomic1:amd64.
- Preparing to unpack .../libatomic1_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libatomic1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libasan2:amd64.
- Preparing to unpack .../libasan2_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libasan2:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package liblsan0:amd64.
- Preparing to unpack .../liblsan0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking liblsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libtsan0:amd64.
- Preparing to unpack .../libtsan0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libtsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libubsan0:amd64.
- Preparing to unpack .../libubsan0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libubsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libcilkrts5:amd64.
- Preparing to unpack .../libcilkrts5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libmpx0:amd64.
- Preparing to unpack .../libmpx0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libmpx0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libquadmath0:amd64.
- Preparing to unpack .../libquadmath0_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package libgcc-5-dev:amd64.
- Preparing to unpack .../libgcc-5-dev_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package gcc-5.
- Preparing to unpack .../gcc-5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking gcc-5 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package gcc.
- Preparing to unpack .../gcc_4%3a5.3.1-1ubuntu1_amd64.deb ...
- Unpacking gcc (4:5.3.1-1ubuntu1) ...
- Selecting previously unselected package libstdc++-5-dev:amd64.
- Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package g++-5.
- Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.10_amd64.deb ...
- Unpacking g++-5 (5.4.0-6ubuntu1~16.04.10) ...
- Selecting previously unselected package g++.
- Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
- Unpacking g++ (4:5.3.1-1ubuntu1) ...
- Selecting previously unselected package make.
- Preparing to unpack .../archives/make_4.1-6_amd64.deb ...
- Unpacking make (4.1-6) ...
- Selecting previously unselected package libdpkg-perl.
- Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1.4_all.deb ...
- Unpacking libdpkg-perl (1.18.4ubuntu1.4) ...
- Selecting previously unselected package dpkg-dev.
- Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.4_all.deb ...
- Unpacking dpkg-dev (1.18.4ubuntu1.4) ...
- Selecting previously unselected package build-essential.
- Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
- Unpacking build-essential (12.1ubuntu2) ...
- Selecting previously unselected package libfakeroot:amd64.
- Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
- Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
- Selecting previously unselected package fakeroot.
- Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
- Unpacking fakeroot (1.20.2-1ubuntu1) ...
- Selecting previously unselected package libalgorithm-diff-perl.
- Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
- Unpacking libalgorithm-diff-perl (1.19.03-1) ...
- Selecting previously unselected package libalgorithm-diff-xs-perl.
- Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
- Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
- Selecting previously unselected package libalgorithm-merge-perl.
- Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
- Unpacking libalgorithm-merge-perl (0.08-3) ...
- Selecting previously unselected package libfile-fcntllock-perl.
- Preparing to unpack .../libfile-fcntllock-perl_0.22-3_amd64.deb ...
- Unpacking libfile-fcntllock-perl (0.22-3) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4.1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.13_amd64.deb ...
- Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.13) ...
- Selecting previously unselected package libssl-doc.
- Preparing to unpack .../libssl-doc_1.0.2g-1ubuntu4.13_all.deb ...
- Unpacking libssl-doc (1.0.2g-1ubuntu4.13) ...
- Selecting previously unselected package manpages-dev.
- Preparing to unpack .../manpages-dev_4.04-2_all.deb ...
- Unpacking manpages-dev (4.04-2) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
- Unpacking pkg-config (0.29.1-0ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for man-db (2.7.5-1) ...
- Setting up libmpc3:amd64 (1.0.3-1) ...
- Setting up binutils (2.26.1-1ubuntu1~16.04.7) ...
- Setting up libc-dev-bin (2.23-0ubuntu10) ...
- Setting up linux-libc-dev:amd64 (4.4.0-135.161) ...
- Setting up libc6-dev:amd64 (2.23-0ubuntu10) ...
- Setting up libisl15:amd64 (0.16.1-1) ...
- Setting up cpp-5 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up cpp (4:5.3.1-1ubuntu1) ...
- Setting up libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libgomp1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libitm1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libatomic1:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libasan2:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up liblsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libtsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libubsan0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libmpx0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up gcc-5 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up gcc (4:5.3.1-1ubuntu1) ...
- Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up g++-5 (5.4.0-6ubuntu1~16.04.10) ...
- Setting up g++ (4:5.3.1-1ubuntu1) ...
- update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
- Setting up make (4.1-6) ...
- Setting up libdpkg-perl (1.18.4ubuntu1.4) ...
- Setting up dpkg-dev (1.18.4ubuntu1.4) ...
- Setting up build-essential (12.1ubuntu2) ...
- Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
- Setting up fakeroot (1.20.2-1ubuntu1) ...
- update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
- Setting up libalgorithm-diff-perl (1.19.03-1) ...
- Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
- Setting up libalgorithm-merge-perl (0.08-3) ...
- Setting up libfile-fcntllock-perl (0.22-3) ...
- Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.1) ...
- Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.13) ...
- Setting up libssl-doc (1.0.2g-1ubuntu4.13) ...
- Setting up manpages-dev (4.04-2) ...
- Setting up pkg-config (0.29.1-0ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- ubuntu@ip-172-31-20-245:~$ sudo apt-get install -y nodejs nodejs-legacy
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- libuv1
- The following NEW packages will be installed:
- libuv1 nodejs nodejs-legacy
- 0 upgraded, 3 newly installed, 0 to remove and 14 not upgraded.
- Need to get 3,247 kB of archives.
- After this operation, 13.5 MB of additional disk space will be used.
- Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libuv1 amd64 1.8.0-1 [57.4 kB]
- 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]
- 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]
- Fetched 3,247 kB in 0s (44.8 MB/s)
- Selecting previously unselected package libuv1:amd64.
- (Reading database ... 58206 files and directories currently installed.)
- Preparing to unpack .../libuv1_1.8.0-1_amd64.deb ...
- Unpacking libuv1:amd64 (1.8.0-1) ...
- Selecting previously unselected package nodejs.
- Preparing to unpack .../nodejs_4.2.6~dfsg-1ubuntu4.2_amd64.deb ...
- Unpacking nodejs (4.2.6~dfsg-1ubuntu4.2) ...
- Selecting previously unselected package nodejs-legacy.
- Preparing to unpack .../nodejs-legacy_4.2.6~dfsg-1ubuntu4.2_all.deb ...
- Unpacking nodejs-legacy (4.2.6~dfsg-1ubuntu4.2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for man-db (2.7.5-1) ...
- Setting up libuv1:amd64 (1.8.0-1) ...
- Setting up nodejs (4.2.6~dfsg-1ubuntu4.2) ...
- update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
- Setting up nodejs-legacy (4.2.6~dfsg-1ubuntu4.2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- ubuntu@ip-172-31-20-245:~$ sudo apt-get install npm -y
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- gyp javascript-common libjs-inherits libjs-jquery libjs-node-uuid
- libjs-underscore libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
- libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async
- node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
- node-forever-agent node-form-data node-fstream node-fstream-ignore
- node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
- node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
- node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
- node-normalize-package-data node-npmlog node-once node-osenv node-qs
- node-read node-read-package-json node-request node-retry node-rimraf
- node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
- node-underscore node-which nodejs-dev python python-minimal
- python-pkg-resources python2.7 python2.7-minimal
- Suggested packages:
- apache2 | lighttpd | httpd node-hawk node-aws-sign node-oauth-sign
- node-http-signature debhelper python-doc python-tk python-setuptools
- python2.7-doc binfmt-support
- The following NEW packages will be installed:
- gyp javascript-common libjs-inherits libjs-jquery libjs-node-uuid
- libjs-underscore libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
- libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async
- node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
- node-forever-agent node-form-data node-fstream node-fstream-ignore
- node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
- node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
- node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
- node-normalize-package-data node-npmlog node-once node-osenv node-qs
- node-read node-read-package-json node-request node-retry node-rimraf
- node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
- node-underscore node-which nodejs-dev npm python python-minimal
- python-pkg-resources python2.7 python2.7-minimal
- 0 upgraded, 63 newly installed, 0 to remove and 14 not upgraded.
- Need to get 6,742 kB of archives.
- After this operation, 34.0 MB of additional disk space will be used.
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
- Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 gyp all 0.1+20150913git1f374df9-1ubuntu1 [265 kB]
- Get:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 javascript-common all 11 [6,066 B]
- Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB]
- 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]
- 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]
- Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libuv1-dev amd64 1.8.0-1 [74.7 kB]
- Get:15 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-async all 0.8.0-1 [22.2 kB]
- 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]
- 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]
- Get:18 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libjs-inherits all 2.0.1-3 [2,794 B]
- Get:19 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-abbrev all 1.0.5-2 [3,592 B]
- Get:20 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-ansi all 0.3.0-2 [8,590 B]
- 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]
- Get:22 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-archy all 0.0.2-1 [3,660 B]
- Get:23 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-inherits all 2.0.1-3 [3,060 B]
- 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]
- 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]
- 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]
- 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]
- 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]
- Get:29 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-mime all 1.3.4-1 [11.9 kB]
- 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]
- Get:31 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-rimraf all 2.2.8-1 [5,702 B]
- Get:32 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-mkdirp all 0.5.0-1 [4,690 B]
- 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]
- Get:34 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-fstream all 0.1.24-1 [19.5 kB]
- 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]
- Get:36 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-sigmund all 1.0.0-1 [3,818 B]
- Get:37 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-minimatch all 1.0.0-1 [14.0 kB]
- 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]
- 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]
- Get:40 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-once all 1.1.1-1 [2,608 B]
- Get:41 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-glob all 4.0.5-1 [13.2 kB]
- 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]
- Get:43 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-nopt all 3.0.1-1 [9,544 B]
- Get:44 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-npmlog all 0.0.4-1 [5,844 B]
- Get:45 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-osenv all 0.1.0-1 [3,772 B]
- 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]
- 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]
- Get:48 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-qs all 2.2.4-1 [7,574 B]
- Get:49 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-request all 2.26.1-1 [14.5 kB]
- Get:50 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-semver all 2.1.0-2 [16.2 kB]
- Get:51 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-tar all 1.0.3-2 [17.5 kB]
- Get:52 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-which all 1.0.5-2 [3,678 B]
- Get:53 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-gyp all 3.0.3-2ubuntu1 [23.2 kB]
- Get:54 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-ini all 1.1.0-1 [4,770 B]
- Get:55 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-lockfile all 0.4.1-1 [5,450 B]
- 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]
- 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]
- Get:58 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-read all 1.0.5-1 [4,314 B]
- 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]
- Get:60 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-retry all 0.6.0-1 [6,172 B]
- Get:61 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-sha all 1.2.3-1 [4,272 B]
- Get:62 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 node-slide all 1.1.4-1 [6,118 B]
- Get:63 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 npm all 3.5.2-0ubuntu4 [1,586 kB]
- Fetched 6,742 kB in 0s (7,837 kB/s)
- Extracting templates from packages: 100%
- Selecting previously unselected package libpython2.7-minimal:amd64.
- (Reading database ... 58274 files and directories currently installed.)
- Preparing to unpack .../libpython2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
- Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ...
- Selecting previously unselected package python2.7-minimal.
- Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
- Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ...
- Selecting previously unselected package python-minimal.
- Preparing to unpack .../python-minimal_2.7.12-1~16.04_amd64.deb ...
- Unpacking python-minimal (2.7.12-1~16.04) ...
- Selecting previously unselected package libpython2.7-stdlib:amd64.
- Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
- Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ...
- Selecting previously unselected package python2.7.
- Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
- Unpacking python2.7 (2.7.12-1ubuntu0~16.04.3) ...
- Selecting previously unselected package libpython-stdlib:amd64.
- Preparing to unpack .../libpython-stdlib_2.7.12-1~16.04_amd64.deb ...
- Unpacking libpython-stdlib:amd64 (2.7.12-1~16.04) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for mime-support (3.59ubuntu1) ...
- Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ...
- Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ...
- Linking and byte-compiling packages for runtime python2.7...
- Setting up python-minimal (2.7.12-1~16.04) ...
- Selecting previously unselected package python.
- (Reading database ... 59020 files and directories currently installed.)
- Preparing to unpack .../python_2.7.12-1~16.04_amd64.deb ...
- Unpacking python (2.7.12-1~16.04) ...
- Selecting previously unselected package python-pkg-resources.
- Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
- Unpacking python-pkg-resources (20.7.0-1) ...
- Selecting previously unselected package gyp.
- Preparing to unpack .../gyp_0.1+20150913git1f374df9-1ubuntu1_all.deb ...
- Unpacking gyp (0.1+20150913git1f374df9-1ubuntu1) ...
- Selecting previously unselected package javascript-common.
- Preparing to unpack .../javascript-common_11_all.deb ...
- Unpacking javascript-common (11) ...
- Selecting previously unselected package libjs-jquery.
- Preparing to unpack .../libjs-jquery_1.11.3+dfsg-4_all.deb ...
- Unpacking libjs-jquery (1.11.3+dfsg-4) ...
- Selecting previously unselected package libjs-node-uuid.
- Preparing to unpack .../libjs-node-uuid_1.4.0-1_all.deb ...
- Unpacking libjs-node-uuid (1.4.0-1) ...
- Selecting previously unselected package libjs-underscore.
- Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1ubuntu1_all.deb ...
- Unpacking libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
- Selecting previously unselected package libuv1-dev:amd64.
- Preparing to unpack .../libuv1-dev_1.8.0-1_amd64.deb ...
- Unpacking libuv1-dev:amd64 (1.8.0-1) ...
- Selecting previously unselected package node-async.
- Preparing to unpack .../node-async_0.8.0-1_all.deb ...
- Unpacking node-async (0.8.0-1) ...
- Selecting previously unselected package node-node-uuid.
- Preparing to unpack .../node-node-uuid_1.4.0-1_all.deb ...
- Unpacking node-node-uuid (1.4.0-1) ...
- Selecting previously unselected package node-underscore.
- Preparing to unpack .../node-underscore_1.7.0~dfsg-1ubuntu1_all.deb ...
- Unpacking node-underscore (1.7.0~dfsg-1ubuntu1) ...
- Selecting previously unselected package libjs-inherits.
- Preparing to unpack .../libjs-inherits_2.0.1-3_all.deb ...
- Unpacking libjs-inherits (2.0.1-3) ...
- Selecting previously unselected package node-abbrev.
- Preparing to unpack .../node-abbrev_1.0.5-2_all.deb ...
- Unpacking node-abbrev (1.0.5-2) ...
- Selecting previously unselected package node-ansi.
- Preparing to unpack .../node-ansi_0.3.0-2_all.deb ...
- Unpacking node-ansi (0.3.0-2) ...
- Selecting previously unselected package node-ansi-color-table.
- Preparing to unpack .../node-ansi-color-table_1.0.0-1_all.deb ...
- Unpacking node-ansi-color-table (1.0.0-1) ...
- Selecting previously unselected package node-archy.
- Preparing to unpack .../node-archy_0.0.2-1_all.deb ...
- Unpacking node-archy (0.0.2-1) ...
- Selecting previously unselected package node-inherits.
- Preparing to unpack .../node-inherits_2.0.1-3_all.deb ...
- Unpacking node-inherits (2.0.1-3) ...
- Selecting previously unselected package node-block-stream.
- Preparing to unpack .../node-block-stream_0.0.7-1_all.deb ...
- Unpacking node-block-stream (0.0.7-1) ...
- Selecting previously unselected package node-delayed-stream.
- Preparing to unpack .../node-delayed-stream_0.0.5-1_all.deb ...
- Unpacking node-delayed-stream (0.0.5-1) ...
- Selecting previously unselected package node-combined-stream.
- Preparing to unpack .../node-combined-stream_0.0.5-1_all.deb ...
- Unpacking node-combined-stream (0.0.5-1) ...
- Selecting previously unselected package node-cookie-jar.
- Preparing to unpack .../node-cookie-jar_0.3.1-1_all.deb ...
- Unpacking node-cookie-jar (0.3.1-1) ...
- Selecting previously unselected package node-forever-agent.
- Preparing to unpack .../node-forever-agent_0.5.1-1_all.deb ...
- Unpacking node-forever-agent (0.5.1-1) ...
- Selecting previously unselected package node-mime.
- Preparing to unpack .../node-mime_1.3.4-1_all.deb ...
- Unpacking node-mime (1.3.4-1) ...
- Selecting previously unselected package node-form-data.
- Preparing to unpack .../node-form-data_0.1.0-1_all.deb ...
- Unpacking node-form-data (0.1.0-1) ...
- Selecting previously unselected package node-rimraf.
- Preparing to unpack .../node-rimraf_2.2.8-1_all.deb ...
- Unpacking node-rimraf (2.2.8-1) ...
- Selecting previously unselected package node-mkdirp.
- Preparing to unpack .../node-mkdirp_0.5.0-1_all.deb ...
- Unpacking node-mkdirp (0.5.0-1) ...
- Selecting previously unselected package node-graceful-fs.
- Preparing to unpack .../node-graceful-fs_3.0.2-1_all.deb ...
- Unpacking node-graceful-fs (3.0.2-1) ...
- Selecting previously unselected package node-fstream.
- Preparing to unpack .../node-fstream_0.1.24-1_all.deb ...
- Unpacking node-fstream (0.1.24-1) ...
- Selecting previously unselected package node-lru-cache.
- Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ...
- Unpacking node-lru-cache (2.3.1-1) ...
- Selecting previously unselected package node-sigmund.
- Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ...
- Unpacking node-sigmund (1.0.0-1) ...
- Selecting previously unselected package node-minimatch.
- Preparing to unpack .../node-minimatch_1.0.0-1_all.deb ...
- Unpacking node-minimatch (1.0.0-1) ...
- Selecting previously unselected package node-fstream-ignore.
- Preparing to unpack .../node-fstream-ignore_0.0.6-2_all.deb ...
- Unpacking node-fstream-ignore (0.0.6-2) ...
- Selecting previously unselected package node-github-url-from-git.
- Preparing to unpack .../node-github-url-from-git_1.1.1-1_all.deb ...
- Unpacking node-github-url-from-git (1.1.1-1) ...
- Selecting previously unselected package node-once.
- Preparing to unpack .../node-once_1.1.1-1_all.deb ...
- Unpacking node-once (1.1.1-1) ...
- Selecting previously unselected package node-glob.
- Preparing to unpack .../node-glob_4.0.5-1_all.deb ...
- Unpacking node-glob (4.0.5-1) ...
- Selecting previously unselected package nodejs-dev.
- Preparing to unpack .../nodejs-dev_4.2.6~dfsg-1ubuntu4.2_amd64.deb ...
- Unpacking nodejs-dev (4.2.6~dfsg-1ubuntu4.2) ...
- Selecting previously unselected package node-nopt.
- Preparing to unpack .../node-nopt_3.0.1-1_all.deb ...
- Unpacking node-nopt (3.0.1-1) ...
- Selecting previously unselected package node-npmlog.
- Preparing to unpack .../node-npmlog_0.0.4-1_all.deb ...
- Unpacking node-npmlog (0.0.4-1) ...
- Selecting previously unselected package node-osenv.
- Preparing to unpack .../node-osenv_0.1.0-1_all.deb ...
- Unpacking node-osenv (0.1.0-1) ...
- Selecting previously unselected package node-tunnel-agent.
- Preparing to unpack .../node-tunnel-agent_0.3.1-1_all.deb ...
- Unpacking node-tunnel-agent (0.3.1-1) ...
- Selecting previously unselected package node-json-stringify-safe.
- Preparing to unpack .../node-json-stringify-safe_5.0.0-1_all.deb ...
- Unpacking node-json-stringify-safe (5.0.0-1) ...
- Selecting previously unselected package node-qs.
- Preparing to unpack .../node-qs_2.2.4-1_all.deb ...
- Unpacking node-qs (2.2.4-1) ...
- Selecting previously unselected package node-request.
- Preparing to unpack .../node-request_2.26.1-1_all.deb ...
- Unpacking node-request (2.26.1-1) ...
- Selecting previously unselected package node-semver.
- Preparing to unpack .../node-semver_2.1.0-2_all.deb ...
- Unpacking node-semver (2.1.0-2) ...
- Selecting previously unselected package node-tar.
- Preparing to unpack .../node-tar_1.0.3-2_all.deb ...
- Unpacking node-tar (1.0.3-2) ...
- Selecting previously unselected package node-which.
- Preparing to unpack .../node-which_1.0.5-2_all.deb ...
- Unpacking node-which (1.0.5-2) ...
- Selecting previously unselected package node-gyp.
- Preparing to unpack .../node-gyp_3.0.3-2ubuntu1_all.deb ...
- Unpacking node-gyp (3.0.3-2ubuntu1) ...
- Selecting previously unselected package node-ini.
- Preparing to unpack .../node-ini_1.1.0-1_all.deb ...
- Unpacking node-ini (1.1.0-1) ...
- Selecting previously unselected package node-lockfile.
- Preparing to unpack .../node-lockfile_0.4.1-1_all.deb ...
- Unpacking node-lockfile (0.4.1-1) ...
- Selecting previously unselected package node-mute-stream.
- Preparing to unpack .../node-mute-stream_0.0.4-1_all.deb ...
- Unpacking node-mute-stream (0.0.4-1) ...
- Selecting previously unselected package node-normalize-package-data.
- Preparing to unpack .../node-normalize-package-data_0.2.2-1_all.deb ...
- Unpacking node-normalize-package-data (0.2.2-1) ...
- Selecting previously unselected package node-read.
- Preparing to unpack .../node-read_1.0.5-1_all.deb ...
- Unpacking node-read (1.0.5-1) ...
- Selecting previously unselected package node-read-package-json.
- Preparing to unpack .../node-read-package-json_1.2.4-1_all.deb ...
- Unpacking node-read-package-json (1.2.4-1) ...
- Selecting previously unselected package node-retry.
- Preparing to unpack .../node-retry_0.6.0-1_all.deb ...
- Unpacking node-retry (0.6.0-1) ...
- Selecting previously unselected package node-sha.
- Preparing to unpack .../node-sha_1.2.3-1_all.deb ...
- Unpacking node-sha (1.2.3-1) ...
- Selecting previously unselected package node-slide.
- Preparing to unpack .../node-slide_1.1.4-1_all.deb ...
- Unpacking node-slide (1.1.4-1) ...
- Selecting previously unselected package npm.
- Preparing to unpack .../npm_3.5.2-0ubuntu4_all.deb ...
- Unpacking npm (3.5.2-0ubuntu4) ...
- Processing triggers for man-db (2.7.5-1) ...
- Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ...
- Setting up python2.7 (2.7.12-1ubuntu0~16.04.3) ...
- Setting up libpython-stdlib:amd64 (2.7.12-1~16.04) ...
- Setting up python (2.7.12-1~16.04) ...
- Setting up python-pkg-resources (20.7.0-1) ...
- Setting up gyp (0.1+20150913git1f374df9-1ubuntu1) ...
- Setting up javascript-common (11) ...
- Setting up libjs-jquery (1.11.3+dfsg-4) ...
- Setting up libjs-node-uuid (1.4.0-1) ...
- Setting up libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
- Setting up libuv1-dev:amd64 (1.8.0-1) ...
- Setting up node-async (0.8.0-1) ...
- Setting up node-node-uuid (1.4.0-1) ...
- Setting up node-underscore (1.7.0~dfsg-1ubuntu1) ...
- Setting up libjs-inherits (2.0.1-3) ...
- Setting up node-abbrev (1.0.5-2) ...
- Setting up node-ansi (0.3.0-2) ...
- Setting up node-ansi-color-table (1.0.0-1) ...
- Setting up node-archy (0.0.2-1) ...
- Setting up node-inherits (2.0.1-3) ...
- Setting up node-block-stream (0.0.7-1) ...
- Setting up node-delayed-stream (0.0.5-1) ...
- Setting up node-combined-stream (0.0.5-1) ...
- Setting up node-cookie-jar (0.3.1-1) ...
- Setting up node-forever-agent (0.5.1-1) ...
- Setting up node-mime (1.3.4-1) ...
- Setting up node-form-data (0.1.0-1) ...
- Setting up node-rimraf (2.2.8-1) ...
- Setting up node-mkdirp (0.5.0-1) ...
- Setting up node-graceful-fs (3.0.2-1) ...
- Setting up node-fstream (0.1.24-1) ...
- Setting up node-lru-cache (2.3.1-1) ...
- Setting up node-sigmund (1.0.0-1) ...
- Setting up node-minimatch (1.0.0-1) ...
- Setting up node-fstream-ignore (0.0.6-2) ...
- Setting up node-github-url-from-git (1.1.1-1) ...
- Setting up node-once (1.1.1-1) ...
- Setting up node-glob (4.0.5-1) ...
- Setting up nodejs-dev (4.2.6~dfsg-1ubuntu4.2) ...
- Setting up node-nopt (3.0.1-1) ...
- Setting up node-npmlog (0.0.4-1) ...
- Setting up node-osenv (0.1.0-1) ...
- Setting up node-tunnel-agent (0.3.1-1) ...
- Setting up node-json-stringify-safe (5.0.0-1) ...
- Setting up node-qs (2.2.4-1) ...
- Setting up node-request (2.26.1-1) ...
- Setting up node-semver (2.1.0-2) ...
- Setting up node-tar (1.0.3-2) ...
- Setting up node-which (1.0.5-2) ...
- Setting up node-gyp (3.0.3-2ubuntu1) ...
- Setting up node-ini (1.1.0-1) ...
- Setting up node-lockfile (0.4.1-1) ...
- Setting up node-mute-stream (0.0.4-1) ...
- Setting up node-normalize-package-data (0.2.2-1) ...
- Setting up node-read (1.0.5-1) ...
- Setting up node-read-package-json (1.2.4-1) ...
- Setting up node-retry (0.6.0-1) ...
- Setting up node-sha (1.2.3-1) ...
- Setting up node-slide (1.1.4-1) ...
- Setting up npm (3.5.2-0ubuntu4) ...
- ubuntu@ip-172-31-20-245:~$ sudo npm cache clean -f
- npm WARN using --force I sure hope you know what you are doing.
- ubuntu@ip-172-31-20-245:~$ sudo npm install -g n
- /usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
- /usr/local/lib
- └── n@2.1.12
- ubuntu@ip-172-31-20-245:~$ sudo n stable
- install : node-v10.10.0
- mkdir : /usr/local/n/versions/node/10.10.0
- fetch : https://nodejs.org/dist/v10.10.0/node-v10.10.0-linux-x64.tar.gz
- ######################################################################## 100.0%
- installed : v10.10.0
- ubuntu@ip-172-31-20-245:~$ sudo npm install -g @angular/cli
- /usr/local/bin/ng -> /usr/local/lib/node_modules/@angular/cli/bin/ng
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/@angular/cli/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- + @angular/cli@6.2.3
- added 242 packages from 190 contributors in 11.094s
- ubuntu@ip-172-31-20-245:~$ sudo apt-get install nginx git -y
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- git is already the newest version (1:2.7.4-0ubuntu1.4).
- The following additional packages will be installed:
- fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
- libjpeg-turbo8 libjpeg8 libtiff5 libvpx3 libxpm4 nginx-common nginx-core
- Suggested packages:
- libgd-tools fcgiwrap nginx-doc ssl-cert
- The following NEW packages will be installed:
- fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
- libjpeg-turbo8 libjpeg8 libtiff5 libvpx3 libxpm4 nginx nginx-common
- nginx-core
- 0 upgraded, 13 newly installed, 0 to remove and 14 not upgraded.
- Need to get 2,857 kB of archives.
- After this operation, 9,307 kB of additional disk space will be used.
- 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]
- Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjbig0 amd64 2.1-3.1 [26.6 kB]
- Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 fonts-dejavu-core all 2.35-1 [1,039 kB]
- 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]
- Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu1.1 [131 kB]
- Get:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2,194 B]
- Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5 amd64 4.0.6-1ubuntu0.4 [148 kB]
- Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libvpx3 amd64 1.5.0-2ubuntu1 [732 kB]
- 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]
- 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]
- 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]
- 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]
- 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]
- Fetched 2,857 kB in 0s (27.7 MB/s)
- Preconfiguring packages ...
- Selecting previously unselected package libjpeg-turbo8:amd64.
- (Reading database ... 62671 files and directories currently installed.)
- Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3.1_amd64.deb ...
- Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
- Selecting previously unselected package libjbig0:amd64.
- Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
- Unpacking libjbig0:amd64 (2.1-3.1) ...
- Selecting previously unselected package fonts-dejavu-core.
- Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...
- Unpacking fonts-dejavu-core (2.35-1) ...
- Selecting previously unselected package fontconfig-config.
- Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ...
- Unpacking fontconfig-config (2.11.94-0ubuntu1.1) ...
- Selecting previously unselected package libfontconfig1:amd64.
- Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ...
- Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
- Selecting previously unselected package libjpeg8:amd64.
- Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
- Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
- Selecting previously unselected package libtiff5:amd64.
- Preparing to unpack .../libtiff5_4.0.6-1ubuntu0.4_amd64.deb ...
- Unpacking libtiff5:amd64 (4.0.6-1ubuntu0.4) ...
- Selecting previously unselected package libvpx3:amd64.
- Preparing to unpack .../libvpx3_1.5.0-2ubuntu1_amd64.deb ...
- Unpacking libvpx3:amd64 (1.5.0-2ubuntu1) ...
- Selecting previously unselected package libxpm4:amd64.
- Preparing to unpack .../libxpm4_1%3a3.5.11-1ubuntu0.16.04.1_amd64.deb ...
- Unpacking libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
- Selecting previously unselected package libgd3:amd64.
- Preparing to unpack .../libgd3_2.1.1-4ubuntu0.16.04.10_amd64.deb ...
- Unpacking libgd3:amd64 (2.1.1-4ubuntu0.16.04.10) ...
- Selecting previously unselected package nginx-common.
- Preparing to unpack .../nginx-common_1.10.3-0ubuntu0.16.04.2_all.deb ...
- Unpacking nginx-common (1.10.3-0ubuntu0.16.04.2) ...
- Selecting previously unselected package nginx-core.
- Preparing to unpack .../nginx-core_1.10.3-0ubuntu0.16.04.2_amd64.deb ...
- Unpacking nginx-core (1.10.3-0ubuntu0.16.04.2) ...
- Selecting previously unselected package nginx.
- Preparing to unpack .../nginx_1.10.3-0ubuntu0.16.04.2_all.deb ...
- Unpacking nginx (1.10.3-0ubuntu0.16.04.2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Processing triggers for ufw (0.35-0ubuntu2) ...
- Processing triggers for systemd (229-4ubuntu21.4) ...
- Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
- Setting up libjbig0:amd64 (2.1-3.1) ...
- Setting up fonts-dejavu-core (2.35-1) ...
- Setting up fontconfig-config (2.11.94-0ubuntu1.1) ...
- Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
- Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
- Setting up libtiff5:amd64 (4.0.6-1ubuntu0.4) ...
- Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
- Setting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
- Setting up libgd3:amd64 (2.1.1-4ubuntu0.16.04.10) ...
- Setting up nginx-common (1.10.3-0ubuntu0.16.04.2) ...
- Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...
- Setting up nginx (1.10.3-0ubuntu0.16.04.2) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for systemd (229-4ubuntu21.4) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Processing triggers for ufw (0.35-0ubuntu2) ...
- ubuntu@ip-172-31-20-245:~$ cd /var/www
- ubuntu@ip-172-31-20-245:/var/www$ sudo git clone https://github.com/ActionPackedJack/Restaurant-Schedule
- Cloning into 'Restaurant-Schedule'...
- remote: Enumerating objects: 7927, done.
- remote: Counting objects: 100% (7927/7927), done.
- remote: Compressing objects: 100% (4592/4592), done.
- remote: Total 7927 (delta 2810), reused 7877 (delta 2760), pack-reused 0
- Receiving objects: 100% (7927/7927), 4.16 MiB | 0 bytes/s, done.
- Resolving deltas: 100% (2810/2810), done.
- Checking connectivity... done.
- ubuntu@ip-172-31-20-245:/var/www$ cd /etc/nginx/sites-available
- 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
- 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
- ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ sudo rm /etc/nginx/sites-enabled/default
- ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ sudo npm install pm2 -g
- /usr/local/bin/pm2 -> /usr/local/lib/node_modules/pm2/bin/pm2
- /usr/local/bin/pm2-dev -> /usr/local/lib/node_modules/pm2/bin/pm2-dev
- /usr/local/bin/pm2-docker -> /usr/local/lib/node_modules/pm2/bin/pm2-docker
- /usr/local/bin/pm2-runtime -> /usr/local/lib/node_modules/pm2/bin/pm2-runtime
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/pm2/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- + pm2@3.1.3
- added 258 packages from 224 contributors in 9.834s
- ubuntu@ip-172-31-20-245:/etc/nginx/sites-available$ cd /var/www
- ubuntu@ip-172-31-20-245:/var/www$ sudo chown -R ubuntu Restaurant-Schedule
- ubuntu@ip-172-31-20-245:/var/www$ cd Restaurant-Schedule
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule$ npm install
- npm WARN Scheduling@1.0.0 No description
- npm WARN Scheduling@1.0.0 No repository field.
- audited 153 packages in 1.329s
- found 0 vulnerabilities
- ┌──────────────────────────────────────────────────────────┐
- │ npm update check failed │
- │ Try running with sudo or get access │
- │ to the local update config store via │
- │ sudo chown -R $USER:$(id -gn $USER) /home/ubuntu/.config │
- └──────────────────────────────────────────────────────────┘
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule$ cd public
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ npm install
- > node-sass@4.9.2 install /var/www/Restaurant-Schedule/public/node_modules/node-sass
- > node scripts/install.js
- Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.2/linux-x64-64_binding.node
- Download complete..] - :
- Binary saved to /var/www/Restaurant-Schedule/public/node_modules/node-sass/vendor/linux-x64-64/binding.node
- Caching binary to /home/ubuntu/.npm/node-sass/4.9.2/linux-x64-64_binding.node
- > node-sass@4.9.2 postinstall /var/www/Restaurant-Schedule/public/node_modules/node-sass
- > node scripts/build.js
- Binary found at /var/www/Restaurant-Schedule/public/node_modules/node-sass/vendor/linux-x64-64/binding.node
- Testing binary
- Binary is fine
- > @angular/cli@6.0.8 postinstall /var/www/Restaurant-Schedule/public/node_modules/@angular/cli
- > node ./bin/ng-update-message.js
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- added 1102 packages from 1279 contributors and audited 21866 packages in 25.619s
- found 14 vulnerabilities (9 low, 5 high)
- run `npm audit fix` to fix them, or `npm audit` for details
- ┌──────────────────────────────────────────────────────────┐
- │ npm update check failed │
- │ Try running with sudo or get access │
- │ to the local update config store via │
- │ sudo chown -R $USER:$(id -gn $USER) /home/ubuntu/.config │
- └──────────────────────────────────────────────────────────┘
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ ng build
- Your global Angular CLI version (6.2.3) is greater than your local
- version (6.0.8). The local Angular CLI version is used.
- To disable this warning use "ng config -g cli.warnings.versionMismatch false".
- o Date: 2018-09-24T22:36:43.441Z
- Hash: f3f77865fd0b52359b99
- Time: 15558ms
- chunk {main} main.js, main.js.map (main) 82.6 kB [initial] [rendered]
- chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 227 kB [initial] [rendered]
- chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
- chunk {scripts} scripts.js, scripts.js.map (scripts) 87 kB [rendered]
- chunk {styles} styles.js, styles.js.map (styles) 15.6 kB [initial] [rendered]
- chunk {vendor} vendor.js, vendor.js.map (vendor) 4.23 MB [initial] [rendered]
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
- Executing: /tmp/tmp.3X2B0t0psL/gpg.1.sh --keyserver
- hkp://keyserver.ubuntu.com:80
- --recv
- 9DA31620334BD75D9DCB49F368818C72E52529D4
- gpg: requesting key E52529D4 from hkp server keyserver.ubuntu.com
- gpg: key E52529D4: public key "MongoDB 4.0 Release Signing Key <packaging@mongodb.com>" imported
- gpg: Total number processed: 1
- gpg: imported: 1 (RSA: 1)
- 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
- deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 multiverse
- 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
- Get:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
- Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
- Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
- Ign:5 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 InRelease
- Get:6 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 Release [2,495 B]
- Get:7 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 Release.gpg [801 B]
- Get:8 https://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0/multiverse amd64 Packages [3,434 B]
- Fetched 223 kB in 0s (278 kB/s)
- Reading package lists... Done
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo apt-get install -y mongodb
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- libboost-filesystem1.58.0 libboost-program-options1.58.0
- libboost-system1.58.0 libboost-thread1.58.0 libgoogle-perftools4
- libpcrecpp0v5 libsnappy1v5 libtcmalloc-minimal4 libunwind8 libv8-3.14.5
- libyaml-cpp0.5v5 mongodb-clients mongodb-server
- The following NEW packages will be installed:
- libboost-filesystem1.58.0 libboost-program-options1.58.0
- libboost-system1.58.0 libboost-thread1.58.0 libgoogle-perftools4
- libpcrecpp0v5 libsnappy1v5 libtcmalloc-minimal4 libunwind8 libv8-3.14.5
- libyaml-cpp0.5v5 mongodb mongodb-clients mongodb-server
- 0 upgraded, 14 newly installed, 0 to remove and 14 not upgraded.
- Need to get 58.0 MB of archives.
- After this operation, 196 MB of additional disk space will be used.
- Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcrecpp0v5 amd64 2:8.38-3.1 [15.2 kB]
- 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]
- 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]
- 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]
- 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]
- 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]
- Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libunwind8 amd64 1.1-4.1 [46.5 kB]
- 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]
- 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]
- 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]
- Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libsnappy1v5 amd64 1.1.3-2 [16.0 kB]
- 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]
- 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]
- Get:14 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 mongodb amd64 1:2.6.10-0ubuntu1 [5,112 B]
- Fetched 58.0 MB in 1s (35.8 MB/s)
- Selecting previously unselected package libpcrecpp0v5:amd64.
- (Reading database ... 62875 files and directories currently installed.)
- Preparing to unpack .../libpcrecpp0v5_2%3a8.38-3.1_amd64.deb ...
- Unpacking libpcrecpp0v5:amd64 (2:8.38-3.1) ...
- Selecting previously unselected package libboost-system1.58.0:amd64.
- Preparing to unpack .../libboost-system1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
- Unpacking libboost-system1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Selecting previously unselected package libboost-filesystem1.58.0:amd64.
- Preparing to unpack .../libboost-filesystem1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
- Unpacking libboost-filesystem1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Selecting previously unselected package libboost-program-options1.58.0:amd64.
- Preparing to unpack .../libboost-program-options1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
- Unpacking libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Selecting previously unselected package libboost-thread1.58.0:amd64.
- Preparing to unpack .../libboost-thread1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
- Unpacking libboost-thread1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Selecting previously unselected package libtcmalloc-minimal4.
- Preparing to unpack .../libtcmalloc-minimal4_2.4-0ubuntu5.16.04.1_amd64.deb ...
- Unpacking libtcmalloc-minimal4 (2.4-0ubuntu5.16.04.1) ...
- Selecting previously unselected package libunwind8.
- Preparing to unpack .../libunwind8_1.1-4.1_amd64.deb ...
- Unpacking libunwind8 (1.1-4.1) ...
- Selecting previously unselected package libgoogle-perftools4.
- Preparing to unpack .../libgoogle-perftools4_2.4-0ubuntu5.16.04.1_amd64.deb ...
- Unpacking libgoogle-perftools4 (2.4-0ubuntu5.16.04.1) ...
- Selecting previously unselected package libv8-3.14.5.
- Preparing to unpack .../libv8-3.14.5_3.14.5.8-5ubuntu2_amd64.deb ...
- Unpacking libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
- Selecting previously unselected package libyaml-cpp0.5v5:amd64.
- Preparing to unpack .../libyaml-cpp0.5v5_0.5.2-4ubuntu1~16.04.4_amd64.deb ...
- Unpacking libyaml-cpp0.5v5:amd64 (0.5.2-4ubuntu1~16.04.4) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../libsnappy1v5_1.1.3-2_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.1.3-2) ...
- Selecting previously unselected package mongodb-clients.
- Preparing to unpack .../mongodb-clients_1%3a2.6.10-0ubuntu1_amd64.deb ...
- Unpacking mongodb-clients (1:2.6.10-0ubuntu1) ...
- Selecting previously unselected package mongodb-server.
- Preparing to unpack .../mongodb-server_1%3a2.6.10-0ubuntu1_amd64.deb ...
- Unpacking mongodb-server (1:2.6.10-0ubuntu1) ...
- Selecting previously unselected package mongodb.
- Preparing to unpack .../mongodb_1%3a2.6.10-0ubuntu1_amd64.deb ...
- Unpacking mongodb (1:2.6.10-0ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for systemd (229-4ubuntu21.4) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Setting up libpcrecpp0v5:amd64 (2:8.38-3.1) ...
- Setting up libboost-system1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Setting up libboost-filesystem1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Setting up libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Setting up libboost-thread1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
- Setting up libtcmalloc-minimal4 (2.4-0ubuntu5.16.04.1) ...
- Setting up libunwind8 (1.1-4.1) ...
- Setting up libgoogle-perftools4 (2.4-0ubuntu5.16.04.1) ...
- Setting up libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
- Setting up libyaml-cpp0.5v5:amd64 (0.5.2-4ubuntu1~16.04.4) ...
- Setting up libsnappy1v5:amd64 (1.1.3-2) ...
- Setting up mongodb-clients (1:2.6.10-0ubuntu1) ...
- Setting up mongodb-server (1:2.6.10-0ubuntu1) ...
- Adding system user `mongodb' (UID 112) ...
- Adding new user `mongodb' (UID 112) with group `nogroup' ...
- Not creating home directory `/var/lib/mongodb'.
- Adding group `mongodb' (GID 116) ...
- Done.
- Adding user `mongodb' to group `mongodb' ...
- Adding user mongodb to group mongodb
- Done.
- Setting up mongodb (1:2.6.10-0ubuntu1) ...
- Processing triggers for libc-bin (2.23-0ubuntu10) ...
- Processing triggers for systemd (229-4ubuntu21.4) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo mkdir /data
- 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
- Failed to start mongod.service: Unit mongod.service not found.
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo mongod
- mongod --help for help and startup options
- 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
- 2018-09-24T22:39:43.517+0000 [initandlisten] db version v2.6.10
- 2018-09-24T22:39:43.517+0000 [initandlisten] git version: nogitversion
- 2018-09-24T22:39:43.517+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
- 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
- 2018-09-24T22:39:43.517+0000 [initandlisten] allocator: tcmalloc
- 2018-09-24T22:39:43.517+0000 [initandlisten] options: {}
- 2018-09-24T22:39:43.521+0000 [initandlisten] journal dir=/data/db/journal
- 2018-09-24T22:39:43.521+0000 [initandlisten] recover : no journal files present, no recovery needed
- 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
- 2018-09-24T22:39:43.636+0000 [initandlisten] ERROR: addr already in use
- 2018-09-24T22:39:43.636+0000 [initandlisten] allocating new ns file /data/db/local.ns, filling with zeroes...
- 2018-09-24T22:39:43.686+0000 [FileAllocator] allocating new datafile /data/db/local.0, filling with zeroes...
- 2018-09-24T22:39:43.686+0000 [FileAllocator] creating directory /data/db/_tmp
- 2018-09-24T22:39:43.689+0000 [FileAllocator] done allocating datafile /data/db/local.0, size: 64MB, took 0.001 secs
- 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" }
- 2018-09-24T22:39:43.689+0000 [initandlisten] added index to empty collection
- 2018-09-24T22:39:43.689+0000 [initandlisten] now exiting
- 2018-09-24T22:39:43.689+0000 [initandlisten] dbexit:
- 2018-09-24T22:39:43.689+0000 [initandlisten] shutdown: going to close listening sockets...
- 2018-09-24T22:39:43.689+0000 [initandlisten] shutdown: going to flush diaglog...
- 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: going to close sockets...
- 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: waiting for fs preallocator...
- 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: lock for final commit...
- 2018-09-24T22:39:43.690+0000 [initandlisten] shutdown: final commit...
- 2018-09-24T22:39:43.696+0000 [initandlisten] shutdown: closing all files...
- 2018-09-24T22:39:43.696+0000 [initandlisten] closeAllFiles() finished
- 2018-09-24T22:39:43.696+0000 [initandlisten] journalCleanup...
- 2018-09-24T22:39:43.696+0000 [initandlisten] removeJournalFiles
- 2018-09-24T22:39:43.697+0000 [initandlisten] shutdown: removing fs lock...
- 2018-09-24T22:39:43.697+0000 [initandlisten] dbexit: really exiting now
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ sudo systemctl enable mongod
- Failed to execute operation: No such file or directory
- ubuntu@ip-172-31-20-245:/var/www/Restaurant-Schedule/public$ packet_write_wait: Connection to 18.188.165.15 port 22: Broken pipe
- ActionJack@The-Eagle-of-Justice-2 ~/Downloads
- $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
- Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 14 packages can be updated.
- 14 updates are security updates.
- New release '18.04.1 LTS' available.
- Run 'do-release-upgrade' to upgrade to it.
- Last login: Mon Sep 24 22:26:54 2018 from 24.148.83.27
- ubuntu@ip-172-31-20-245:~$ cd var
- -bash: cd: var: No such file or directory
- ubuntu@ip-172-31-20-245:~$ cd www
- -bash: cd: www: No such file or directory
- ubuntu@ip-172-31-20-245:~$ mongo --version
- MongoDB shell version: 2.6.10
- ubuntu@ip-172-31-20-245:~$ mongod --version
- db version v2.6.10
- 2018-09-25T05:50:37.122+0000 git version: nogitversion
- 2018-09-25T05:50:37.122+0000 OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
- ubuntu@ip-172-31-20-245:~$ sudo mongodb
- sudo: mongodb: command not found
- ubuntu@ip-172-31-20-245:~$ sudo mongod
- mongod --help for help and startup options
- 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
- 2018-09-25T05:55:05.785+0000 [initandlisten] db version v2.6.10
- 2018-09-25T05:55:05.785+0000 [initandlisten] git version: nogitversion
- 2018-09-25T05:55:05.785+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
- 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
- 2018-09-25T05:55:05.786+0000 [initandlisten] allocator: tcmalloc
- 2018-09-25T05:55:05.786+0000 [initandlisten] options: {}
- 2018-09-25T05:55:05.788+0000 [initandlisten] journal dir=/data/db/journal
- 2018-09-25T05:55:05.788+0000 [initandlisten] recover : no journal files present, no recovery needed
- 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
- 2018-09-25T05:55:05.914+0000 [initandlisten] ERROR: addr already in use
- 2018-09-25T05:55:05.914+0000 [initandlisten] now exiting
- 2018-09-25T05:55:05.914+0000 [initandlisten] dbexit:
- 2018-09-25T05:55:05.914+0000 [initandlisten] shutdown: going to close listening sockets...
- 2018-09-25T05:55:05.914+0000 [initandlisten] shutdown: going to flush diaglog...
- 2018-09-25T05:55:05.914+0000 [initandlisten] shutdown: going to close sockets...
- 2018-09-25T05:55:05.915+0000 [initandlisten] shutdown: waiting for fs preallocator...
- 2018-09-25T05:55:05.915+0000 [initandlisten] shutdown: lock for final commit...
- 2018-09-25T05:55:05.915+0000 [initandlisten] shutdown: final commit...
- 2018-09-25T05:55:05.918+0000 [initandlisten] shutdown: closing all files...
- 2018-09-25T05:55:05.918+0000 [initandlisten] closeAllFiles() finished
- 2018-09-25T05:55:05.918+0000 [initandlisten] journalCleanup...
- 2018-09-25T05:55:05.918+0000 [initandlisten] removeJournalFiles
- 2018-09-25T05:55:05.919+0000 [initandlisten] shutdown: removing fs lock...
- 2018-09-25T05:55:05.919+0000 [initandlisten] dbexit: really exiting now
- ubuntu@ip-172-31-20-245:~$ sudo mongod
- mongod --help for help and startup options
- 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
- 2018-09-25T05:57:39.702+0000 [initandlisten] db version v2.6.10
- 2018-09-25T05:57:39.702+0000 [initandlisten] git version: nogitversion
- 2018-09-25T05:57:39.703+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
- 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
- 2018-09-25T05:57:39.703+0000 [initandlisten] allocator: tcmalloc
- 2018-09-25T05:57:39.703+0000 [initandlisten] options: {}
- 2018-09-25T05:57:39.705+0000 [initandlisten] journal dir=/data/db/journal
- 2018-09-25T05:57:39.705+0000 [initandlisten] recover : no journal files present, no recovery needed
- 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
- 2018-09-25T05:57:39.820+0000 [initandlisten] ERROR: addr already in use
- 2018-09-25T05:57:39.821+0000 [initandlisten] now exiting
- 2018-09-25T05:57:39.821+0000 [initandlisten] dbexit:
- 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: going to close listening sockets...
- 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: going to flush diaglog...
- 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: going to close sockets...
- 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: waiting for fs preallocator...
- 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: lock for final commit...
- 2018-09-25T05:57:39.821+0000 [initandlisten] shutdown: final commit...
- 2018-09-25T05:57:39.824+0000 [initandlisten] shutdown: closing all files...
- 2018-09-25T05:57:39.824+0000 [initandlisten] closeAllFiles() finished
- 2018-09-25T05:57:39.824+0000 [initandlisten] journalCleanup...
- 2018-09-25T05:57:39.825+0000 [initandlisten] removeJournalFiles
- 2018-09-25T05:57:39.826+0000 [initandlisten] shutdown: removing fs lock...
- 2018-09-25T05:57:39.826+0000 [initandlisten] dbexit: really exiting now
- ubuntu@ip-172-31-20-245:~$ ^C
- ubuntu@ip-172-31-20-245:~$ ^C
- 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.
- Connection to ec2-18-188-165-15.us-east-2.compute.amazonaws.com closed.
- ActionJack@The-Eagle-of-Justice-2 ~/Downloads
- $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
- Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 14 packages can be updated.
- 14 updates are security updates.
- New release '18.04.1 LTS' available.
- Run 'do-release-upgrade' to upgrade to it.
- Last login: Tue Sep 25 05:47:34 2018 from 24.148.83.27
- ubuntu@ip-172-31-20-245:~$ sudo mongod
- mongod --help for help and startup options
- 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
- 2018-09-25T06:04:14.317+0000 [initandlisten] db version v2.6.10
- 2018-09-25T06:04:14.317+0000 [initandlisten] git version: nogitversion
- 2018-09-25T06:04:14.317+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
- 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
- 2018-09-25T06:04:14.317+0000 [initandlisten] allocator: tcmalloc
- 2018-09-25T06:04:14.317+0000 [initandlisten] options: {}
- 2018-09-25T06:04:14.323+0000 [initandlisten] journal dir=/data/db/journal
- 2018-09-25T06:04:14.323+0000 [initandlisten] recover : no journal files present, no recovery needed
- 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
- 2018-09-25T06:04:14.476+0000 [initandlisten] ERROR: addr already in use
- 2018-09-25T06:04:14.478+0000 [initandlisten] now exiting
- 2018-09-25T06:04:14.478+0000 [initandlisten] dbexit:
- 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: going to close listening sockets...
- 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: going to flush diaglog...
- 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: going to close sockets...
- 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: waiting for fs preallocator...
- 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: lock for final commit...
- 2018-09-25T06:04:14.478+0000 [initandlisten] shutdown: final commit...
- 2018-09-25T06:04:14.481+0000 [initandlisten] shutdown: closing all files...
- 2018-09-25T06:04:14.481+0000 [initandlisten] closeAllFiles() finished
- 2018-09-25T06:04:14.481+0000 [initandlisten] journalCleanup...
- 2018-09-25T06:04:14.481+0000 [initandlisten] removeJournalFiles
- 2018-09-25T06:04:14.483+0000 [initandlisten] shutdown: removing fs lock...
- 2018-09-25T06:04:14.483+0000 [initandlisten] dbexit: really exiting now
- ubuntu@ip-172-31-20-245:~$ Connection to ec2-18-188-165-15.us-east-2.compute.amazonaws.com closed by remote host.
- Connection to ec2-18-188-165-15.us-east-2.compute.amazonaws.com closed.
- ActionJack@The-Eagle-of-Justice-2 ~/Downloads
- $ ssh -i "schedulekey.pem" ubuntu@ec2-18-188-165-15.us-east-2.compute.amazonaws.com
- Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-1067-aws x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- Get cloud support with Ubuntu Advantage Cloud Guest:
- http://www.ubuntu.com/business/services/cloud
- 14 packages can be updated.
- 14 updates are security updates.
- New release '18.04.1 LTS' available.
- Run 'do-release-upgrade' to upgrade to it.
- Last login: Tue Sep 25 06:04:07 2018 from 24.148.83.27
- ubuntu@ip-172-31-20-245:~$ sudo service mongod status
- ● mongod.service
- Loaded: not-found (Reason: No such file or directory)
- Active: inactive (dead)
- ubuntu@ip-172-31-20-245:~$ sudo mongod status
- Invalid command: status
- Options:
- General options:
- -h [ --help ] show this usage information
- --version show version information
- -f [ --config ] arg configuration file specifying additional
- options
- -v [ --verbose ] [=arg(=v)] be more verbose (include multiple times for
- more verbosity e.g. -vvvvv)
- --quiet quieter output
- --port arg specify port number - 27017 by default
- --bind_ip arg comma separated list of ip addresses to
- listen on - all local ips by default
- --maxConns arg max number of simultaneous connections -
- 1000000 by default
- --logpath arg log file to send write to instead of stdout
- - has to be a file, not directory
- --syslog log to system's syslog facility instead of
- file or stdout
- --syslogFacility arg syslog facility used for monogdb syslog
- message
- --logappend append to logpath instead of over-writing
- --timeStampFormat arg Desired format for timestamps in log
- messages. One of ctime, iso8601-utc or
- iso8601-local
- --pidfilepath arg full path to pidfile (if not set, no pidfile
- is created)
- --keyFile arg private key for cluster authentication
- --setParameter arg Set a configurable parameter
- --httpinterface enable http interface
- --clusterAuthMode arg Authentication mode used for cluster
- authentication. Alternatives are
- (keyFile|sendKeyFile|sendX509|x509)
- --nounixsocket disable listening on unix sockets
- --unixSocketPrefix arg alternative directory for UNIX domain
- sockets (defaults to /tmp)
- --fork fork server process
- --auth run with security
- --noauth run without security
- --ipv6 enable IPv6 support (disabled by default)
- --jsonp allow JSONP access via http (has security
- implications)
- --rest turn on simple rest api
- --slowms arg (=100) value of slow for profile and console log
- --profile arg 0=off 1=slow, 2=all
- --cpu periodically show cpu and iowait utilization
- --sysinfo print some diagnostic system information
- --dbpath arg directory for datafiles - defaults to
- /data/db
- --directoryperdb each database will be stored in a separate
- directory
- --noIndexBuildRetry don't retry any index builds that were
- interrupted by shutdown
- --noprealloc disable data file preallocation - will often
- hurt performance
- --nssize arg (=16) .ns file size (in MB) for new databases
- --quota limits each database to a certain number of
- files (8 default)
- --quotaFiles arg number of files allowed per db, implies
- --quota
- --smallfiles use a smaller default file size
- --syncdelay arg (=60) seconds between disk syncs (0=never, but not
- recommended)
- --upgrade upgrade db if needed
- --repair run repair on all dbs
- --repairpath arg root directory for repair files - defaults
- to dbpath
- --noscripting disable scripting engine
- --notablescan do not allow table scans
- --journal enable journaling
- --nojournal disable journaling (journaling is on by
- default for 64 bit)
- --journalOptions arg journal diagnostic options
- --journalCommitInterval arg how often to group/batch commit (ms)
- --shutdown kill a running server (for init scripts)
- Replication options:
- --oplogSize arg size to use (in MB) for replication op log.
- default is 5% of disk space (i.e. large is
- good)
- Master/slave options (old; use replica sets instead):
- --master master mode
- --slave slave mode
- --source arg when slave: specify master as <server:port>
- --only arg when slave: specify a single database to
- replicate
- --slavedelay arg specify delay (in seconds) to be used when
- applying master ops to slave
- --autoresync automatically resync if slave data is stale
- Replica set options:
- --replSet arg arg is <setname>[/<optionalseedhostlist>]
- --replIndexPrefetch arg specify index prefetching behavior (if
- secondary) [none|_id_only|all]
- Sharding options:
- --configsvr declare this is a config db of a cluster;
- default port 27019; default dir
- /data/configdb
- --shardsvr declare this is a shard db of a cluster;
- default port 27018
- SSL options:
- --sslOnNormalPorts use ssl on configured ports
- --sslMode arg set the SSL operation mode
- (disabled|allowSSL|preferSSL|requireSSL)
- --sslPEMKeyFile arg PEM file for ssl
- --sslPEMKeyPassword arg PEM file password
- --sslClusterFile arg Key file for internal SSL authentication
- --sslClusterPassword arg Internal authentication key file password
- --sslCAFile arg Certificate Authority file for SSL
- --sslCRLFile arg Certificate Revocation List file for SSL
- --sslWeakCertificateValidation allow client to connect without presenting a
- certificate
- --sslAllowInvalidHostnames Allow server certificates to provide
- non-matching hostnames
- --sslAllowInvalidCertificates allow connections to servers with invalid
- certificates
- --sslFIPSMode activate FIPS 140-2 mode at startup
- ubuntu@ip-172-31-20-245:~$ sudo systemctl enable mongod
- Failed to execute operation: No such file or directory
- ubuntu@ip-172-31-20-245:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement