From cf27b557785021b3559c857035c1668eeadb1d28 Mon Sep 17 00:00:00 2001 From: "Charles T. Betz" Date: Thu, 26 Feb 2015 18:37:38 -0600 Subject: [PATCH 1/7] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 36b3d8e..fb7b0c6 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,3 @@ See the instructions. -This is a new line. From 01938b858ae7836ac5e23c9e5d128e9e9c260f76 Mon Sep 17 00:00:00 2001 From: CharlesTBetz Date: Fri, 27 Feb 2015 14:22:28 -0600 Subject: [PATCH 2/7] fixed context issues commands to be run on VM were appearing as if run on host --- Lab-03-Instructions.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Lab-03-Instructions.md b/Lab-03-Instructions.md index 1286024..03b7047 100644 --- a/Lab-03-Instructions.md +++ b/Lab-03-Instructions.md @@ -426,7 +426,7 @@ Create your script. Oops, something seems to be wrong when you run it: ```` -vagrant@precise64:~/Lab-03$ ./YourStudentID-Lab03.sh +vagrant@XXXXX:/vagrant$ ./YourStudentID-Lab03.sh E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? ```` @@ -434,7 +434,7 @@ E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? Because the script has installations in it, you need to run it as superuser: ```` -vagrant@precise64:~/Lab-03$ sudo ./YourStudentID-Lab03.sh +vagrant@XXXXX:/vagrant$ sudo ./YourStudentID-Lab03.sh Reading package lists... Done Building dependency tree Reading state information... Done @@ -455,26 +455,26 @@ Setting up tree (1.6.0-1) ... Use - vagrant@precise64:/vagrant$ tree + vagrant@XXXXX:/vagrant:/vagrant$ tree to see your results and " - vagrant@precise64:/vagrant$ rm -rf A C D + vagrant@XXXXX:/vagrant:/vagrant$ rm -rf A C D to delete the directories if you need to run the script several times to perfect it. You can also: - vagrant@precise64:/vagrant$ sudo apt-get remove git - vagrant@precise64:/vagrant$ sudo apt-get remove tree + vagrant@XXXXX:/vagrant:/vagrant$ sudo apt-get remove git + vagrant@XXXXX:/vagrant:/vagrant$ sudo apt-get remove tree if you want to reset your environment completely. Once you are happy with your script, add and commit locally: ```` -vagrant@precise64:~/Lab-03$ git add YourStudentID-Lab03.sh -vagrant@precise64:~/Lab-03$ git commit YourStudentID-Lab03.sh -m "script commit" +vagrant@XXXXX:/vagrant$ git add YourStudentID-Lab03.sh +vagrant@XXXXX:/vagrant$ git commit YourStudentID-Lab03.sh -m "script commit" [master b5f0950] script commit Committer: vagrant [email error] From a87eddaac438a2a1b9fc25bc36c85eae3298522d Mon Sep 17 00:00:00 2001 From: "Charles T. Betz" Date: Fri, 27 Feb 2015 19:25:16 -0600 Subject: [PATCH 3/7] link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb7b0c6..88e127e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Lab-03 -See the instructions. +See the (instructions)[https://github.com/StThomas-SEIS660/Lab-03/blob/master/Lab-03-Instructions.md]. From d8f8984ec4bf7e15f36f3bc44729d0299cc3c10d Mon Sep 17 00:00:00 2001 From: "Charles T. Betz" Date: Fri, 27 Feb 2015 19:25:55 -0600 Subject: [PATCH 4/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 88e127e..795afcc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Lab-03 -See the (instructions)[https://github.com/StThomas-SEIS660/Lab-03/blob/master/Lab-03-Instructions.md]. +See the [instructions](https://github.com/StThomas-SEIS660/Lab-03/blob/master/Lab-03-Instructions.md). From 5ec95c5e39cb487fe937e7379f199012a0f7891e Mon Sep 17 00:00:00 2001 From: "Charles T. Betz" Date: Fri, 27 Feb 2015 19:43:43 -0600 Subject: [PATCH 5/7] minor prompt fix --- Lab-03-Instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lab-03-Instructions.md b/Lab-03-Instructions.md index 03b7047..79d62aa 100644 --- a/Lab-03-Instructions.md +++ b/Lab-03-Instructions.md @@ -137,7 +137,7 @@ Lab-03-Instructions.md LICENSE README.md resources starter.sh Vagrantfile Be sure you are in the new Lab-03 directory that git created: - vagrant@precise64:~$ cd ~/Lab-03/ + vYourStudentID@serverXXX:~$ cd ~/Lab-03/ Create a file called YourStudentID-testfile, e.g. stud0001-testfile.md. From 658b7a1b0fae2e8bceeda0342b2b5c647170b6d6 Mon Sep 17 00:00:00 2001 From: "Charles T. Betz" Date: Fri, 27 Feb 2015 19:45:50 -0600 Subject: [PATCH 6/7] minor spell --- Lab-03-Instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lab-03-Instructions.md b/Lab-03-Instructions.md index 79d62aa..7acc07a 100644 --- a/Lab-03-Instructions.md +++ b/Lab-03-Instructions.md @@ -137,7 +137,7 @@ Lab-03-Instructions.md LICENSE README.md resources starter.sh Vagrantfile Be sure you are in the new Lab-03 directory that git created: - vYourStudentID@serverXXX:~$ cd ~/Lab-03/ + YourStudentID@serverXXX:~$ cd ~/Lab-03/ Create a file called YourStudentID-testfile, e.g. stud0001-testfile.md. From bddd529a2ed3b9262fbe71a390cd9f4944c6ff0e Mon Sep 17 00:00:00 2001 From: CharlesTBetz Date: Fri, 27 Feb 2015 20:01:33 -0600 Subject: [PATCH 7/7] another prompt issue --- Lab-03-Instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lab-03-Instructions.md b/Lab-03-Instructions.md index 7acc07a..334c27f 100644 --- a/Lab-03-Instructions.md +++ b/Lab-03-Instructions.md @@ -417,11 +417,11 @@ drwxr-xr-x 1 vagrant vagrant 4096 Feb 20 15:22 resources Run the script to confirm you can execute it (it's still empty, and will run fine - it just won't do anything): - vagrant@precise64:~/Lab-03$ ./YourStudentID-Lab03.sh <- notice the "./" + vagrant@XXXXX:~/vagrant$ ./YourStudentID-Lab03.sh <- notice the "./" Create your script. - vagrant@precise64:~/Lab-03$ nano YourStudentID-Lab03.sh + vagrant@XXXXX:~/vagrant$ nano YourStudentID-Lab03.sh Oops, something seems to be wrong when you run it: