Skip to content

Instantly share code, notes, and snippets.

@mjtoolbox
Created July 12, 2013 05:51
Show Gist options
  • Save mjtoolbox/5982179 to your computer and use it in GitHub Desktop.
Save mjtoolbox/5982179 to your computer and use it in GitHub Desktop.
EC2 Instance Startup Engineering Cygwin output for HW3 preparation
msjo@msjo-PC ~
$ pwd
/home/msjo
msjo@msjo-PC ~
$ ls
demo.txt genome index.html market-research.js out1.txt subset.ptt.00 subset.ptt.03
errs.txt genome.tar locs market-research-wrapper.js out2.txt subset.ptt.01 subset.ptt.04
genes grader.js market-research.csv mjtoolbox-aws-ubuntu-startup-eng.pem out3.txt subset.ptt.02 test.txt
msjo@msjo-PC ~
$ echo $HOME
/home/msjo
msjo@msjo-PC ~
$ cd devapps
-bash: cd: devapps: No such file or directory
msjo@msjo-PC ~
$ cd c:
msjo@msjo-PC /cygdrive/c
$ cd devapps/cygwin
msjo@msjo-PC /cygdrive/c/devapps/cygwin
$ ls
bin Cygwin.ico dev home lib usr
Cygwin.bat Cygwin-Terminal.ico etc http%3a%2f%2fmirror.cpsc.ucalgary.ca%2fmirror%2fcygwin.com%2f tmp var
msjo@msjo-PC /cygdrive/c/devapps/cygwin
$ cd home
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home
$ ls
msjo
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home
$ cd config
-bash: cd: config: No such file or directory
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home
$ cd .ssh
-bash: cd: .ssh: No such file or directory
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home
$ cd /ssh
-bash: cd: /ssh: No such file or directory
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home
$ cd msjo
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home/msjo
$ ls
demo.txt genome index.html market-research.js out1.txt subset.ptt.00 subset.ptt.03
errs.txt genome.tar locs market-research-wrapper.js out2.txt subset.ptt.01 subset.ptt.04
genes grader.js market-research.csv mjtoolbox-aws-ubuntu-startup-eng.pem out3.txt subset.ptt.02 test.txt
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home/msjo
$ cd ~/.ssh
msjo@msjo-PC ~/.ssh
$ ls
config hello.txt hw1 hw1.js HW2.js known_hosts mjtoolbox-aws-ubuntu-startup-eng.pem nodeinstall
msjo@msjo-PC ~/.ssh
$ emacs config
[1]+ Stopped emacs config
msjo@msjo-PC ~/.ssh
$ nano config
msjo@msjo-PC ~/.ssh
$ chat config
-bash: chat: command not found
msjo@msjo-PC ~/.ssh
$ cat config
Host awhost1
HostName ec2-54-213-39-255.us-west-2.compute.amazonaws.com
User ubuntu
IdentityFile "~/.ssh/mjtoolbox-aws-ubuntu-startup-eng.pem"
msjo@msjo-PC ~/.ssh
$ cd $HOME
msjo@msjo-PC ~
$ ls
demo.txt genome index.html market-research.js out1.txt subset.ptt.00 subset.ptt.03
errs.txt genome.tar locs market-research-wrapper.js out2.txt subset.ptt.01 subset.ptt.04
genes grader.js market-research.csv mjtoolbox-aws-ubuntu-startup-eng.pem out3.txt subset.ptt.02 test.txt
msjo@msjo-PC ~
$ cd c
-bash: cd: c: No such file or directory
msjo@msjo-PC ~
$ cd c:
msjo@msjo-PC /cygdrive/c
$ cd devapps/cygwin/home/msjo
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home/msjo
$ ls
demo.txt genome index.html market-research.js out1.txt subset.ptt.00 subset.ptt.03
errs.txt genome.tar locs market-research-wrapper.js out2.txt subset.ptt.01 subset.ptt.04
genes grader.js market-research.csv mjtoolbox-aws-ubuntu-startup-eng.pem out3.txt subset.ptt.02 test.txt
msjo@msjo-PC /cygdrive/c/devapps/cygwin/home/msjo
$ cd $HOME
msjo@msjo-PC ~
$ ls
demo.txt genome index.html market-research.js out1.txt subset.ptt.00 subset.ptt.03
errs.txt genome.tar locs market-research-wrapper.js out2.txt subset.ptt.01 subset.ptt.04
genes grader.js market-research.csv mjtoolbox-aws-ubuntu-startup-eng.pem out3.txt subset.ptt.02 test.txt
msjo@msjo-PC ~
$ ssh awhost1
The authenticity of host 'ec2-54-213-39-255.us-west-2.compute.amazonaws.com (54.213.39.255)' can't be established.
ECDSA key fingerprint is d6:23:ee:45:93:4d:b2:e5:7f:2d:2b:93:69:33:e5:8a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ec2-54-213-39-255.us-west-2.compute.amazonaws.com,54.213.39.255' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-40-virtual x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Jul 12 04:34:57 UTC 2013
System load: 0.0 Processes: 57
Usage of /: 11.0% of 7.87GB Users logged in: 0
Memory usage: 6% IP address for eth0: 172.31.23.85
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
Use Juju to deploy your cloud instances and workloads:
https://juju.ubuntu.com/#cloud-precise
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-23-85:~$ ls
ubuntu@ip-172-31-23-85:~$ pwd
/home/ubuntu
ubuntu@ip-172-31-23-85:~$ sudo apt-get update
Get:1 http://us-west-2.ec2.archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://us-west-2.ec2.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://us-west-2.ec2.archive.ubuntu.com precise Release [49.6 kB]
Get:4 http://us-west-2.ec2.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:5 http://us-west-2.ec2.archive.ubuntu.com precise/main Sources [934 kB]
Get:6 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:7 http://us-west-2.ec2.archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:8 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:9 http://security.ubuntu.com precise-security/main Sources [83.5 kB]
Get:10 http://us-west-2.ec2.archive.ubuntu.com precise/main amd64 Packages [1,273 kB]
Get:11 http://us-west-2.ec2.archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]
Get:12 http://security.ubuntu.com precise-security/universe Sources [26.7 kB]
Get:13 http://security.ubuntu.com precise-security/main amd64 Packages [296 kB]
Get:14 http://us-west-2.ec2.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:15 http://us-west-2.ec2.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:16 http://security.ubuntu.com precise-security/universe amd64 Packages [77.5 kB]
Get:17 http://security.ubuntu.com precise-security/main i386 Packages [311 kB]
Get:18 http://security.ubuntu.com precise-security/universe i386 Packages [80.1 kB]
Get:19 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:20 http://us-west-2.ec2.archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:21 http://us-west-2.ec2.archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:22 http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Sources [400 kB]
Get:23 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:24 http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Sources [91.6 kB]
Get:25 http://us-west-2.ec2.archive.ubuntu.com precise-updates/main amd64 Packages [650 kB]
Get:26 http://security.ubuntu.com precise-security/main Translation-en [144 kB]
Get:27 http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe amd64 Packages [209 kB]
Get:28 http://us-west-2.ec2.archive.ubuntu.com precise-updates/main i386 Packages [670 kB]
Get:29 http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe i386 Packages [212 kB]
Get:30 http://us-west-2.ec2.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:31 http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:32 http://us-west-2.ec2.archive.ubuntu.com precise/main Translation-en [726 kB]
Get:33 http://security.ubuntu.com precise-security/universe Translation-en [49.5 kB]
Get:34 http://us-west-2.ec2.archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:35 http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Translation-en [298 kB]
Get:36 http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Translation-en [123 kB]
Fetched 26.0 MB in 18s (1,423 kB/s)
Reading package lists... Done
ubuntu@ip-172-31-23-85:~$ sudo apt-get install python-software-properties python g++ make
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-software-properties is already the newest version.
The following extra packages will be installed:
binutils cpp cpp-4.6 g++-4.6 gcc gcc-4.6 libc-bin libc-dev-bin libc6 libc6-dev libgomp1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.6-dev
linux-libc-dev manpages-dev python-minimal
Suggested packages:
binutils-doc cpp-doc gcc-4.6-locales g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg gcc-multilib autoconf automake1.9
libtool flex bison gdb gcc-doc gcc-4.6-multilib libmudflap0-4.6-dev libgcc1-dbg libgomp1-dbg libquadmath0-dbg libmudflap0-dbg
binutils-gold glibc-doc libstdc++6-4.6-doc make-doc python-doc python-tk
The following NEW packages will be installed:
binutils cpp cpp-4.6 g++ g++-4.6 gcc gcc-4.6 libc-dev-bin libc6-dev libgomp1 libmpc2 libmpfr4 libquadmath0 libstdc++6-4.6-dev
linux-libc-dev make manpages-dev
The following packages will be upgraded:
libc-bin libc6 python python-minimal
4 upgraded, 17 newly installed, 0 to remove and 44 not upgraded.
Need to get 35.8 MB of archives.
After this operation, 80.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin amd64 2.15-0ubuntu10.4 [1,181 kB]
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.4 [4,653 kB]
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main python-minimal amd64 2.7.3-0ubuntu2.2 [29.7 kB]
Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main python amd64 2.7.3-0ubuntu2.2 [168 kB]
Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB]
Get:6 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB]
Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libquadmath0 amd64 4.6.3-1ubuntu5 [126 kB]
Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libmpc2 amd64 0.9-4 [39.5 kB]
Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main binutils amd64 2.22-6ubuntu1.1 [2,638 kB]
Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp-4.6 amd64 4.6.3-1ubuntu5 [4,836 kB]
Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cpp amd64 4:4.6.3-1ubuntu5 [27.6 kB]
Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc-4.6 amd64 4.6.3-1ubuntu5 [7,572 kB]
Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gcc amd64 4:4.6.3-1ubuntu5 [5,114 B]
Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.4 [84.5 kB]
Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-49.75 [858 kB]
Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.4 [2,945 kB]
Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB]
Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB]
Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B]
Get:20 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main make amd64 3.81-8.1ubuntu1.1 [119 kB]
Get:21 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main manpages-dev all 3.35-0.1ubuntu1 [1,671 kB]
Fetched 35.8 MB in 3s (10.3 MB/s)
Preconfiguring packages ...
(Reading database ... 47418 files and directories currently installed.)
Preparing to replace libc-bin 2.15-0ubuntu10.3 (using .../libc-bin_2.15-0ubuntu10.4_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-40-virtual
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.4) ...
(Reading database ... 47418 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.3 (using .../libc6_2.15-0ubuntu10.4_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 47418 files and directories currently installed.)
Preparing to replace python-minimal 2.7.3-0ubuntu2 (using .../python-minimal_2.7.3-0ubuntu2.2_amd64.deb) ...
Unpacking replacement python-minimal ...
Processing triggers for man-db ...
Setting up python-minimal (2.7.3-0ubuntu2.2) ...
(Reading database ... 47418 files and directories currently installed.)
Preparing to replace python 2.7.3-0ubuntu2 (using .../python_2.7.3-0ubuntu2.2_amd64.deb) ...
Unpacking replacement python ...
Selecting previously unselected package libgomp1.
Unpacking libgomp1 (from .../libgomp1_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libmpfr4.
Unpacking libmpfr4 (from .../libmpfr4_3.1.0-3ubuntu2_amd64.deb) ...
Selecting previously unselected package libquadmath0.
Unpacking libquadmath0 (from .../libquadmath0_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libmpc2.
Unpacking libmpc2 (from .../libmpc2_0.9-4_amd64.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-6ubuntu1.1_amd64.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.15-0ubuntu10.4_amd64.deb) ...
Selecting previously unselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_3.2.0-49.75_amd64.deb) ...
Selecting previously unselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.15-0ubuntu10.4_amd64.deb) ...
Selecting previously unselected package libstdc++6-4.6-dev.
Unpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package g++-4.6.
Unpacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.1ubuntu1.1_amd64.deb) ...
Selecting previously unselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.35-0.1ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up python (2.7.3-0ubuntu2.2) ...
Setting up libgomp1 (4.6.3-1ubuntu5) ...
Setting up libmpfr4 (3.1.0-3ubuntu2) ...
Setting up libquadmath0 (4.6.3-1ubuntu5) ...
Setting up libmpc2 (0.9-4) ...
Setting up binutils (2.22-6ubuntu1.1) ...
Setting up cpp-4.6 (4.6.3-1ubuntu5) ...
Setting up cpp (4:4.6.3-1ubuntu5) ...
Setting up gcc-4.6 (4.6.3-1ubuntu5) ...
Setting up gcc (4:4.6.3-1ubuntu5) ...
Setting up libc-dev-bin (2.15-0ubuntu10.4) ...
Setting up linux-libc-dev (3.2.0-49.75) ...
Setting up libc6-dev (2.15-0ubuntu10.4) ...
Setting up make (3.81-8.1ubuntu1.1) ...
Setting up manpages-dev (3.35-0.1ubuntu1) ...
Setting up g++-4.6 (4.6.3-1ubuntu5) ...
Setting up g++ (4:4.6.3-1ubuntu5) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up libstdc++6-4.6-dev (4.6.3-1ubuntu5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
ubuntu@ip-172-31-23-85:~$ head .bash_eternal_history
head: cannot open `.bash_eternal_history' for reading: No such file or directory
ubuntu@ip-172-31-23-85:~$ cd $HOME
ubuntu@ip-172-31-23-85:~$ ls
ubuntu@ip-172-31-23-85:~$ sudo apt-get install -y git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
git git-man liberror-perl
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb
The following NEW packages will be installed:
git git-core git-man liberror-perl
0 upgraded, 4 newly installed, 0 to remove and 44 not upgraded.
Need to get 6,742 kB of archives.
After this operation, 15.3 MB of additional disk space will be used.
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB]
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main git amd64 1:1.7.9.5-1 [6,087 kB]
Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main git-core all 1:1.7.9.5-1 [1,384 B]
Fetched 6,742 kB in 0s (14.3 MB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 51517 files and directories currently installed.)
Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
Selecting previously unselected package git-man.
Unpacking git-man (from .../git-man_1%3a1.7.9.5-1_all.deb) ...
Selecting previously unselected package git.
Unpacking git (from .../git_1%3a1.7.9.5-1_amd64.deb) ...
Selecting previously unselected package git-core.
Unpacking git-core (from .../git-core_1%3a1.7.9.5-1_all.deb) ...
Processing triggers for man-db ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.9.5-1) ...
Setting up git (1:1.7.9.5-1) ...
Setting up git-core (1:1.7.9.5-1) ...
ubuntu@ip-172-31-23-85:~$ git clone https://github.com/startup-class/setup.git
Cloning into 'setup'...
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 12 (delta 1), reused 9 (delta 0)
Unpacking objects: 100% (12/12), done.
ubuntu@ip-172-31-23-85:~$ ls
setup
ubuntu@ip-172-31-23-85:~$ cd ./setup
ubuntu@ip-172-31-23-85:~/setup$ ls
README.md setup.sh
ubuntu@ip-172-31-23-85:~/setup$ nano setup.sh
ubuntu@ip-172-31-23-85:~/setup$ cd..
cd..: command not found
ubuntu@ip-172-31-23-85:~/setup$ cd
ubuntu@ip-172-31-23-85:~$ ls
setup
ubuntu@ip-172-31-23-85:~$ which node
ubuntu@ip-172-31-23-85:~$ which git
/usr/bin/git
ubuntu@ip-172-31-23-85:~$ git --version
git version 1.7.9.5
ubuntu@ip-172-31-23-85:~$ node --version
The program 'node' can be found in the following packages:
* node
* nodejs
Try: sudo apt-get install <selected package>
ubuntu@ip-172-31-23-85:~$ ls
setup
ubuntu@ip-172-31-23-85:~$ mv setup ec2setup
ubuntu@ip-172-31-23-85:~$ ls
ec2setup
ubuntu@ip-172-31-23-85:~$ ls
ec2setup
ubuntu@ip-172-31-23-85:~$ cd ec2setup
ubuntu@ip-172-31-23-85:~/ec2setup$ ls
README.md setup.sh
ubuntu@ip-172-31-23-85:~/ec2setup$ ls
README.md setup.sh
ubuntu@ip-172-31-23-85:~/ec2setup$ git push -u origin master
Username for 'https://github.com': mjtoolbox
Password for 'https://[email protected]':
error: The requested URL returned error: 403 while accessing https://github.com/startup-class/setup.git/info/refs
fatal: HTTP request failed
ubuntu@ip-172-31-23-85:~/ec2setup$ git remote add origin [email protected]:mjtoolbox/ec2setup.git
fatal: remote origin already exists.
ubuntu@ip-172-31-23-85:~/ec2setup$ git push -u origin master
Username for 'https://github.com': mjtoolbox
Password for 'https://[email protected]':
error: The requested URL returned error: 403 while accessing https://github.com/startup-class/setup.git/info/refs
fatal: HTTP request failed
ubuntu@ip-172-31-23-85:~/ec2setup$ cd
ubuntu@ip-172-31-23-85:~$ ssh-keygen -t rsa -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/ubuntu/.ssh/id_rsa.
Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub.
The key fingerprint is:
ac:72:84:13:de:ca:1d:cf:fb:0f:e2:5e:b8:8f:a0:b7 [email protected]
The key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| . |
| . + . |
| + + S |
| . = = . |
| + = = o |
| +.o * . |
| ..Eo*oo.. |
+-----------------+
ubuntu@ip-172-31-23-85:~$ git push -u origin master
fatal: Not a git repository (or any of the parent directories): .git
ubuntu@ip-172-31-23-85:~$ ls
ec2setup
ubuntu@ip-172-31-23-85:~$ cd ec2setup
ubuntu@ip-172-31-23-85:~/ec2setup$ ls
README.md setup.sh
ubuntu@ip-172-31-23-85:~/ec2setup$ git push -u origin master
Username for 'https://github.com': mjtoolbox
Password for 'https://[email protected]':
error: The requested URL returned error: 403 while accessing https://github.com/startup-class/setup.git/info/refs
fatal: HTTP request failed
ubuntu@ip-172-31-23-85:~/ec2setup$ git config --global user.name "mjtoolbox"
ubuntu@ip-172-31-23-85:~/ec2setup$ git config --global user.email "[email protected]"
ubuntu@ip-172-31-23-85:~/ec2setup$ git init
Reinitialized existing Git repository in /home/ubuntu/ec2setup/.git/
ubuntu@ip-172-31-23-85:~/ec2setup$ git status
# On branch master
nothing to commit (working directory clean)
ubuntu@ip-172-31-23-85:~/ec2setup$ git add README.md
ubuntu@ip-172-31-23-85:~/ec2setup$ git add setup.sh
ubuntu@ip-172-31-23-85:~/ec2setup$ git commit -m README.md
# On branch master
nothing to commit (working directory clean)
ubuntu@ip-172-31-23-85:~/ec2setup$ ls
README.md setup.sh
ubuntu@ip-172-31-23-85:~/ec2setup$ cd
ubuntu@ip-172-31-23-85:~$ ls
ec2setup
ubuntu@ip-172-31-23-85:~$ cd ec2setup
ubuntu@ip-172-31-23-85:~/ec2setup$ ls
README.md setup.sh
ubuntu@ip-172-31-23-85:~/ec2setup$ add commit -m setup.sh
No command 'add' found, did you mean:
Command 'ldd' from package 'libc-bin' (main)
Command 'dd' from package 'coreutils' (main)
Command 'amd' from package 'am-utils' (universe)
Command 'ddd' from package 'ddd' (universe)
Command 'tdd' from package 'devtodo' (universe)
Command 'atd' from package 'at' (main)
Command 'aid' from package 'id-utils' (universe)
Command 'and' from package 'and' (universe)
Command 'ad' from package 'netatalk' (universe)
Command 'axd' from package 'afnix' (universe)
add: command not found
ubuntu@ip-172-31-23-85:~/ec2setup$ git status
# On branch master
nothing to commit (working directory clean)
ubuntu@ip-172-31-23-85:~/ec2setup$ git log
commit 154621d05910c4e59c50715890f72155b2a0efad
Author: Balaji S. Srinivasan <[email protected]>
Date: Mon Jul 1 16:35:49 2013 -0700
One more updated to README.md
commit 319e55fddf512fcebb332e68264fd087af726c6e
Author: Balaji S. Srinivasan <[email protected]>
Date: Mon Jul 1 16:31:37 2013 -0700
Updated README.md.
commit 5e142e7736af08f0266518eba4e24ab76311ab48
Author: Balaji S. Srinivasan <[email protected]>
Date: Mon Jul 1 16:28:30 2013 -0700
Added setup script. Also clones dotfiles repo.
commit 50ff86b66254abeb42b2aa5eabe915e18c359ac0
Author: Balaji S. Srinivasan <[email protected]>
Date: Mon Jul 1 16:28:06 2013 -0700
first commit
ubuntu@ip-172-31-23-85:~/ec2setup$ git commit -m "Forked startup setup dotfile"
# On branch master
nothing to commit (working directory clean)
ubuntu@ip-172-31-23-85:~/ec2setup$ git remote add origin https://github.com/mjtoolbox/ec2setup.git
fatal: remote origin already exists.
ubuntu@ip-172-31-23-85:~/ec2setup$ git push -u origin master
Username for 'https://github.com': mjtoolbox
Password for 'https://[email protected]':
error: The requested URL returned error: 403 while accessing https://github.com/startup-class/setup.git/info/refs
fatal: HTTP request failed
ubuntu@ip-172-31-23-85:~/ec2setup$ cd
ubuntu@ip-172-31-23-85:~$ ./ec2setup/setup.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1197 100 1197 0 0 1803 0 --:--:-- --:--:-- --:--:-- 2107
Cloning into '/home/ubuntu/.nvm'...
remote: Counting objects: 696, done.
remote: Compressing objects: 100% (464/464), done.
remote: Total 696 (delta 339), reused 557 (delta 221)
Receiving objects: 100% (696/696), 105.69 KiB, done.
Resolving deltas: 100% (339/339), done.
=> Appending source string to /home/ubuntu/.profile
=> Close and reopen your terminal to start using NVM
######################################################################## 100.0%
Now using node v0.10.12
Now using node v0.10.12
npm http GET https://registry.npmjs.org/jshint
npm http 200 https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/jshint/-/jshint-2.1.4.tgz
npm http 200 https://registry.npmjs.org/jshint/-/jshint-2.1.4.tgz
npm http GET https://registry.npmjs.org/cli
npm http GET https://registry.npmjs.org/console-browserify
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/shelljs
npm http GET https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/console-browserify
npm http GET https://registry.npmjs.org/console-browserify/-/console-browserify-0.1.6.tgz
npm http 200 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 200 https://registry.npmjs.org/cli
npm http GET https://registry.npmjs.org/cli/-/cli-0.4.4-2.tgz
npm http 200 https://registry.npmjs.org/shelljs
npm http GET https://registry.npmjs.org/shelljs/-/shelljs-0.1.4.tgz
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.12.tgz
npm http 200 https://registry.npmjs.org/console-browserify/-/console-browserify-0.1.6.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 200 https://registry.npmjs.org/cli/-/cli-0.4.4-2.tgz
npm http 200 https://registry.npmjs.org/shelljs/-/shelljs-0.1.4.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.12.tgz
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
npm http 200 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.3.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.3.tgz
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.0.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.0.tgz
/home/ubuntu/.nvm/v0.10.12/bin/jshint -> /home/ubuntu/.nvm/v0.10.12/lib/node_modules/jshint/bin/jshint
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
[email protected] /home/ubuntu/.nvm/v0.10.12/lib/node_modules/jshint
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected] ([email protected], [email protected])
+-- [email protected] ([email protected])
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rlwrap
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 81.0 kB of archives.
After this operation, 307 kB of additional disk space will be used.
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/universe rlwrap amd64 0.37-2 [81.0 kB]
Fetched 81.0 kB in 0s (1,392 kB/s)
Selecting previously unselected package rlwrap.
(Reading database ... 52167 files and directories currently installed.)
Unpacking rlwrap (from .../rlwrap_0.37-2_amd64.deb) ...
Processing triggers for man-db ...
Setting up rlwrap (0.37-2) ...
update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode.
gpg: keyring `/tmp/tmpWVBzAE/secring.gpg' created
gpg: keyring `/tmp/tmpWVBzAE/pubring.gpg' created
gpg: requesting key CEC45805 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpWVBzAE/trustdb.gpg: trustdb created
gpg: key CEC45805: public key "Launchpad PPA for Damien Cassou" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Get:1 http://us-west-2.ec2.archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://us-west-2.ec2.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://us-west-2.ec2.archive.ubuntu.com precise Release
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates Release
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main Sources
Get:3 http://us-west-2.ec2.archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:4 http://us-west-2.ec2.archive.ubuntu.com precise/main amd64 Packages [1,273 kB]
Get:5 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:6 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:7 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:8 http://ppa.launchpad.net precise Release [11.9 kB]
Get:9 http://us-west-2.ec2.archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]
Get:10 http://ppa.launchpad.net precise/main Sources [2,100 B]
Get:11 http://ppa.launchpad.net precise/main amd64 Packages [4,359 B]
Get:12 http://security.ubuntu.com precise-security/main Sources [83.5 kB]
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main amd64 Packages
Get:13 http://ppa.launchpad.net precise/main i386 Packages [4,366 B]
Get:14 http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe amd64 Packages [209 kB]
Get:15 http://us-west-2.ec2.archive.ubuntu.com precise-updates/main i386 Packages [670 kB]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:16 http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe i386 Packages [212 kB]
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Translation-en
Get:17 http://security.ubuntu.com precise-security/universe Sources [26.7 kB]
Get:18 http://security.ubuntu.com precise-security/main amd64 Packages [296 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_US
Get:19 http://security.ubuntu.com precise-security/universe amd64 Packages [77.5 kB]
Ign http://ppa.launchpad.net precise/main Translation-en
Get:20 http://security.ubuntu.com precise-security/main i386 Packages [311 kB]
Get:21 http://security.ubuntu.com precise-security/universe i386 Packages [80.1 kB]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 13.1 MB in 8s (1,470 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cmap-adobe-japan1 dconf-gsettings-backend dconf-service emacs24-bin-common emacs24-common emacsen-common fontconfig fontconfig-config
gconf-service gconf-service-backend gconf2-common ghostscript gs-cjk-resource gsfonts hicolor-icon-theme imagemagick-common libasound2
libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data libavahi-common3 libcairo-gobject2 libcairo2 libcroco3 libcups2
libcupsimage2 libdatrie1 libdconf0 libfontconfig1 libgconf-2-4 libgd2-noxpm libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif4 libgs9
libgs9-common libgtk-3-0 libgtk-3-bin libgtk-3-common libice6 libijs-0.35 libjasper1 libjbig2dec0 libjpeg-turbo8 libjpeg8 liblcms1
liblcms2-2 liblqr-1-0 libltdl7 libm17n-0 libmagickcore4 libmagickwand4 libotf0 libpango1.0-0 libpaper-utils libpaper1 libpixman-1-0
librsvg2-2 libsm6 libthai-data libthai0 libtiff4 libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2
libxi6 libxinerama1 libxpm4 libxrandr2 libxrender1 libxt6 m17n-contrib m17n-db shared-mime-info ttf-dejavu-core x11-common
Suggested packages:
ghostscript-cups ghostscript-x hpijs fonts-ipafont-mincho fonts-ipafont-gothic ttf-arphic-ukai ttf-arphic-uming fonts-unfonts-core
libasound2-plugins libasound2-python cups-common libgd-tools librsvg2-common gvfs libjasper-runtime liblcms-utils liblcms2-utils
m17n-docs libmagickcore4-extra ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp librsvg2-bin
gawk
The following NEW packages will be installed:
cmap-adobe-japan1 dconf-gsettings-backend dconf-service emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg emacs24-el
emacsen-common fontconfig fontconfig-config gconf-service gconf-service-backend gconf2-common ghostscript gs-cjk-resource gsfonts
hicolor-icon-theme imagemagick-common libasound2 libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data libavahi-common3
libcairo-gobject2 libcairo2 libcroco3 libcups2 libcupsimage2 libdatrie1 libdconf0 libfontconfig1 libgconf-2-4 libgd2-noxpm
libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgif4 libgs9 libgs9-common libgtk-3-0 libgtk-3-bin libgtk-3-common libice6 libijs-0.35
libjasper1 libjbig2dec0 libjpeg-turbo8 libjpeg8 liblcms1 liblcms2-2 liblqr-1-0 libltdl7 libm17n-0 libmagickcore4 libmagickwand4 libotf0
libpango1.0-0 libpaper-utils libpaper1 libpixman-1-0 librsvg2-2 libsm6 libthai-data libthai0 libtiff4 libxcb-render0 libxcb-shm0
libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxpm4 libxrandr2 libxrender1 libxt6 m17n-contrib m17n-db
shared-mime-info ttf-dejavu-core x11-common
0 upgraded, 84 newly installed, 0 to remove and 44 not upgraded.
Need to get 69.4 MB of archives.
After this operation, 179 MB of additional disk space will be used.
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libasound2 amd64 1.0.25-1ubuntu10.2 [428 kB]
Get:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libatk1.0-data all 2.4.0-0ubuntu1 [12.7 kB]
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libatk1.0-0 amd64 2.4.0-0ubuntu1 [60.1 kB]
Get:4 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libavahi-common-data amd64 0.6.30-5ubuntu2 [22.2 kB]
Get:5 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libavahi-common3 amd64 0.6.30-5ubuntu2 [25.5 kB]
Get:6 http://ppa.launchpad.net/cassou/emacs/ubuntu/ precise/main emacs24-common all 24.3+1-1~ppa1~precise1 [20.0 MB]
Get:7 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libavahi-client3 amd64 0.6.30-5ubuntu2 [30.3 kB]
Get:8 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main ttf-dejavu-core all 2.33-2ubuntu1 [1,552 kB]
Get:9 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main fontconfig-config all 2.8.0-3ubuntu9.1 [44.4 kB]
Get:10 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libfontconfig1 amd64 2.8.0-3ubuntu9.1 [125 kB]
Get:11 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libpixman-1-0 amd64 0.24.4-1 [228 kB]
Get:12 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxcb-render0 amd64 1.8.1-1ubuntu0.2 [13.3 kB]
Get:13 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxcb-shm0 amd64 1.8.1-1ubuntu0.2 [5,516 B]
Get:14 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxrender1 amd64 1:0.9.6-2ubuntu0.1 [20.6 kB]
Get:15 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libcairo2 amd64 1.10.2-6.1ubuntu3 [467 kB]
Get:16 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libcairo-gobject2 amd64 1.10.2-6.1ubuntu3 [20.5 kB]
Get:17 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libcroco3 amd64 0.6.5-1 [99.3 kB]
Get:18 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libcups2 amd64 1.5.3-0ubuntu8 [171 kB]
Get:19 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libjpeg-turbo8 amd64 1.1.90+svn733-0ubuntu4.1 [111 kB]
Get:20 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libjpeg8 amd64 8c-2ubuntu7 [2,112 B]
Get:21 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libtiff4 amd64 3.9.5-2ubuntu1.5 [145 kB]
Get:22 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libcupsimage2 amd64 1.5.3-0ubuntu8 [51.7 kB]
Get:23 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libdatrie1 amd64 0.2.5-3 [16.4 kB]
Get:24 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gconf2-common all 3.2.5-0ubuntu2 [22.1 kB]
Get:25 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgconf-2-4 amd64 3.2.5-0ubuntu2 [97.2 kB]
Get:26 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libjasper1 amd64 1.900.1-13 [154 kB]
Get:27 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgdk-pixbuf2.0-common all 2.26.1-1 [7,818 B]
Get:28 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgdk-pixbuf2.0-0 amd64 2.26.1-1 [201 kB]
Get:29 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgif4 amd64 4.1.6-9ubuntu1 [31.0 kB]
Get:30 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libdconf0 amd64 0.12.0-0ubuntu1.1 [25.4 kB]
Get:31 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main dconf-service amd64 0.12.0-0ubuntu1.1 [16.9 kB]
Get:32 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main dconf-gsettings-backend amd64 0.12.0-0ubuntu1.1 [16.1 kB]
Get:33 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libgtk-3-common all 3.4.2-0ubuntu0.5 [145 kB]
Get:34 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libthai-data all 0.1.16-3 [179 kB]
Get:35 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libthai0 amd64 0.1.16-3 [19.7 kB]
Get:36 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libxft2 amd64 2.2.0-3ubuntu2 [42.3 kB]
Get:37 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main fontconfig amd64 2.8.0-3ubuntu9.1 [156 kB]
Get:38 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libpango1.0-0 amd64 1.30.0-0ubuntu3.1 [363 kB]
Get:39 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libxcomposite1 amd64 1:0.4.3-2build1 [7,708 B]
Get:40 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxfixes3 amd64 1:5.0-4ubuntu4.1 [12.5 kB]
Get:41 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxcursor1 amd64 1:1.1.12-1ubuntu0.1 [22.7 kB]
Get:42 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libxdamage1 amd64 1:1.1.3-2build1 [7,560 B]
Get:43 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxi6 amd64 2:1.6.0-0ubuntu2.1 [30.8 kB]
Get:44 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxinerama1 amd64 2:1.1.1-3ubuntu0.1 [8,072 B]
Get:45 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxrandr2 amd64 2:1.3.2-2ubuntu0.2 [17.5 kB]
Get:46 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main shared-mime-info amd64 1.0-0ubuntu4.1 [496 kB]
Get:47 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libgtk-3-0 amd64 3.4.2-0ubuntu0.5 [2,285 kB]
Get:48 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main x11-common all 1:7.6+12ubuntu2 [52.0 kB]
Get:49 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libice6 amd64 2:1.0.7-2build1 [46.1 kB]
Get:50 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main liblcms1 amd64 1.19.dfsg-1ubuntu3 [106 kB]
Get:51 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main liblcms2-2 amd64 2.2+git20110628-2ubuntu3 [142 kB]
Get:52 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libltdl7 amd64 2.4.2-1ubuntu1 [37.6 kB]
Get:53 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main librsvg2-2 amd64 2.36.1-0ubuntu1 [104 kB]
Get:54 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libsm6 amd64 2:1.2.0-2build1 [18.1 kB]
Get:55 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libxpm4 amd64 1:3.5.9-4 [37.0 kB]
Get:56 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libxt6 amd64 1:1.1.1-2ubuntu0.1 [186 kB]
Get:57 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libgd2-noxpm amd64 2.0.36~rc1~dfsg-6ubuntu2 [200 kB]
Get:58 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main cmap-adobe-japan1 all 0+20090930-2 [721 kB]
Get:59 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main emacsen-common all 1.4.22ubuntu1 [16.9 kB]
Get:60 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gconf-service-backend amd64 3.2.5-0ubuntu2 [74.1 kB]
Get:61 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gconf-service amd64 3.2.5-0ubuntu2 [2,012 B]
Get:62 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libotf0 amd64 0.9.12-1 [49.5 kB]
Get:63 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main m17n-db all 1.6.3-1 [1,800 kB]
Get:64 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main m17n-contrib all 1.1.13-1 [508 kB]
Get:65 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libm17n-0 amd64 1.6.3-1 [292 kB]
Get:66 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main liblqr-1-0 amd64 0.4.1-1.1 [39.5 kB]
Get:67 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main imagemagick-common all 8:6.6.9.7-5ubuntu3.2 [40.1 kB]
Get:68 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libmagickcore4 amd64 8:6.6.9.7-5ubuntu3.2 [1,879 kB]
Get:69 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libmagickwand4 amd64 8:6.6.9.7-5ubuntu3.2 [364 kB]
Get:70 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libijs-0.35 amd64 0.35-8 [16.7 kB]
Get:71 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libjbig2dec0 amd64 0.11-1ubuntu1 [41.2 kB]
Get:72 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libpaper1 amd64 1.1.24+nmu1build1 [14.2 kB]
Get:73 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gs-cjk-resource all 1.20100103-3 [1,477 kB]
Get:74 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libgs9-common all 9.05~dfsg-0ubuntu4.2 [3,940 kB]
Get:75 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libgs9 amd64 9.05~dfsg-0ubuntu4.2 [2,254 kB]
Get:76 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB]
Get:77 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main ghostscript amd64 9.05~dfsg-0ubuntu4.2 [44.0 kB]
Get:78 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main hicolor-icon-theme all 0.12-1ubuntu2 [10.2 kB]
Get:79 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libgtk-3-bin amd64 3.4.2-0ubuntu0.5 [15.9 kB]
Get:80 http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ precise/main libpaper-utils amd64 1.1.24+nmu1build1 [9,040 B]
Get:81 http://ppa.launchpad.net/cassou/emacs/ubuntu/ precise/main emacs24-bin-common amd64 24.3+1-1~ppa1~precise1 [182 kB]
Get:82 http://ppa.launchpad.net/cassou/emacs/ubuntu/ precise/main emacs24 amd64 24.3+1-1~ppa1~precise1 [4,116 kB]
Get:83 http://ppa.launchpad.net/cassou/emacs/ubuntu/ precise/main emacs24-common-non-dfsg all 24.3+1-1~ppa1~precise1 [4,420 kB]
Get:84 http://ppa.launchpad.net/cassou/emacs/ubuntu/ precise/main emacs24-el all 24.3+1-1~ppa1~precise1 [14.7 MB]
Fetched 69.4 MB in 39s (1,777 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libasound2.
(Reading database ... 52198 files and directories currently installed.)
Unpacking libasound2 (from .../libasound2_1.0.25-1ubuntu10.2_amd64.deb) ...
Selecting previously unselected package libatk1.0-data.
Unpacking libatk1.0-data (from .../libatk1.0-data_2.4.0-0ubuntu1_all.deb) ...
Selecting previously unselected package libatk1.0-0.
Unpacking libatk1.0-0 (from .../libatk1.0-0_2.4.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libavahi-common-data.
Unpacking libavahi-common-data (from .../libavahi-common-data_0.6.30-5ubuntu2_amd64.deb) ...
Selecting previously unselected package libavahi-common3.
Unpacking libavahi-common3 (from .../libavahi-common3_0.6.30-5ubuntu2_amd64.deb) ...
Selecting previously unselected package libavahi-client3.
Unpacking libavahi-client3 (from .../libavahi-client3_0.6.30-5ubuntu2_amd64.deb) ...
Selecting previously unselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-2ubuntu1_all.deb) ...
Selecting previously unselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-3ubuntu9.1_all.deb) ...
Selecting previously unselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-3ubuntu9.1_amd64.deb) ...
Selecting previously unselected package libpixman-1-0.
Unpacking libpixman-1-0 (from .../libpixman-1-0_0.24.4-1_amd64.deb) ...
Selecting previously unselected package libxcb-render0.
Unpacking libxcb-render0 (from .../libxcb-render0_1.8.1-1ubuntu0.2_amd64.deb) ...
Selecting previously unselected package libxcb-shm0.
Unpacking libxcb-shm0 (from .../libxcb-shm0_1.8.1-1ubuntu0.2_amd64.deb) ...
Selecting previously unselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-2ubuntu0.1_amd64.deb) ...
Selecting previously unselected package libcairo2.
Unpacking libcairo2 (from .../libcairo2_1.10.2-6.1ubuntu3_amd64.deb) ...
Selecting previously unselected package libcairo-gobject2.
Unpacking libcairo-gobject2 (from .../libcairo-gobject2_1.10.2-6.1ubuntu3_amd64.deb) ...
Selecting previously unselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.5-1_amd64.deb) ...
Selecting previously unselected package libcups2.
Unpacking libcups2 (from .../libcups2_1.5.3-0ubuntu8_amd64.deb) ...
Selecting previously unselected package libjpeg-turbo8.
Unpacking libjpeg-turbo8 (from .../libjpeg-turbo8_1.1.90+svn733-0ubuntu4.1_amd64.deb) ...
Selecting previously unselected package libjpeg8.
Unpacking libjpeg8 (from .../libjpeg8_8c-2ubuntu7_amd64.deb) ...
Selecting previously unselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.9.5-2ubuntu1.5_amd64.deb) ...
Selecting previously unselected package libcupsimage2.
Unpacking libcupsimage2 (from .../libcupsimage2_1.5.3-0ubuntu8_amd64.deb) ...
Selecting previously unselected package libdatrie1.
Unpacking libdatrie1 (from .../libdatrie1_0.2.5-3_amd64.deb) ...
Selecting previously unselected package gconf2-common.
Unpacking gconf2-common (from .../gconf2-common_3.2.5-0ubuntu2_all.deb) ...
Selecting previously unselected package libgconf-2-4.
Unpacking libgconf-2-4 (from .../libgconf-2-4_3.2.5-0ubuntu2_amd64.deb) ...
Selecting previously unselected package libjasper1.
Unpacking libjasper1 (from .../libjasper1_1.900.1-13_amd64.deb) ...
Selecting previously unselected package libgdk-pixbuf2.0-common.
Unpacking libgdk-pixbuf2.0-common (from .../libgdk-pixbuf2.0-common_2.26.1-1_all.deb) ...
Selecting previously unselected package libgdk-pixbuf2.0-0.
Unpacking libgdk-pixbuf2.0-0 (from .../libgdk-pixbuf2.0-0_2.26.1-1_amd64.deb) ...
Selecting previously unselected package libgif4.
Unpacking libgif4 (from .../libgif4_4.1.6-9ubuntu1_amd64.deb) ...
Selecting previously unselected package libdconf0.
Unpacking libdconf0 (from .../libdconf0_0.12.0-0ubuntu1.1_amd64.deb) ...
Selecting previously unselected package dconf-service.
Unpacking dconf-service (from .../dconf-service_0.12.0-0ubuntu1.1_amd64.deb) ...
Selecting previously unselected package dconf-gsettings-backend.
Unpacking dconf-gsettings-backend (from .../dconf-gsettings-backend_0.12.0-0ubuntu1.1_amd64.deb) ...
Selecting previously unselected package libgtk-3-common.
Unpacking libgtk-3-common (from .../libgtk-3-common_3.4.2-0ubuntu0.5_all.deb) ...
Selecting previously unselected package libthai-data.
Unpacking libthai-data (from .../libthai-data_0.1.16-3_all.deb) ...
Selecting previously unselected package libthai0.
Unpacking libthai0 (from .../libthai0_0.1.16-3_amd64.deb) ...
Selecting previously unselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.2.0-3ubuntu2_amd64.deb) ...
Selecting previously unselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.8.0-3ubuntu9.1_amd64.deb) ...
Selecting previously unselected package libpango1.0-0.
Unpacking libpango1.0-0 (from .../libpango1.0-0_1.30.0-0ubuntu3.1_amd64.deb) ...
Selecting previously unselected package libxcomposite1.
Unpacking libxcomposite1 (from .../libxcomposite1_1%3a0.4.3-2build1_amd64.deb) ...
Selecting previously unselected package libxfixes3.
Unpacking libxfixes3 (from .../libxfixes3_1%3a5.0-4ubuntu4.1_amd64.deb) ...
Selecting previously unselected package libxcursor1.
Unpacking libxcursor1 (from .../libxcursor1_1%3a1.1.12-1ubuntu0.1_amd64.deb) ...
Selecting previously unselected package libxdamage1.
Unpacking libxdamage1 (from .../libxdamage1_1%3a1.1.3-2build1_amd64.deb) ...
Selecting previously unselected package libxi6.
Unpacking libxi6 (from .../libxi6_2%3a1.6.0-0ubuntu2.1_amd64.deb) ...
Selecting previously unselected package libxinerama1.
Unpacking libxinerama1 (from .../libxinerama1_2%3a1.1.1-3ubuntu0.1_amd64.deb) ...
Selecting previously unselected package libxrandr2.
Unpacking libxrandr2 (from .../libxrandr2_2%3a1.3.2-2ubuntu0.2_amd64.deb) ...
Selecting previously unselected package shared-mime-info.
Unpacking shared-mime-info (from .../shared-mime-info_1.0-0ubuntu4.1_amd64.deb) ...
Selecting previously unselected package libgtk-3-0.
Unpacking libgtk-3-0 (from .../libgtk-3-0_3.4.2-0ubuntu0.5_amd64.deb) ...
Selecting previously unselected package x11-common.
Unpacking x11-common (from .../x11-common_1%3a7.6+12ubuntu2_all.deb) ...
Selecting previously unselected package libice6.
Unpacking libice6 (from .../libice6_2%3a1.0.7-2build1_amd64.deb) ...
Selecting previously unselected package liblcms1.
Unpacking liblcms1 (from .../liblcms1_1.19.dfsg-1ubuntu3_amd64.deb) ...
Selecting previously unselected package liblcms2-2.
Unpacking liblcms2-2 (from .../liblcms2-2_2.2+git20110628-2ubuntu3_amd64.deb) ...
Selecting previously unselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.4.2-1ubuntu1_amd64.deb) ...
Selecting previously unselected package librsvg2-2.
Unpacking librsvg2-2 (from .../librsvg2-2_2.36.1-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libsm6.
Unpacking libsm6 (from .../libsm6_2%3a1.2.0-2build1_amd64.deb) ...
Selecting previously unselected package libxpm4.
Unpacking libxpm4 (from .../libxpm4_1%3a3.5.9-4_amd64.deb) ...
Selecting previously unselected package libxt6.
Unpacking libxt6 (from .../libxt6_1%3a1.1.1-2ubuntu0.1_amd64.deb) ...
Selecting previously unselected package libgd2-noxpm.
Unpacking libgd2-noxpm (from .../libgd2-noxpm_2.0.36~rc1~dfsg-6ubuntu2_amd64.deb) ...
Selecting previously unselected package cmap-adobe-japan1.
Unpacking cmap-adobe-japan1 (from .../cmap-adobe-japan1_0+20090930-2_all.deb) ...
Selecting previously unselected package emacsen-common.
Unpacking emacsen-common (from .../emacsen-common_1.4.22ubuntu1_all.deb) ...
Selecting previously unselected package emacs24-common.
Unpacking emacs24-common (from .../emacs24-common_24.3+1-1~ppa1~precise1_all.deb) ...
Selecting previously unselected package emacs24-bin-common.
Unpacking emacs24-bin-common (from .../emacs24-bin-common_24.3+1-1~ppa1~precise1_amd64.deb) ...
Selecting previously unselected package gconf-service-backend.
Unpacking gconf-service-backend (from .../gconf-service-backend_3.2.5-0ubuntu2_amd64.deb) ...
Selecting previously unselected package gconf-service.
Unpacking gconf-service (from .../gconf-service_3.2.5-0ubuntu2_amd64.deb) ...
Selecting previously unselected package libotf0.
Unpacking libotf0 (from .../libotf0_0.9.12-1_amd64.deb) ...
Selecting previously unselected package m17n-db.
Unpacking m17n-db (from .../m17n-db_1.6.3-1_all.deb) ...
Selecting previously unselected package m17n-contrib.
Unpacking m17n-contrib (from .../m17n-contrib_1.1.13-1_all.deb) ...
Selecting previously unselected package libm17n-0.
Unpacking libm17n-0 (from .../libm17n-0_1.6.3-1_amd64.deb) ...
Selecting previously unselected package liblqr-1-0.
Unpacking liblqr-1-0 (from .../liblqr-1-0_0.4.1-1.1_amd64.deb) ...
Selecting previously unselected package imagemagick-common.
Unpacking imagemagick-common (from .../imagemagick-common_8%3a6.6.9.7-5ubuntu3.2_all.deb) ...
Selecting previously unselected package libmagickcore4.
Unpacking libmagickcore4 (from .../libmagickcore4_8%3a6.6.9.7-5ubuntu3.2_amd64.deb) ...
Selecting previously unselected package libmagickwand4.
Unpacking libmagickwand4 (from .../libmagickwand4_8%3a6.6.9.7-5ubuntu3.2_amd64.deb) ...
Selecting previously unselected package emacs24.
Unpacking emacs24 (from .../emacs24_24.3+1-1~ppa1~precise1_amd64.deb) ...
Selecting previously unselected package emacs24-common-non-dfsg.
Unpacking emacs24-common-non-dfsg (from .../emacs24-common-non-dfsg_24.3+1-1~ppa1~precise1_all.deb) ...
Selecting previously unselected package emacs24-el.
Unpacking emacs24-el (from .../emacs24-el_24.3+1-1~ppa1~precise1_all.deb) ...
Selecting previously unselected package libijs-0.35.
Unpacking libijs-0.35 (from .../libijs-0.35_0.35-8_amd64.deb) ...
Selecting previously unselected package libjbig2dec0.
Unpacking libjbig2dec0 (from .../libjbig2dec0_0.11-1ubuntu1_amd64.deb) ...
Selecting previously unselected package libpaper1.
Unpacking libpaper1 (from .../libpaper1_1.1.24+nmu1build1_amd64.deb) ...
Selecting previously unselected package gs-cjk-resource.
Unpacking gs-cjk-resource (from .../gs-cjk-resource_1.20100103-3_all.deb) ...
Selecting previously unselected package libgs9-common.
Unpacking libgs9-common (from .../libgs9-common_9.05~dfsg-0ubuntu4.2_all.deb) ...
Selecting previously unselected package libgs9.
Unpacking libgs9 (from .../libgs9_9.05~dfsg-0ubuntu4.2_amd64.deb) ...
Selecting previously unselected package gsfonts.
Unpacking gsfonts (from .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.2ubuntu1_all.deb) ...
Selecting previously unselected package ghostscript.
Unpacking ghostscript (from .../ghostscript_9.05~dfsg-0ubuntu4.2_amd64.deb) ...
Selecting previously unselected package hicolor-icon-theme.
Unpacking hicolor-icon-theme (from .../hicolor-icon-theme_0.12-1ubuntu2_all.deb) ...
Selecting previously unselected package libgtk-3-bin.
Unpacking libgtk-3-bin (from .../libgtk-3-bin_3.4.2-0ubuntu0.5_amd64.deb) ...
Adding 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
Adding 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin'
Selecting previously unselected package libpaper-utils.
Unpacking libpaper-utils (from .../libpaper-utils_1.1.24+nmu1build1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for libglib2.0-0 ...
Processing triggers for ureadahead ...
Processing triggers for install-info ...
Setting up libasound2 (1.0.25-1ubuntu10.2) ...
Setting up libatk1.0-data (2.4.0-0ubuntu1) ...
Setting up libatk1.0-0 (2.4.0-0ubuntu1) ...
Setting up libavahi-common-data (0.6.30-5ubuntu2) ...
Setting up libavahi-common3 (0.6.30-5ubuntu2) ...
Setting up libavahi-client3 (0.6.30-5ubuntu2) ...
Setting up ttf-dejavu-core (2.33-2ubuntu1) ...
Setting up fontconfig-config (2.8.0-3ubuntu9.1) ...
Setting up libfontconfig1 (2.8.0-3ubuntu9.1) ...
Setting up libpixman-1-0 (0.24.4-1) ...
Setting up libxcb-render0 (1.8.1-1ubuntu0.2) ...
Setting up libxcb-shm0 (1.8.1-1ubuntu0.2) ...
Setting up libxrender1 (1:0.9.6-2ubuntu0.1) ...
Setting up libcairo2 (1.10.2-6.1ubuntu3) ...
Setting up libcairo-gobject2 (1.10.2-6.1ubuntu3) ...
Setting up libcroco3 (0.6.5-1) ...
Setting up libcups2 (1.5.3-0ubuntu8) ...
Setting up libjpeg-turbo8 (1.1.90+svn733-0ubuntu4.1) ...
Setting up libjpeg8 (8c-2ubuntu7) ...
Setting up libtiff4 (3.9.5-2ubuntu1.5) ...
Setting up libcupsimage2 (1.5.3-0ubuntu8) ...
Setting up libdatrie1 (0.2.5-3) ...
Setting up gconf2-common (3.2.5-0ubuntu2) ...
Creating config file /etc/gconf/2/path with new version
Setting up libgconf-2-4 (3.2.5-0ubuntu2) ...
Setting up libjasper1 (1.900.1-13) ...
Setting up libgdk-pixbuf2.0-common (2.26.1-1) ...
Setting up libgdk-pixbuf2.0-0 (2.26.1-1) ...
Setting up libgif4 (4.1.6-9ubuntu1) ...
Setting up libdconf0 (0.12.0-0ubuntu1.1) ...
Setting up dconf-service (0.12.0-0ubuntu1.1) ...
Setting up dconf-gsettings-backend (0.12.0-0ubuntu1.1) ...
Setting up libgtk-3-common (3.4.2-0ubuntu0.5) ...
Setting up libthai-data (0.1.16-3) ...
Setting up libthai0 (0.1.16-3) ...
Setting up libxft2 (2.2.0-3ubuntu2) ...
Setting up fontconfig (2.8.0-3ubuntu9.1) ...
Cleaning up old fontconfig caches... done.
Regenerating fonts cache... done.
Setting up libpango1.0-0 (1.30.0-0ubuntu3.1) ...
Setting up libxcomposite1 (1:0.4.3-2build1) ...
Setting up libxfixes3 (1:5.0-4ubuntu4.1) ...
Setting up libxcursor1 (1:1.1.12-1ubuntu0.1) ...
Setting up libxdamage1 (1:1.1.3-2build1) ...
Setting up libxi6 (2:1.6.0-0ubuntu2.1) ...
Setting up libxinerama1 (2:1.1.1-3ubuntu0.1) ...
Setting up libxrandr2 (2:1.3.2-2ubuntu0.2) ...
Setting up shared-mime-info (1.0-0ubuntu4.1) ...
Setting up libgtk-3-0 (3.4.2-0ubuntu0.5) ...
Setting up x11-common (1:7.6+12ubuntu2) ...
Setting up libice6 (2:1.0.7-2build1) ...
Setting up liblcms1 (1.19.dfsg-1ubuntu3) ...
Setting up liblcms2-2 (2.2+git20110628-2ubuntu3) ...
Setting up libltdl7 (2.4.2-1ubuntu1) ...
Setting up librsvg2-2 (2.36.1-0ubuntu1) ...
Setting up libsm6 (2:1.2.0-2build1) ...
Setting up libxpm4 (1:3.5.9-4) ...
Setting up libxt6 (1:1.1.1-2ubuntu0.1) ...
Setting up libgd2-noxpm (2.0.36~rc1~dfsg-6ubuntu2) ...
Setting up cmap-adobe-japan1 (0+20090930-2) ...
Setting up emacsen-common (1.4.22ubuntu1) ...
emacsen-common: Handling install of emacsen flavor emacs
Setting up emacs24-common (24.3+1-1~ppa1~precise1) ...
Setting up emacs24-bin-common (24.3+1-1~ppa1~precise1) ...
Setting up libotf0 (0.9.12-1) ...
Setting up m17n-db (1.6.3-1) ...
Setting up m17n-contrib (1.1.13-1) ...
Setting up libm17n-0 (1.6.3-1) ...
Setting up liblqr-1-0 (0.4.1-1.1) ...
Setting up imagemagick-common (8:6.6.9.7-5ubuntu3.2) ...
Setting up libmagickcore4 (8:6.6.9.7-5ubuntu3.2) ...
Setting up libmagickwand4 (8:6.6.9.7-5ubuntu3.2) ...
Setting up emacs24-common-non-dfsg (24.3+1-1~ppa1~precise1) ...
Setting up emacs24-el (24.3+1-1~ppa1~precise1) ...
Setting up libijs-0.35 (0.35-8) ...
Setting up libjbig2dec0 (0.11-1ubuntu1) ...
Setting up libpaper1 (1.1.24+nmu1build1) ...
Creating config file /etc/papersize with new version
Setting up libgs9-common (9.05~dfsg-0ubuntu4.2) ...
update-alternatives: using /usr/share/ghostscript/9.05 to provide /usr/share/ghostscript/current (ghostscript-current) in auto mode.
Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
Setting up hicolor-icon-theme (0.12-1ubuntu2) ...
Setting up libgtk-3-bin (3.4.2-0ubuntu0.5) ...
Setting up libpaper-utils (1.1.24+nmu1build1) ...
Setting up gconf-service (3.2.5-0ubuntu2) ...
Setting up emacs24 (24.3+1-1~ppa1~precise1) ...
update-alternatives: using /usr/bin/emacs24-x to provide /usr/bin/emacs (emacs) in auto mode.
emacs-install emacs24
emacsen-common: Handling install of emacsen flavor emacs24
emacsen-common: byte-compiling for emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Setting up ghostscript (9.05~dfsg-0ubuntu4.2) ...
Setting up gs-cjk-resource (1.20100103-3) ...
Setting up libgs9 (9.05~dfsg-0ubuntu4.2) ...
Setting up gconf-service-backend (3.2.5-0ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Cloning into 'dotfiles'...
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 39 (delta 9), reused 27 (delta 4)
Unpacking objects: 100% (39/39), done.
ubuntu@ip-172-31-23-85:~$ git clone https://github.com/mjtoolbox/bitstarter.git
Cloning into 'bitstarter'...
remote: Counting objects: 299, done.
remote: Compressing objects: 100% (269/269), done.
remote: Total 299 (delta 13), reused 269 (delta 0)
Receiving objects: 100% (299/299), 201.81 KiB | 324 KiB/s, done.
Resolving deltas: 100% (13/13), done.
ubuntu@ip-172-31-23-85:~$ which node
ubuntu@ip-172-31-23-85:~$ node --version
The program 'node' can be found in the following packages:
* node
* nodejs
Try: sudo apt-get install <selected package>
ubuntu@ip-172-31-23-85:~$ node --help
The program 'node' can be found in the following packages:
* node
* nodejs
Try: sudo apt-get install <selected package>
ubuntu@ip-172-31-23-85:~$ sudo apt-get update
Hit http://us-west-2.ec2.archive.ubuntu.com precise Release.gpg
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates Release.gpg
Hit http://us-west-2.ec2.archive.ubuntu.com precise Release
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates Release
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe Translation-en
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Translation-en
Get:2 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release
Get:3 http://security.ubuntu.com precise-security/main Sources [83.5 kB]
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Get:4 http://security.ubuntu.com precise-security/universe Sources [26.7 kB]
Hit http://ppa.launchpad.net precise/main i386 Packages
Get:5 http://security.ubuntu.com precise-security/main amd64 Packages [296 kB]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:6 http://security.ubuntu.com precise-security/universe amd64 Packages [77.5 kB]
Get:7 http://security.ubuntu.com precise-security/main i386 Packages [311 kB]
Get:8 http://security.ubuntu.com precise-security/universe i386 Packages [80.1 kB]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en_US
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Fetched 925 kB in 2s (351 kB/s)
Reading package lists... Done
ubuntu@ip-172-31-23-85:~$ sudo apt-get install python-software-properties python g++ make
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
make is already the newest version.
python is already the newest version.
python-software-properties is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
ubuntu@ip-172-31-23-85:~$ sudo add-apt-repository ppa:chris-lea/node.js
You are about to add the following PPA to your system:
Evented I/O for V8 javascript. Node's goal is to provide an easy way to build scalable network programs
More info: https://launchpad.net/~chris-lea/+archive/node.js
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpUxfFty/secring.gpg' created
gpg: keyring `/tmp/tmpUxfFty/pubring.gpg' created
gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpUxfFty/trustdb.gpg: trustdb created
gpg: key C7917B12: public key "Launchpad chrislea" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
ubuntu@ip-172-31-23-85:~$ sudo apt-get update
Hit http://us-west-2.ec2.archive.ubuntu.com precise Release.gpg
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates Release.gpg
Hit http://us-west-2.ec2.archive.ubuntu.com precise Release
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates Release
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Sources
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us-west-2.ec2.archive.ubuntu.com precise/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise/universe Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://security.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net precise Release
Hit http://security.ubuntu.com precise-security/main Sources
Get:2 http://ppa.launchpad.net precise Release [11.9 kB]
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://ppa.launchpad.net precise/main Sources
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Get:3 http://ppa.launchpad.net precise/main Sources [830 B]
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Get:4 http://ppa.launchpad.net precise/main amd64 Packages [1,388 B]
Hit http://security.ubuntu.com precise-security/main Translation-en
Get:5 http://ppa.launchpad.net precise/main i386 Packages [1,384 B]
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://ppa.launchpad.net precise/main TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Fetched 15.8 kB in 5s (3,075 B/s)
Reading package lists... Done
ubuntu@ip-172-31-23-85:~$ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 5,959 kB of archives.
After this operation, 17.2 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/chris-lea/node.js/ubuntu/ precise/main nodejs amd64 0.10.13-1chl1~precise1 [5,959 kB]
Fetched 5,959 kB in 5s (1,169 kB/s)
Selecting previously unselected package nodejs.
(Reading database ... 58990 files and directories currently installed.)
Unpacking nodejs (from .../nodejs_0.10.13-1chl1~precise1_amd64.deb) ...
Processing triggers for man-db ...
Setting up nodejs (0.10.13-1chl1~precise1) ...
ubuntu@ip-172-31-23-85:~$ which node
/usr/bin/node
ubuntu@ip-172-31-23-85:~$ ls
bitstarter dotfiles ec2setup tmp
ubuntu@ip-172-31-23-85:~$ cd bitstarter
ubuntu@ip-172-31-23-85:~/bitstarter$ ls
checks.json grader.js index.html node_modules package.json Procfile web.js
ubuntu@ip-172-31-23-85:~/bitstarter$ npm install cheerio
npm http GET https://registry.npmjs.org/cheerio
npm http 200 https://registry.npmjs.org/cheerio
npm http GET https://registry.npmjs.org/cheerio/-/cheerio-0.12.0.tgz
npm http 200 https://registry.npmjs.org/cheerio/-/cheerio-0.12.0.tgz
npm http GET https://registry.npmjs.org/entities
npm http GET https://registry.npmjs.org/cheerio-select
npm http GET https://registry.npmjs.org/htmlparser2/3.1.1
npm http GET https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/entities
npm http GET https://registry.npmjs.org/entities/-/entities-0.3.0.tgz
npm http 200 https://registry.npmjs.org/cheerio-select
npm http 200 https://registry.npmjs.org/htmlparser2/3.1.1
npm http GET https://registry.npmjs.org/cheerio-select/-/cheerio-select-0.0.3.tgz
npm http GET https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.1.1.tgz
npm http 200 https://registry.npmjs.org/entities/-/entities-0.3.0.tgz
npm http 200 https://registry.npmjs.org/cheerio-select/-/cheerio-select-0.0.3.tgz
npm http 200 https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.1.1.tgz
npm http GET https://registry.npmjs.org/CSSselect
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/readable-stream
npm http 200 https://registry.npmjs.org/CSSselect
npm http GET https://registry.npmjs.org/CSSselect/-/CSSselect-0.3.1.tgz
npm http 200 https://registry.npmjs.org/domutils
npm http 200 https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/domutils/-/domutils-1.1.2.tgz
npm http GET https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.1.tgz
npm http 200 https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domhandler/-/domhandler-2.0.3.tgz
npm http 200 https://registry.npmjs.org/CSSselect/-/CSSselect-0.3.1.tgz
npm http 200 https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.1.tgz
npm http 200 https://registry.npmjs.org/domutils/-/domutils-1.1.2.tgz
npm http 200 https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.2.tgz
npm http 200 https://registry.npmjs.org/domhandler/-/domhandler-2.0.3.tgz
npm http GET https://registry.npmjs.org/CSSwhat
npm http 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.2.tgz
npm http 200 https://registry.npmjs.org/CSSwhat
npm http GET https://registry.npmjs.org/CSSwhat/-/CSSwhat-0.2.0.tgz
npm http 200 https://registry.npmjs.org/CSSwhat/-/CSSwhat-0.2.0.tgz
[email protected] node_modules/cheerio
+-- [email protected]
+-- [email protected]
+-- [email protected] ([email protected], [email protected], [email protected], [email protected])
+-- [email protected] ([email protected])
ubuntu@ip-172-31-23-85:~/bitstarter$ npm install commander
npm http GET https://registry.npmjs.org/commander
npm http 200 https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/commander/-/commander-1.3.0.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-1.3.0.tgz
npm http GET https://registry.npmjs.org/keypress
npm http 200 https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/keypress/-/keypress-0.1.0.tgz
npm http 200 https://registry.npmjs.org/keypress/-/keypress-0.1.0.tgz
[email protected] node_modules/commander
+-- [email protected]
ubuntu@ip-172-31-23-85:~/bitstarter$ ls
checks.json grader.js index.html node_modules package.json Procfile web.js
ubuntu@ip-172-31-23-85:~/bitstarter$ emacs -nw grader.js
ubuntu@ip-172-31-23-85:~/bitstarter$ cat checks.json
["h1",
".navigation"]
ubuntu@ip-172-31-23-85:~/bitstarter$ head -n index.html
head: index.html: invalid number of lines
ubuntu@ip-172-31-23-85:~/bitstarter$ head -n3 index.html
<!DOCTYPE html>
<html lang="en">
<head>
ubuntu@ip-172-31-23-85:~/bitstarter$ cat checks.json
["h1",
".navigation"]
ubuntu@ip-172-31-23-85:~/bitstarter$ ./grader.js --checks checks.json --file index.html
: No such file or directory
ubuntu@ip-172-31-23-85:~/bitstarter$ node grader.js --checks checks.json --file index.html
{
".navigation": true,
"h1": true
}
ubuntu@ip-172-31-23-85:~/bitstarter$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment