From gryphon at gryphonshafer.com Mon Sep 10 08:48:17 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Mon, 10 Sep 2012 08:48:17 -0700 Subject: [KPUG] Welcome to KPUG (and software engineering apprenticeship) Message-ID: <504E0BC1.1030201@gryphonshafer.com> Greetings all, You're receiving this email because you expressed an interest in one form or another about joining what I'm calling (for lack of a better title) a software engineering apprenticeship program or process. I'm a strong believer in autodidacticism, or self-directed learning; and this whole attempt here is really to solve a problem my company has with finding and hiring qualified software engineers. My goal is to provide you the syllabus, the basic road map and instructions to plot your way through self-learning a series of technologies. I won't be giving you many direct answers, direct education or training, or really a lot of support. Instead, what you'll get is like a treasure map, directions to the next steps. You'll have to put in a considerable amount of effort, time, and mental energy. However, I believe it's worth it. In the end, you'll have a good grounding in a wide set of software engineering skills. There are 10 folks currently involved. I also invited in 2 folks who work for me at Golden Guru to assist me assist you. I don't have 10 positions open to fill, but my plan is to hire the first set of folks who build their skills up to the necessary levels. That being said, I'm highly confident that regardless of open positions at Golden Guru, if you get through the process, you'll be able to leverage these skills in the software engineering market, in well-paying and fulfilling jobs. So here's how this will work: I've usurped KPUG for this purpose. KPUG is the Kitsap Perl Users Group. The goal of a users group is to promote a particular technology or set of technologies, help folks become masters in that area, and to promote the area's use. I've registered each of you to the kpug-pm at pm.org mailing list, which is how you're receiving this email. If you send an email to kpug-pm at pm.org, it'll be broadcast to all 13 of us, so it's a great way to exchange questions and solutions. Each Monday, I'll email out some instructions about the next set of things to do and learn. Most everything will include a series of basic instructions, references to online materials, and goals to accomplish by the next Monday. In nearly all cases, you'll discover that you can accomplish the basic instructions fairly quickly; however, I don't want you to do that. Instead, strive not to do any instruction until you fully understand what that instruction is. For example, this week, I'll be asking you to build a virtual machine on your desktop or laptop. There are several systems and programs you'll be installing into this VM. Instead of just following through the instructions to complete your VM, spend a little time Google-ing the names of the programs and reading up on what they do. You don't need to be an expert on any of them yet, but you should be able to describe what they are and at a basic level how they work. This sort of thing will be a theme throughout the process. You'll need to push yourself to dive. Fortunately, since software technology built the Internet, virtually everything you'll need to learn is freely available on the Internet. It just takes some time Google-ing and reading. If at any time you'd like to drop out, please just email me or unsubscribe from this mailing list. OK, and with that, I'll be emailing out the work for this week. Welcome, and good luck. Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Mon Sep 10 08:59:59 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Mon, 10 Sep 2012 08:59:59 -0700 Subject: [KPUG] Building a Virtual Machine Message-ID: <504E0E7F.4090101@gryphonshafer.com> Greetings all, Attached is a document with step-by-step instructions to build a virtual machine on your desktop or laptop. The virtual machine once completed will be the platform on which you will build software and learn about a great many other technologies and programming languages. If you do nothing but just follow the steps in the instructions, you should be able to build your VM in under a hour or two. However, please go slower; Google-ing anything you don't understand. In addition to that, here are two Linux books (a bit old, but still useful): http://goldenguru.com/docman/OReilly/LinuxWebserver/lnut/index.htm http://goldenguru.com/docman/OReilly/LinuxWebserver/run/index.htm If anybody runs into any problems or questions, please post to the KPUG mailing list. Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vm_setup.pdf Type: application/pdf Size: 56563 bytes Desc: not available URL: From halfbrown at gmail.com Mon Sep 10 19:35:11 2012 From: halfbrown at gmail.com (Jon) Date: Mon, 10 Sep 2012 19:35:11 -0700 Subject: [KPUG] Building a Virtual Machine Message-ID: Hello, folks. I'm checking to see if anyone else is installing on a Mac like me, or am I the only one? If I'm the only on I may dust off an old Windows machine and install there so I'm not the odd man out. Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: From foolster41 at gmail.com Mon Sep 10 23:02:13 2012 From: foolster41 at gmail.com (Mason Merker) Date: Mon, 10 Sep 2012 23:02:13 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: Message-ID: Nope, using Windows 7 (64 bit). I tried installing Debian, but it gives me the error "?This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot ? please use a kernel appropriate for your CPU?. One site I found about this said the solution is to change a BIOs setting, but I'm concerned about changing BIOs settings. Is this really the solution? Did I get the wrong Debian iso? -Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Tue Sep 11 07:29:04 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Tue, 11 Sep 2012 07:29:04 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: Message-ID: <504F4AB0.4050609@gryphonshafer.com> Greetings Jon, There's an OS X version of VirtualBox, so you should be fine there. Pretty much everything we're going to be doing will be on Debian in the virtual machine, so it won't matter if your host OS is OS X or Windows. The only difference will be in what ssh client you use to connect to your VM and how you setup port forwarding. Gryphon On 9/10/2012 7:35 PM, Jon wrote: > Hello, folks. > > I'm checking to see if anyone else is installing on a Mac like me, or > am I the only one? If I'm the only on I may dust off an old Windows > machine and install there so I'm not the odd man out. > > Jon > > > _______________________________________________ > KPUG-PM mailing list > KPUG-PM at pm.org > http://mail.pm.org/mailman/listinfo/kpug-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Tue Sep 11 07:32:12 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Tue, 11 Sep 2012 10:32:12 -0400 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: Message-ID: Mason, The debian FAQ recommends running the amd64 iso on all 64 bit architecture, whether you have an AMD or Intel chipset. Try downloading that iso. *If your PC has a 64-bit AMD or Intel processor, you will most likely need the amd64 images (though i386 is also fine), the ia64 images will not work. (Source: http://www.debian.org/CD/faq/#which-cd)* Let me know if this resolves your issue. On Sep 11, 2012 2:02 AM, "Mason Merker" wrote: > Nope, using Windows 7 (64 bit). > I tried installing Debian, but it gives me the error "?This kernel > requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot ? > please use a kernel appropriate for your CPU?. One site I found about this > said the solution is to change a BIOs setting, but I'm concerned > about changing BIOs settings. Is this really the solution? Did I get the > wrong Debian iso? > -Thanks. > > _______________________________________________ > KPUG-PM mailing list > KPUG-PM at pm.org > http://mail.pm.org/mailman/listinfo/kpug-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Tue Sep 11 07:37:46 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Tue, 11 Sep 2012 07:37:46 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: Message-ID: <504F4CBA.3090403@gryphonshafer.com> Greetings all, Good tip, Griffin. I expect that will work, but if it doesn't, try using a 32-bit version of Debian. Start with the amd64 though since you'll benefit from the 64-bit kernel. Everybody: If you don't already know the answer, this might be a good opportunity to Google "difference between 32 bit and 64 bit" and scan a few of the results. Gryphon (the other Griffin) On 9/11/2012 7:32 AM, Griffin Kelton wrote: > > Mason, > > The debian FAQ recommends running the amd64 iso on all 64 bit > architecture, whether you have an AMD or Intel chipset. Try > downloading that iso. > > /If your PC has a 64-bit AMD or Intel processor, you will most > likely need the "amd64 > " images (though "i386" is > also fine), the "ia64 " images > will not work. (Source: http://www.debian.org/CD/faq/#which-cd)/ > > Let me know if this resolves your issue. > On Sep 11, 2012 2:02 AM, "Mason Merker" > wrote: > > Nope, using Windows 7 (64 bit). > I tried installing Debian, but it gives me the error ""This kernel > requires an x86-64 CPU, but only detected an i686 CPU. Unable to > boot -- please use a kernel appropriate for your CPU". One site I > found about this said the solution is to change a BIOs setting, > but I'm concerned about changing BIOs settings. Is this really the > solution? Did I get the wrong Debian iso? > -Thanks. > > _______________________________________________ > KPUG-PM mailing list > KPUG-PM at pm.org > http://mail.pm.org/mailman/listinfo/kpug-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Tue Sep 11 07:47:59 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Tue, 11 Sep 2012 10:47:59 -0400 Subject: [KPUG] Building a Virtual Machine In-Reply-To: <504F4CBA.3090403@gryphonshafer.com> References: <504F4CBA.3090403@gryphonshafer.com> Message-ID: Gryphon (or anyone else out there), Is there any reason why using Debian 64-bit within Virtual Box, after making changes to /etc/apt/source.list, every call to the server ftp.us.debian.org or sources.debian.org returns the error: Could not resolve [domain name]. I asked Debian to ping both domain names and received the error: unknown host. I tripled check to make sure sources.list was updated correctly. Additionally, both of the aforementioned URLs return a result on my machine within a browser and *Debian 32-bit does not have this issue*. Simply curious as to the cause. Thanks, Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Tue, Sep 11, 2012 at 10:37 AM, Gryphon Shafer wrote: > Greetings all, > > Good tip, Griffin. I expect that will work, but if it doesn't, try using a > 32-bit version of Debian. Start with the amd64 though since you'll benefit > from the 64-bit kernel. > > Everybody: If you don't already know the answer, this might be a good > opportunity to Google "difference between 32 bit and 64 bit" and scan a few > of the results. > > Gryphon (the other Griffin) > > > On 9/11/2012 7:32 AM, Griffin Kelton wrote: > > Mason, > > The debian FAQ recommends running the amd64 iso on all 64 bit > architecture, whether you have an AMD or Intel chipset. Try downloading > that iso. > > *If your PC has a 64-bit AMD or Intel processor, you will most likely > need the amd64 images (though i386 is > also fine), the ia64 images will not work. > (Source: http://www.debian.org/CD/faq/#which-cd)* > > Let me know if this resolves your issue. > On Sep 11, 2012 2:02 AM, "Mason Merker" wrote: > >> Nope, using Windows 7 (64 bit). >> I tried installing Debian, but it gives me the error "?This kernel >> requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot ? >> please use a kernel appropriate for your CPU?. One site I found about this >> said the solution is to change a BIOs setting, but I'm concerned >> about changing BIOs settings. Is this really the solution? Did I get the >> wrong Debian iso? >> -Thanks. >> >> _______________________________________________ >> KPUG-PM mailing list >> KPUG-PM at pm.org >> http://mail.pm.org/mailman/listinfo/kpug-pm >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevor at goldenguru.com Tue Sep 11 08:17:36 2012 From: trevor at goldenguru.com (Trevor Hall) Date: Tue, 11 Sep 2012 08:17:36 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: Message-ID: <612D67B1-B978-42F9-ACC4-D419EE892832@goldenguru.com> A little late in reply on this one, but I've had no issues installing 64-bit Debian on VirtualBox or VMware on a Mac (MacBookPro4,1). Both really went off without a hitch. - Trevor On Sep 10, 2012, at 7:35 PM, Jon wrote: > Hello, folks. > > I'm checking to see if anyone else is installing on a Mac like me, or am I the only one? If I'm the only on I may dust off an old Windows machine and install there so I'm not the odd man out. > > Jon > _______________________________________________ > KPUG-PM mailing list > KPUG-PM at pm.org > http://mail.pm.org/mailman/listinfo/kpug-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevor at goldenguru.com Tue Sep 11 08:27:18 2012 From: trevor at goldenguru.com (Trevor Hall) Date: Tue, 11 Sep 2012 08:27:18 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: <504F4CBA.3090403@gryphonshafer.com> Message-ID: <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> Hi Griffin, That's likely due to a misconfiguration of your ethernet adapter(s). I've always used "Bridged networking" to bridge the network between the VM and the host box. And in the past, I've had to manually adjust the /etc/network/interfaces file to have my adapter(s) pull DHCP from my host computer. Here is some information on how to network in VB: http://www.virtualbox.org/manual/ch06.html Learning how to update the interfaces file is relatively straight forward as well, and easily googleable (Pro Tip: Ubuntu is a derivative of Debian, but doesn't always mean all solutions will work on both systems). - Trevor On Sep 11, 2012, at 7:47 AM, Griffin Kelton wrote: > Gryphon (or anyone else out there), > > Is there any reason why using Debian 64-bit within Virtual Box, after making changes to /etc/apt/source.list, every call to the server ftp.us.debian.org or sources.debian.org returns the error: Could not resolve [domain name]. I asked Debian to ping both domain names and received the error: unknown host. I tripled check to make sure sources.list was updated correctly. Additionally, both of the aforementioned URLs return a result on my machine within a browser and Debian 32-bit does not have this issue. Simply curious as to the cause. > > Thanks, > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > On Tue, Sep 11, 2012 at 10:37 AM, Gryphon Shafer wrote: > Greetings all, > > Good tip, Griffin. I expect that will work, but if it doesn't, try using a 32-bit version of Debian. Start with the amd64 though since you'll benefit from the 64-bit kernel. > > Everybody: If you don't already know the answer, this might be a good opportunity to Google "difference between 32 bit and 64 bit" and scan a few of the results. > > Gryphon (the other Griffin) > > > On 9/11/2012 7:32 AM, Griffin Kelton wrote: >> Mason, >> >> The debian FAQ recommends running the amd64 iso on all 64 bit architecture, whether you have an AMD or Intel chipset. Try downloading that iso. >> >> If your PC has a 64-bit AMD or Intel processor, you will most likely need the amd64 images (though i386 is also fine), the ia64 images will not work. (Source: http://www.debian.org/CD/faq/#which-cd) >> >> Let me know if this resolves your issue. >> On Sep 11, 2012 2:02 AM, "Mason Merker" wrote: >> Nope, using Windows 7 (64 bit). >> I tried installing Debian, but it gives me the error "?This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot ? please use a kernel appropriate for your CPU?. One site I found about this said the solution is to change a BIOs setting, but I'm concerned about changing BIOs settings. Is this really the solution? Did I get the wrong Debian iso? >> -Thanks. >> >> _______________________________________________ >> KPUG-PM mailing list >> KPUG-PM at pm.org >> http://mail.pm.org/mailman/listinfo/kpug-pm >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Tue Sep 11 09:40:05 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Tue, 11 Sep 2012 12:40:05 -0400 Subject: [KPUG] Building a Virtual Machine In-Reply-To: <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> References: <504F4CBA.3090403@gryphonshafer.com> <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> Message-ID: Trevor, I was already configuring my network settings using "Bridget network" and manually adjusting /etc/network/interfaces. Oddly enough, I did the exact same thing today on a fresh install and it worked without a hitch. Today I'm in a coffee shop, yesterday it was at my house. Could it be something my with NAT? Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Tue, Sep 11, 2012 at 11:27 AM, Trevor Hall wrote: > > Hi Griffin, > > That's likely due to a misconfiguration of your ethernet adapter(s). I've > always used "Bridged networking" to bridge the network between the VM and > the host box. And in the past, I've had to manually adjust the > /etc/network/interfaces file to have my adapter(s) pull DHCP from my host > computer. > > Here is some information on how to network in VB: > http://www.virtualbox.org/manual/ch06.html > > Learning how to update the interfaces file is relatively straight forward > as well, and easily googleable (Pro Tip: Ubuntu is a derivative of Debian, > but doesn't always mean all solutions will work on both systems). > > - Trevor > > On Sep 11, 2012, at 7:47 AM, Griffin Kelton wrote: > > Gryphon (or anyone else out there), > > Is there any reason why using Debian 64-bit within Virtual Box, after > making changes to /etc/apt/source.list, every call to the server > ftp.us.debian.org or sources.debian.org returns the error: Could not > resolve [domain name]. I asked Debian to ping both domain names and > received the error: unknown host. I tripled check to make sure sources.list > was updated correctly. Additionally, both of the aforementioned URLs return > a result on my machine within a browser and *Debian 32-bit does not have > this issue*. Simply curious as to the cause. > > Thanks, > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > On Tue, Sep 11, 2012 at 10:37 AM, Gryphon Shafer < > gryphon at gryphonshafer.com> wrote: > >> Greetings all, >> >> Good tip, Griffin. I expect that will work, but if it doesn't, try using >> a 32-bit version of Debian. Start with the amd64 though since you'll >> benefit from the 64-bit kernel. >> >> Everybody: If you don't already know the answer, this might be a good >> opportunity to Google "difference between 32 bit and 64 bit" and scan a few >> of the results. >> >> Gryphon (the other Griffin) >> >> >> On 9/11/2012 7:32 AM, Griffin Kelton wrote: >> >> Mason, >> >> The debian FAQ recommends running the amd64 iso on all 64 bit >> architecture, whether you have an AMD or Intel chipset. Try downloading >> that iso. >> >> *If your PC has a 64-bit AMD or Intel processor, you will most likely >> need the amd64 images (though i386 is >> also fine), the ia64 images will not work. >> (Source: http://www.debian.org/CD/faq/#which-cd)* >> >> Let me know if this resolves your issue. >> On Sep 11, 2012 2:02 AM, "Mason Merker" wrote: >> >>> Nope, using Windows 7 (64 bit). >>> I tried installing Debian, but it gives me the error "?This kernel >>> requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot ? >>> please use a kernel appropriate for your CPU?. One site I found about this >>> said the solution is to change a BIOs setting, but I'm concerned >>> about changing BIOs settings. Is this really the solution? Did I get the >>> wrong Debian iso? >>> -Thanks. >>> >>> _______________________________________________ >>> KPUG-PM mailing list >>> KPUG-PM at pm.org >>> http://mail.pm.org/mailman/listinfo/kpug-pm >>> >>> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevor at goldenguru.com Tue Sep 11 10:52:08 2012 From: trevor at goldenguru.com (Trevor Hall) Date: Tue, 11 Sep 2012 10:52:08 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: <504F4CBA.3090403@gryphonshafer.com> <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> Message-ID: It's hard to say, but could be. Though, most coffee shop installs are pretty similar to home installs so my gut reaction is that it's likely a fluke of the re-install (maybe missed a setting last time, etc.) that worked in your favor this go-around. Glad to hear you're connected though! - Trevor On Sep 11, 2012, at 9:40 AM, Griffin Kelton wrote: > Trevor, > > I was already configuring my network settings using "Bridget network" and manually adjusting /etc/network/interfaces. Oddly enough, I did the exact same thing today on a fresh install and it worked without a hitch. Today I'm in a coffee shop, yesterday it was at my house. Could it be something my with NAT? > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > On Tue, Sep 11, 2012 at 11:27 AM, Trevor Hall wrote: > > Hi Griffin, > > That's likely due to a misconfiguration of your ethernet adapter(s). I've always used "Bridged networking" to bridge the network between the VM and the host box. And in the past, I've had to manually adjust the /etc/network/interfaces file to have my adapter(s) pull DHCP from my host computer. > > Here is some information on how to network in VB: http://www.virtualbox.org/manual/ch06.html > > Learning how to update the interfaces file is relatively straight forward as well, and easily googleable (Pro Tip: Ubuntu is a derivative of Debian, but doesn't always mean all solutions will work on both systems). > > - Trevor > > On Sep 11, 2012, at 7:47 AM, Griffin Kelton wrote: > >> Gryphon (or anyone else out there), >> >> Is there any reason why using Debian 64-bit within Virtual Box, after making changes to /etc/apt/source.list, every call to the server ftp.us.debian.org or sources.debian.org returns the error: Could not resolve [domain name]. I asked Debian to ping both domain names and received the error: unknown host. I tripled check to make sure sources.list was updated correctly. Additionally, both of the aforementioned URLs return a result on my machine within a browser and Debian 32-bit does not have this issue. Simply curious as to the cause. >> >> Thanks, >> >> Griffin Kelton >> (919)306.1135 >> www.griffinkelton.com >> >> Please consider the environment before printing this email. >> >> >> On Tue, Sep 11, 2012 at 10:37 AM, Gryphon Shafer wrote: >> Greetings all, >> >> Good tip, Griffin. I expect that will work, but if it doesn't, try using a 32-bit version of Debian. Start with the amd64 though since you'll benefit from the 64-bit kernel. >> >> Everybody: If you don't already know the answer, this might be a good opportunity to Google "difference between 32 bit and 64 bit" and scan a few of the results. >> >> Gryphon (the other Griffin) >> >> >> On 9/11/2012 7:32 AM, Griffin Kelton wrote: >>> Mason, >>> >>> The debian FAQ recommends running the amd64 iso on all 64 bit architecture, whether you have an AMD or Intel chipset. Try downloading that iso. >>> >>> If your PC has a 64-bit AMD or Intel processor, you will most likely need the amd64 images (though i386 is also fine), the ia64 images will not work. (Source: http://www.debian.org/CD/faq/#which-cd) >>> >>> Let me know if this resolves your issue. >>> On Sep 11, 2012 2:02 AM, "Mason Merker" wrote: >>> Nope, using Windows 7 (64 bit). >>> I tried installing Debian, but it gives me the error "?This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot ? please use a kernel appropriate for your CPU?. One site I found about this said the solution is to change a BIOs setting, but I'm concerned about changing BIOs settings. Is this really the solution? Did I get the wrong Debian iso? >>> -Thanks. >>> >>> _______________________________________________ >>> KPUG-PM mailing list >>> KPUG-PM at pm.org >>> http://mail.pm.org/mailman/listinfo/kpug-pm >>> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foolster41 at gmail.com Tue Sep 11 13:54:51 2012 From: foolster41 at gmail.com (Mason Merker) Date: Tue, 11 Sep 2012 13:54:51 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: <504F4CBA.3090403@gryphonshafer.com> <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> Message-ID: Like I said, I tried the 64 bit one, and had the problem, but when I did the i386 one, it worked fine. As for network, I have the same problem as Griffin Kelton, ping returns errors. (unknown host). When the network resets, it says "DHCPDISCOVER on eth0 to 255.255.255.255" though I double checked and all the settings in preferences and in the interfaces is right. I'm wondering if it has something to do with connecting to my router. I'm thinking maybe I did the setup wrong. Is there a way I can cahnge info on the network step, without having to completely re install? Doing research on my own as well. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Tue Sep 11 14:27:05 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Tue, 11 Sep 2012 17:27:05 -0400 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: <504F4CBA.3090403@gryphonshafer.com> <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> Message-ID: Jason, I did a reinstall on my end and everything was resolved. I assume it was a user error on my part with the initial install. What I would do is go back and double check /etc/network/interfaces and make sure all that info is correct according to the setup documentation and the machine settings inside VirtualBox. If all else fails, back to square one. Hope that helps. Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Tue, Sep 11, 2012 at 4:54 PM, Mason Merker wrote: > Like I said, I tried the 64 bit one, and had the problem, but when I did > the i386 one, it worked fine. > > As for network, I have the same problem as Griffin Kelton, ping returns > errors. (unknown host). > > When the network resets, it says "DHCPDISCOVER on eth0 to 255.255.255.255" > though I double checked and all the settings in preferences and in the > interfaces is right. > I'm wondering if it has something to do with connecting to my router. > > I'm thinking maybe I did the setup wrong. Is there a way I can cahnge info > on the network step, without having to completely re install? Doing > research on my own as well. > Thanks. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foolster41 at gmail.com Tue Sep 11 14:46:59 2012 From: foolster41 at gmail.com (Mason Merker) Date: Tue, 11 Sep 2012 14:46:59 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: <504F4CBA.3090403@gryphonshafer.com> <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> Message-ID: Griffin, it's Mason. :P I did double check the interfaces, and it's right, but I just did a reinstall on a fresh server, and I must have done something wrong. (For one thing, there were more choices in the software selection screen which gave me hope). When I did it again, apt-get update worked! I have no idea what I did different. Maybe using the 64x version with the 32 iso? Whatever it was, It apears to be working now. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Wed Sep 12 13:33:09 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Wed, 12 Sep 2012 16:33:09 -0400 Subject: [KPUG] SSH Issue: Permission denied (publickey) Message-ID: Hey crew, I'm currently trying to figure this out on my end, but thought I'd share it with the group to see if there is any insight. I'm trying to SSH into my Debian server. Here's the result copied from terminal: Griffin-Keltons-MacBook-Pro:.ssh griffinkelton$ ssh -p 22 -v griffin at 10.0.0.166 OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: Connecting to 10.0.0.166 [10.0.0.166] port 22. debug1: Connection established. debug1: identity file /Users/griffinkelton/.ssh/id_rsa type -1 debug1: identity file /Users/griffinkelton/.ssh/id_rsa-cert type -1 debug1: identity file /Users/griffinkelton/.ssh/id_dsa type -1 debug1: identity file /Users/griffinkelton/.ssh/id_dsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze2 debug1: match: OpenSSH_5.5p1 Debian-6+squeeze2 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA 51:3d:4a:9d:22:64:37:26:f6:b6:18:83:8a:b0:e3:bc debug1: Host '10.0.0.166' is known and matches the RSA host key. debug1: Found key in /Users/griffinkelton/.ssh/known_hosts:2 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Trying private key: /Users/griffinkelton/.ssh/id_rsa debug1: Trying private key: /Users/griffinkelton/.ssh/id_dsa debug1: No more authentication methods to try. Permission denied (publickey). I'm confused as to how the key is found and the signature is verified as correct, but then the connection is denied. Any insight into this would be greatly appreciated. Thanks, Griffin Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at thehillsidechurch.com Wed Sep 12 13:58:24 2012 From: mike at thehillsidechurch.com (Mike Reynolds) Date: Wed, 12 Sep 2012 13:58:24 -0700 Subject: [KPUG] Building a Virtual Machine In-Reply-To: References: <504F4CBA.3090403@gryphonshafer.com> <8170800D-10D8-4901-BCCD-1FC38CBF969D@goldenguru.com> Message-ID: Hello everyone. After properly installing debian on my virtual box, I've been goofing around and learning more about some of the common commands and how they work. I found a few groups of videos that were pretty helpful on youtube by a user named "technoblogical". It's not super fun or entertaining, but it was helpful to see someone entering in commands rather than just reading about them in the linux books. (It was a good primer for someone like me who was not too familiar with a lot of the language and terms.) A lot of what he says in his vids explain some of the tasks that Gryphon was having us do in order to get the VM set up. I hope that the task is going well for you all! Mike On Tue, Sep 11, 2012 at 2:46 PM, Mason Merker wrote: > Griffin, > > it's Mason. :P > > I did double check the interfaces, and it's right, but I just did a > reinstall on a fresh server, and I must have done something wrong. (For one > thing, there were more choices in the software selection screen which gave > me hope). When I did it again, apt-get update worked! I have no idea what I > did different. Maybe using the 64x version with the 32 iso? Whatever it > was, It apears to be working now. Thanks. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Wed Sep 12 15:54:38 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Wed, 12 Sep 2012 18:54:38 -0400 Subject: [KPUG] SSH Issue: Permission denied (publickey) In-Reply-To: References: Message-ID: I was able to go back and redo the SSH configuration. All is well. Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Wed, Sep 12, 2012 at 4:33 PM, Griffin Kelton wrote: > Hey crew, > > I'm currently trying to figure this out on my end, but thought I'd share > it with the group to see if there is any insight. I'm trying to SSH into my > Debian server. > > Here's the result copied from terminal: > > Griffin-Keltons-MacBook-Pro:.ssh griffinkelton$ ssh -p 22 -v > griffin at 10.0.0.166 > OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011 > debug1: Reading configuration data /etc/ssh_config > debug1: /etc/ssh_config line 20: Applying options for * > debug1: Connecting to 10.0.0.166 [10.0.0.166] port 22. > debug1: Connection established. > debug1: identity file /Users/griffinkelton/.ssh/id_rsa type -1 > debug1: identity file /Users/griffinkelton/.ssh/id_rsa-cert type -1 > debug1: identity file /Users/griffinkelton/.ssh/id_dsa type -1 > debug1: identity file /Users/griffinkelton/.ssh/id_dsa-cert type -1 > debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 > Debian-6+squeeze2 > debug1: match: OpenSSH_5.5p1 Debian-6+squeeze2 pat OpenSSH* > debug1: Enabling compatibility mode for protocol 2.0 > debug1: Local version string SSH-2.0-OpenSSH_5.9 > debug1: SSH2_MSG_KEXINIT sent > debug1: SSH2_MSG_KEXINIT received > debug1: kex: server->client aes128-ctr hmac-md5 none > debug1: kex: client->server aes128-ctr hmac-md5 none > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP > debug1: SSH2_MSG_KEX_DH_GEX_INIT sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY > debug1: Server host key: RSA > 51:3d:4a:9d:22:64:37:26:f6:b6:18:83:8a:b0:e3:bc > debug1: Host '10.0.0.166' is known and matches the RSA host key. > debug1: Found key in /Users/griffinkelton/.ssh/known_hosts:2 > debug1: ssh_rsa_verify: signature correct > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug1: SSH2_MSG_NEWKEYS received > debug1: Roaming not allowed by server > debug1: SSH2_MSG_SERVICE_REQUEST sent > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug1: Authentications that can continue: publickey > debug1: Next authentication method: publickey > debug1: Trying private key: /Users/griffinkelton/.ssh/id_rsa > debug1: Trying private key: /Users/griffinkelton/.ssh/id_dsa > debug1: No more authentication methods to try. > Permission denied (publickey). > > I'm confused as to how the key is found and the signature is verified as > correct, but then the connection is denied. Any insight into this would be > greatly appreciated. > > Thanks, > Griffin > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Wed Sep 12 19:06:17 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Wed, 12 Sep 2012 22:06:17 -0400 Subject: [KPUG] Great resource Message-ID: http://linux.die.net/ Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From errosenzweig at gmail.com Wed Sep 12 20:12:27 2012 From: errosenzweig at gmail.com (Elizabeth Rosenzweig) Date: Wed, 12 Sep 2012 22:12:27 -0500 Subject: [KPUG] stuck in visudo Message-ID: Hey guys, I can't get out of visudo. I've tried using both Esc and Ctrl-[ to get out of insert mode, and then all of the exit codes I can find: ^X, ZZ, and :x. ^X just results in a typed 'X', ZZ results in alternating messages [ Suspension enabled ] and [ Suspension disabled ], and :x gives me a [ unknown command ] message. Does anyone have any idea how I can get out of visudo? Thanks, Betsy -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Wed Sep 12 20:17:44 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Wed, 12 Sep 2012 23:17:44 -0400 Subject: [KPUG] stuck in visudo In-Reply-To: References: Message-ID: Betsy, I'm on a mac, but Control + X will ask you if you really want to save it, type in 'y' for yes. It will ask you what to name the file. Press enter to keep it sudoers.tmp. Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Wed, Sep 12, 2012 at 11:12 PM, Elizabeth Rosenzweig < errosenzweig at gmail.com> wrote: > Hey guys, I can't get out of visudo. I've tried using both Esc and Ctrl-[ > to get out of insert mode, and then all of the exit codes I can find: ^X, > ZZ, and :x. ^X just results in a typed 'X', ZZ results in alternating > messages [ Suspension enabled ] and [ Suspension disabled ], and :x gives > me a [ unknown command ] message. Does anyone have any idea how I can get > out of visudo? > > Thanks, > Betsy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From errosenzweig at gmail.com Wed Sep 12 20:20:57 2012 From: errosenzweig at gmail.com (Elizabeth Rosenzweig) Date: Wed, 12 Sep 2012 22:20:57 -0500 Subject: [KPUG] stuck in visudo In-Reply-To: References: Message-ID: Thank you that worked, I was beginning to think I would spend the rest of my life entering random Esc codes to see if one would get me out!!! On Wed, Sep 12, 2012 at 10:17 PM, Griffin Kelton wrote: > Betsy, > > I'm on a mac, but Control + X will ask you if you really want to save it, > type in 'y' for yes. It will ask you what to name the file. Press enter to > keep it sudoers.tmp. > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > > On Wed, Sep 12, 2012 at 11:12 PM, Elizabeth Rosenzweig < > errosenzweig at gmail.com> wrote: > >> Hey guys, I can't get out of visudo. I've tried using both Esc and >> Ctrl-[ to get out of insert mode, and then all of the exit codes I can >> find: ^X, ZZ, and :x. ^X just results in a typed 'X', ZZ results in >> alternating messages [ Suspension enabled ] and [ Suspension disabled ], >> and :x gives me a [ unknown command ] message. Does anyone have any idea >> how I can get out of visudo? >> >> Thanks, >> Betsy >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From winslow4 at gmail.com Wed Sep 12 20:49:48 2012 From: winslow4 at gmail.com (Matt Winslow) Date: Wed, 12 Sep 2012 23:49:48 -0400 Subject: [KPUG] stuck in visudo In-Reply-To: References: Message-ID: Hi Betsy (& all), Here's an intro to using vi that I found helpful: http://www.washington.edu/computing/unix/vi.html Thanks, Matt On Wed, Sep 12, 2012 at 11:20 PM, Elizabeth Rosenzweig < errosenzweig at gmail.com> wrote: > Thank you that worked, I was beginning to think I would spend the rest of > my life entering random Esc codes to see if one would get me out!!! > > > On Wed, Sep 12, 2012 at 10:17 PM, Griffin Kelton > wrote: > >> Betsy, >> >> I'm on a mac, but Control + X will ask you if you really want to save it, >> type in 'y' for yes. It will ask you what to name the file. Press enter to >> keep it sudoers.tmp. >> >> Griffin Kelton >> (919)306.1135 >> www.griffinkelton.com >> >> Please consider the environment before printing this email. >> >> >> >> On Wed, Sep 12, 2012 at 11:12 PM, Elizabeth Rosenzweig < >> errosenzweig at gmail.com> wrote: >> >>> Hey guys, I can't get out of visudo. I've tried using both Esc and >>> Ctrl-[ to get out of insert mode, and then all of the exit codes I can >>> find: ^X, ZZ, and :x. ^X just results in a typed 'X', ZZ results in >>> alternating messages [ Suspension enabled ] and [ Suspension disabled ], >>> and :x gives me a [ unknown command ] message. Does anyone have any idea >>> how I can get out of visudo? >>> >>> Thanks, >>> Betsy >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Thu Sep 13 08:33:04 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Thu, 13 Sep 2012 08:33:04 -0700 Subject: [KPUG] IRC channel In-Reply-To: References: Message-ID: <5051FCB0.2010605@gryphonshafer.com> Greetings all, I forgot to make an announcement about this, but there's a new IRC channel for us to hang out in. It's as follows: Server: irc.perl.org Port: 6667 (or any standard IRC port) Channel: #kpug Trevor and I have taken to hanging out in the channel during the work day. There's also a bot called "WOPR". (If you don't get the 80s reference, I cry for you.) Feel free to join with your favorite IRC client. We can't promise to answer questions rapidly, but we can try to participate in the conversation. Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Thu Sep 13 08:34:51 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Thu, 13 Sep 2012 08:34:51 -0700 Subject: [KPUG] Mail List Server Archives Message-ID: <5051FD1B.6020305@gryphonshafer.com> Greetings all, If someone emails out to us a comment, link, or resource of some kind in the past but you don't still have a copy of the email you received, you can look-up the email at the KPUG archives: http://mail.pm.org/pipermail/kpug-pm/ Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: From errosenzweig at gmail.com Fri Sep 14 23:21:36 2012 From: errosenzweig at gmail.com (Elizabeth Rosenzweig) Date: Sat, 15 Sep 2012 01:21:36 -0500 Subject: [KPUG] https redirect Message-ID: Hey guys, When I go to the test shorewall I get to my "hello world" page but I don't get redirected or asked to approve a certificate. I'm not totally sure about my authorized_keys file, I have my certificate name as betsy at firewhich is my user name @ my host name, but I really have no idea if that is what it's supposed to be. If anyone has any idea what I'm doing wrong I would love to know, cause at this point I'm worried I need to rebuild my VM again. Thanks, Betsy -------------- next part -------------- An HTML attachment was scrubbed... URL: From halfbrown at gmail.com Sun Sep 16 23:34:16 2012 From: halfbrown at gmail.com (Jon) Date: Sun, 16 Sep 2012 23:34:16 -0700 Subject: [KPUG] Oddities with VM setup Message-ID: Lady (Ladies?) & Gentlemen, I've run into an odd snag on the VM install for my lovely MacBook Pro, so I thought I'd post to the group to see if anyone has any help because my Google-Fu is sending me around in circles. I got all the way to Section E, "Establish a non-console/SSH connection to the local host-only address" and finally hit said snag. I cracked open SSH, typed in: ssh ?p 22 ?v jon at 192.168.56.2 And received the following error: ssh: connect to host 192.168.56.2 port 22: Connection timed out This got me thinking. Dangerous, yes, but thinking nonetheless. :) During Section D, "Debian setup", I ran into a previous snag. Several times I kept getting a problem wherein I would receive the error message: Failed to bring up eth1. Oddly enough the way I (accidentally) got around that was through a bug I typed into /etc/network/interfaces detailing the auto eth1 and then face eth2 (et c). Nothing alerted me to this until later on in the process when I began debugging my "odd snag" I initially mentioned. Anyhoo? I figured something had to be right since I did all of the apt updates between Section D and Section E, so obviously I had networking out to the inter-tubes. Admittedly, while I'm pretty good with code, hardware has been a mystery to me since circa 1996. And even then, not so much. So I've been mucking around Google trying to see what's up, heading to virtualbox.org to do the same, and all that jazz. But I'm stumped and was hoping someone could at least point me in the right direction. As such, I have a few ideas for where things could have gone wrong, and I thought I'd share. * When working on the VirtualBlox Manager, under Network, I only have one option, and that's for Adapter 1. I selected Bridged Adapter, the Name is en0: Wi-Fi (Airport), which was the default, and the only other options I have are for Promiscuous Mode (scandalous!), the Mac Address, and a checkbox for "Cable connected". Pretty sure I didn't touch any of those, so I'm feeling good about those. However, in the VM setup instructions under B.5.d.ii, I couldn't set a virtual adapter because I have no option/availability to do so. All of the non-used Adapters listed (2-4) are grayed out and cannot be selected. I presume that's by design via the VirtualBox software or my hardware, so I just skipped it. * Section D.3, that's where I'm guessing the real issue is. AFAICT I only have 1 Adapter (see my notes above RE: B.5.d.ii), and I keep getting a "hey you can't run 2 auto loads of eth0" error if I don't use eth1, so my thinking is/was I'd have a /etc/network/interfaces file that looks like this: auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.56.2 gateway 192.168.56.1 netmask 255.255.255.0 network 192.168.56.0 broadcast 192.168.56.255 Yes, that's actually what's in my /etc/network/interfaces file right now. It's that last section I'm really wondering about, and hoping that someone can verify yes/no on if I did that correctly. Yes, I did the restart, yes I tried the ifdown's, etc. Mostly I keep getting messages saying it doesn't recognize eth1. I'm guessing that since I had apt/etc. working already, once I get past this issue the rest will be a breeze. That's what I'm hoping for, at least. Oh! And one more thing? Section E starts off with "Establish a non-console/SSH connection to the local host-only address". Well, the console is my favorite SSH client. :) Is there some funky issue where if I'm attempting to SSH (and assuming this whole time that I should be SSHing via the VM CLI), that that is the problem? Or at least a problem? Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Sun Sep 16 23:53:12 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Mon, 17 Sep 2012 02:53:12 -0400 Subject: [KPUG] Oddities with VM setup In-Reply-To: References: Message-ID: Jon, You need to somehow enable eth1 to be your host-only adapter. Otherwise, like you said, the connection will by default timeout because 192.168.56.2 won't be online. Just to clarify, this is what my disabled network adapters look like: http://cl.ly/image/3S3a170H1u3C. This is what they look like when enabled: http://cl.ly/image/1y1f0G3N2I3X. Are you saying that when they are disabled, you are unable to select the "Enable Network Adapter" check box? In regards to your ssh client, I used Terminal as well. =) Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Mon, Sep 17, 2012 at 2:34 AM, Jon wrote: > Lady (Ladies?) & Gentlemen, > > I've run into an odd snag on the VM install for my lovely MacBook Pro, so > I thought I'd post to the group to see if anyone has any help because my > Google-Fu is sending me around in circles. > > I got all the way to Section E, "Establish a non-console/SSH connection to > the local host-only address" and finally hit said snag. I cracked open SSH, > typed in: > > ssh ?p 22 ?v jon at 192.168.56.2 > > And received the following error: > > ssh: connect to host 192.168.56.2 port 22: Connection timed out > > This got me thinking. Dangerous, yes, but thinking nonetheless. :) > > During Section D, "Debian setup", I ran into a previous snag. Several > times I kept getting a problem wherein I would receive the error message: > > Failed to bring up eth1. > > Oddly enough the way I (accidentally) got around that was through a bug I > typed into /etc/network/interfaces detailing the auto eth1 and then face > eth2 (et c). Nothing alerted me to this until later on in the process when > I began debugging my "odd snag" I initially mentioned. Anyhoo? I figured > something had to be right since I did all of the apt updates between > Section D and Section E, so obviously I had networking out to the > inter-tubes. Admittedly, while I'm pretty good with code, hardware has been > a mystery to me since circa 1996. And even then, not so much. > > So I've been mucking around Google trying to see what's up, heading to > virtualbox.org to do the same, and all that jazz. But I'm stumped and was > hoping someone could at least point me in the right direction. > > As such, I have a few ideas for where things could have gone wrong, and I > thought I'd share. > > - When working on the VirtualBlox Manager, under Network, I only have > one option, and that's for Adapter 1. I selected Bridged Adapter, the Name > is en0: Wi-Fi (Airport), which was the default, and the only other options > I have are for Promiscuous Mode (scandalous!), the Mac Address, and a > checkbox for "Cable connected". Pretty sure I didn't touch any of those, so > I'm feeling good about those. However, in the VM setup instructions under > B.5.d.ii, I couldn't set a virtual adapter because I have no > option/availability to do so. All of the non-used Adapters listed (2-4) are > grayed out and cannot be selected. I presume that's by design via the > VirtualBox software or my hardware, so I just skipped it. > - Section D.3, that's where I'm guessing the real issue is. AFAICT I > only have 1 Adapter (see my notes above RE: B.5.d.ii), and I keep getting a > "hey you can't run 2 auto loads of eth0" error if I don't use eth1, so my > thinking is/was I'd have a /etc/network/interfaces file that looks like > this: > > auto lo > iface lo inet loopback > > auto eth0 > allow-hotplug eth0 > iface eth0 inet dhcp > > auto eth1 > iface eth1 inet static > address 192.168.56.2 > gateway 192.168.56.1 > netmask 255.255.255.0 > network 192.168.56.0 > broadcast 192.168.56.255 > > Yes, that's actually what's in my /etc/network/interfaces file right > now. It's that last section I'm really wondering about, and hoping that > someone can verify yes/no on if I did that correctly. Yes, I did the > restart, yes I tried the ifdown's, etc. Mostly I keep getting messages > saying it doesn't recognize eth1. > > I'm guessing that since I had apt/etc. working already, once I get past > this issue the rest will be a breeze. That's what I'm hoping for, at least. > > Oh! And one more thing? Section E starts off with "Establish a > non-console/SSH connection to the local host-only address". Well, the > console is my favorite SSH client. :) Is there some funky issue where if > I'm attempting to SSH (and assuming this whole time that I should be SSHing > via the VM CLI), that that is the problem? Or at least a problem? > > Jon > -------------- next part -------------- An HTML attachment was scrubbed... URL: From halfbrown at gmail.com Mon Sep 17 00:05:28 2012 From: halfbrown at gmail.com (Jon) Date: Mon, 17 Sep 2012 00:05:28 -0700 Subject: [KPUG] Oddities with VM setup In-Reply-To: Message-ID: Griffin, See the attached for what my Network options looks like. My Adapter(s) 2-4 are grayed out and unclickable, so I can't add anything else. Jon From: Griffin Kelton Reply-To: Kitsap Perl Users Group Date: Sunday, September 16, 2012 11:53 PM To: Kitsap Perl Users Group Subject: Re: [KPUG] Oddities with VM setup Jon, You need to somehow enable eth1 to be your host-only adapter. Otherwise, like you said, the connection will by default timeout because 192.168.56.2 won't be online. Just to clarify, this is what my disabled network adapters look like: http://cl.ly/image/3S3a170H1u3C. This is what they look like when enabled: http://cl.ly/image/1y1f0G3N2I3X. Are you saying that when they are disabled, you are unable to select the "Enable Network Adapter" check box? In regards to your ssh client, I used Terminal as well. =) Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Mon, Sep 17, 2012 at 2:34 AM, Jon wrote: > Lady (Ladies?) & Gentlemen, > > I've run into an odd snag on the VM install for my lovely MacBook Pro, so I > thought I'd post to the group to see if anyone has any help because my > Google-Fu is sending me around in circles. > > I got all the way to Section E, "Establish a non-console/SSH connection to the > local host-only address" and finally hit said snag. I cracked open SSH, typed > in: > > ssh ?p 22 ?v jon at 192.168.56.2 > > And received the following error: > > ssh: connect to host 192.168.56.2 port 22: Connection timed out > > This got me thinking. Dangerous, yes, but thinking nonetheless. :) > > During Section D, "Debian setup", I ran into a previous snag. Several times I > kept getting a problem wherein I would receive the error message: > > Failed to bring up eth1. > > Oddly enough the way I (accidentally) got around that was through a bug I > typed into /etc/network/interfaces detailing the auto eth1 and then face eth2 > (et c). Nothing alerted me to this until later on in the process when I began > debugging my "odd snag" I initially mentioned. Anyhoo? I figured something > had to be right since I did all of the apt updates between Section D and > Section E, so obviously I had networking out to the inter-tubes. Admittedly, > while I'm pretty good with code, hardware has been a mystery to me since circa > 1996. And even then, not so much. > > So I've been mucking around Google trying to see what's up, heading to > virtualbox.org to do the same, and all that jazz. But > I'm stumped and was hoping someone could at least point me in the right > direction. > > As such, I have a few ideas for where things could have gone wrong, and I > thought I'd share. > * When working on the VirtualBlox Manager, under Network, I only have one > option, and that's for Adapter 1. I selected Bridged Adapter, the Name is en0: > Wi-Fi (Airport), which was the default, and the only other options I have are > for Promiscuous Mode (scandalous!), the Mac Address, and a checkbox for "Cable > connected". Pretty sure I didn't touch any of those, so I'm feeling good about > those. However, in the VM setup instructions under B.5.d.ii, I couldn't set a > virtual adapter because I have no option/availability to do so. All of the > non-used Adapters listed (2-4) are grayed out and cannot be selected. I > presume that's by design via the VirtualBox software or my hardware, so I > just skipped it. > * Section D.3, that's where I'm guessing the real issue is. AFAICT I only have > 1 Adapter (see my notes above RE: B.5.d.ii), and I keep getting a "hey you > can't run 2 auto loads of eth0" error if I don't use eth1, so my thinking > is/was I'd have a /etc/network/interfaces file that looks like this: > auto lo > iface lo inet loopback > > auto eth0 > allow-hotplug eth0 > iface eth0 inet dhcp > > auto eth1 > iface eth1 inet static > address 192.168.56.2 > gateway 192.168.56.1 > netmask 255.255.255.0 > network 192.168.56.0 > broadcast 192.168.56.255 > > Yes, that's actually what's in my /etc/network/interfaces file right now. It's > that last section I'm really wondering about, and hoping that someone can > verify yes/no on if I did that correctly. Yes, I did the restart, yes I tried > the ifdown's, etc. Mostly I keep getting messages saying it doesn't recognize > eth1. > > I'm guessing that since I had apt/etc. working already, once I get past this > issue the rest will be a breeze. That's what I'm hoping for, at least. > > Oh! And one more thing? Section E starts off with "Establish a non-console/SSH > connection to the local host-only address". Well, the console is my favorite > SSH client. :) Is there some funky issue where if I'm attempting to SSH (and > assuming this whole time that I should be SSHing via the VM CLI), that that is > the problem? Or at least a problem? > > Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vm-network.png Type: image/png Size: 138595 bytes Desc: not available URL: From griffin.kelton at gmail.com Mon Sep 17 00:10:34 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Mon, 17 Sep 2012 03:10:34 -0400 Subject: [KPUG] Oddities with VM setup In-Reply-To: References: Message-ID: It sounds like you have something wrong with your VM setup. Corrupted install? Preferences issue? I'm not sure what the trouble is. Sorry I couldn't help. On Sep 17, 2012 3:05 AM, "Jon" wrote: > Griffin, > > See the attached for what my Network options looks like. My Adapter(s) 2-4 > are grayed out and unclickable, so I can't add anything else. > > Jon > > From: Griffin Kelton > Reply-To: Kitsap Perl Users Group > Date: Sunday, September 16, 2012 11:53 PM > To: Kitsap Perl Users Group > Subject: Re: [KPUG] Oddities with VM setup > > Jon, > > You need to somehow enable eth1 to be your host-only adapter. Otherwise, > like you said, the connection will by default timeout because 192.168.56.2 > won't be online. Just to clarify, this is what my disabled network adapters > look like: http://cl.ly/image/3S3a170H1u3C. This is what they look like > when enabled: http://cl.ly/image/1y1f0G3N2I3X. Are you saying that when > they are disabled, you are unable to select the "Enable Network Adapter" > check box? > > In regards to your ssh client, I used Terminal as well. =) > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > On Mon, Sep 17, 2012 at 2:34 AM, Jon wrote: > >> Lady (Ladies?) & Gentlemen, >> >> I've run into an odd snag on the VM install for my lovely MacBook Pro, so >> I thought I'd post to the group to see if anyone has any help because my >> Google-Fu is sending me around in circles. >> >> I got all the way to Section E, "Establish a non-console/SSH connection >> to the local host-only address" and finally hit said snag. I cracked open >> SSH, typed in: >> >> ssh ?p 22 ?v jon at 192.168.56.2 >> >> And received the following error: >> >> ssh: connect to host 192.168.56.2 port 22: Connection timed out >> >> This got me thinking. Dangerous, yes, but thinking nonetheless. :) >> >> During Section D, "Debian setup", I ran into a previous snag. Several >> times I kept getting a problem wherein I would receive the error message: >> >> Failed to bring up eth1. >> >> Oddly enough the way I (accidentally) got around that was through a bug I >> typed into /etc/network/interfaces detailing the auto eth1 and then face >> eth2 (et c). Nothing alerted me to this until later on in the process when >> I began debugging my "odd snag" I initially mentioned. Anyhoo? I figured >> something had to be right since I did all of the apt updates between >> Section D and Section E, so obviously I had networking out to the >> inter-tubes. Admittedly, while I'm pretty good with code, hardware has been >> a mystery to me since circa 1996. And even then, not so much. >> >> So I've been mucking around Google trying to see what's up, heading to >> virtualbox.org to do the same, and all that jazz. But I'm stumped and >> was hoping someone could at least point me in the right direction. >> >> As such, I have a few ideas for where things could have gone wrong, and I >> thought I'd share. >> >> - When working on the VirtualBlox Manager, under Network, I only have >> one option, and that's for Adapter 1. I selected Bridged Adapter, the Name >> is en0: Wi-Fi (Airport), which was the default, and the only other options >> I have are for Promiscuous Mode (scandalous!), the Mac Address, and a >> checkbox for "Cable connected". Pretty sure I didn't touch any of those, so >> I'm feeling good about those. However, in the VM setup instructions under >> B.5.d.ii, I couldn't set a virtual adapter because I have no >> option/availability to do so. All of the non-used Adapters listed (2-4) are >> grayed out and cannot be selected. I presume that's by design via the >> VirtualBox software or my hardware, so I just skipped it. >> - Section D.3, that's where I'm guessing the real issue is. AFAICT I >> only have 1 Adapter (see my notes above RE: B.5.d.ii), and I keep getting a >> "hey you can't run 2 auto loads of eth0" error if I don't use eth1, so my >> thinking is/was I'd have a /etc/network/interfaces file that looks like >> this: >> >> auto lo >> iface lo inet loopback >> >> auto eth0 >> allow-hotplug eth0 >> iface eth0 inet dhcp >> >> auto eth1 >> iface eth1 inet static >> address 192.168.56.2 >> gateway 192.168.56.1 >> netmask 255.255.255.0 >> network 192.168.56.0 >> broadcast 192.168.56.255 >> >> Yes, that's actually what's in my /etc/network/interfaces file right >> now. It's that last section I'm really wondering about, and hoping that >> someone can verify yes/no on if I did that correctly. Yes, I did the >> restart, yes I tried the ifdown's, etc. Mostly I keep getting messages >> saying it doesn't recognize eth1. >> >> I'm guessing that since I had apt/etc. working already, once I get past >> this issue the rest will be a breeze. That's what I'm hoping for, at least. >> >> Oh! And one more thing? Section E starts off with "Establish a >> non-console/SSH connection to the local host-only address". Well, the >> console is my favorite SSH client. :) Is there some funky issue where if >> I'm attempting to SSH (and assuming this whole time that I should be SSHing >> via the VM CLI), that that is the problem? Or at least a problem? >> >> Jon >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Mon Sep 17 08:17:46 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Mon, 17 Sep 2012 08:17:46 -0700 Subject: [KPUG] Oddities with VM setup In-Reply-To: References: Message-ID: <50573F1A.3050408@gryphonshafer.com> Greetings Jon, Basically, two things need to be configured for networking to function properly: First, the VM settings (from the GUI) need to be set correctly. Second, the settings inside Debian instance need to be set. For the VM settings, start by considering the total number of interfaces the host system has. My laptop, as an example, has two: wired and wireless. I've elected to set the wired as eth0 and wireless on eth1. Use bridged network adapter when setting up these sorts of adapters. Then there should be 1 additional adapter called a host-only adapter. For my laptop, that's set to eth2. Also, you may want to check the host-only VM settings under File, Preferences..., Network. DHCP should be disabled, and the IPv4 address should be 192.168.56.1 with a subnet mask of 255.255.255.0. Inside your virtual Debian instance, check your /etc/network/interfaces to be sure these align with the adapters you set in the VM environment. Then check your interface current running configuration with "ifconfig". (You don't need to be root to run this command provided ifconfig is in your path. Otherwise, do a "whereis ifconfig" to locate the executable, then run that. Or become root, or use "sudo ifconfig".) This will tell you all your current configurations for your interfaces. If the list is too long, you can "ifconfig eth0" to get just the first interface. If the interface is down or not configured, it won't display. You can take an interface up or down with "ifup eth0" and "ifdown eth0" (which will have to be run as root or under sudo). If after doing all this you're unable to ping out to 192.168.56.1 (from your virtual instance on 192.168.56.2 through your host-only adapter, which in my case is eth2), try ifdown-ing all but your host-only adapter. To ping out to Google from your virtual Debian instance, you'll need to use one of your bridged adapters. With all of them down except your host-only, if you ifup one of your active bridged adapters, you should be able to ping out to Google. Gryphon On 9/17/2012 12:10 AM, Griffin Kelton wrote: > > It sounds like you have something wrong with your VM setup. Corrupted > install? Preferences issue? I'm not sure what the trouble is. Sorry I > couldn't help. > > On Sep 17, 2012 3:05 AM, "Jon" > wrote: > > Griffin, > > See the attached for what my Network options looks like. My > Adapter(s) 2-4 are grayed out and unclickable, so I can't add > anything else. > > Jon > > From: Griffin Kelton > > Reply-To: Kitsap Perl Users Group > > Date: Sunday, September 16, 2012 11:53 PM > To: Kitsap Perl Users Group > > Subject: Re: [KPUG] Oddities with VM setup > > Jon, > > You need to somehow enable eth1 to be your host-only adapter. > Otherwise, like you said, the connection will by default timeout > because 192.168.56.2 won't be online. Just to clarify, this is > what my disabled network adapters look like: > http://cl.ly/image/3S3a170H1u3C. This is what they look like when > enabled: http://cl.ly/image/1y1f0G3N2I3X. Are you saying that when > they are disabled, you are unable to select the "Enable Network > Adapter" check box? > > In regards to your ssh client, I used Terminal as well. =) > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > On Mon, Sep 17, 2012 at 2:34 AM, Jon > wrote: > > Lady (Ladies?) & Gentlemen, > > I've run into an odd snag on the VM install for my lovely > MacBook Pro, so I thought I'd post to the group to see if > anyone has any help because my Google-Fu is sending me around > in circles. > > I got all the way to Section E, "Establish a non-console/SSH > connection to the local host-only address" and finally hit > said snag. I cracked open SSH, typed in: > > ssh --p 22 --v jon at 192.168.56.2 > > And received the following error: > > ssh: connect to host 192.168.56.2 port 22: Connection timed out > > This got me thinking. Dangerous, yes, but thinking nonetheless. :) > > During Section D, "Debian setup", I ran into a previous snag. > Several times I kept getting a problem wherein I would receive > the error message: > > Failed to bring up eth1. > > Oddly enough the way I (accidentally) got around that was > through a bug I typed into /etc/network/interfaces detailing > the auto eth1 and then face eth2 (et c). Nothing alerted me to > this until later on in the process when I began debugging my > "odd snag" I initially mentioned. Anyhoo... I figured > something had to be right since I did all of the apt updates > between Section D and Section E, so obviously I had networking > out to the inter-tubes. Admittedly, while I'm pretty good with > code, hardware has been a mystery to me since circa 1996. And > even then, not so much. > > So I've been mucking around Google trying to see what's up, > heading to virtualbox.org to do the > same, and all that jazz. But I'm stumped and was hoping > someone could at least point me in the right direction. > > As such, I have a few ideas for where things could have gone > wrong, and I thought I'd share. > > * When working on the VirtualBlox Manager, under Network, I > only have one option, and that's for Adapter 1. I selected > Bridged Adapter, the Name is en0: Wi-Fi (Airport), which > was the default, and the only other options I have are for > Promiscuous Mode (scandalous!), the Mac Address, and a > checkbox for "Cable connected". Pretty sure I didn't touch > any of those, so I'm feeling good about those. However, in > the VM setup instructions under B.5.d.ii, I couldn't set a > virtual adapter because I have no option/availability to > do so. All of the non-used Adapters listed (2-4) are > grayed out and cannot be selected. I presume that's by > design via the VirtualBox software or my hardware, so I > just skipped it. > * Section D.3, that's where I'm guessing the real issue is. > AFAICT I only have 1 Adapter (see my notes above RE: > B.5.d.ii), and I keep getting a "hey you can't run 2 auto > loads of eth0" error if I don't use eth1, so my thinking > is/was I'd have a /etc/network/interfaces file that looks > like this: > > auto lo > iface lo inet loopback > > auto eth0 > allow-hotplug eth0 > iface eth0 inet dhcp > > auto eth1 > iface eth1 inet static > address 192.168.56.2 > gateway 192.168.56.1 > netmask 255.255.255.0 > network 192.168.56.0 > broadcast 192.168.56.255 > > Yes, that's actually what's in my /etc/network/interfaces file > right now. It's that last section I'm really wondering about, > and hoping that someone can verify yes/no on if I did that > correctly. Yes, I did the restart, yes I tried the ifdown's, > etc. Mostly I keep getting messages saying it doesn't > recognize eth1. > > I'm guessing that since I had apt/etc. working already, once I > get past this issue the rest will be a breeze. That's what I'm > hoping for, at least. > > Oh! And one more thing... Section E starts off with "Establish > a non-console/SSH connection to the local host-only address". > Well, the console is my favorite SSH client. :) Is there some > funky issue where if I'm attempting to SSH (and assuming this > whole time that I should be SSHing via the VM CLI), that > that is the problem? Or at least a problem? > > Jon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Mon Sep 17 08:20:12 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Mon, 17 Sep 2012 08:20:12 -0700 Subject: [KPUG] https redirect In-Reply-To: References: Message-ID: <50573FAC.2080004@gryphonshafer.com> Greetings Betsy, Your authorized_keys file is only used for SSH connections (on port 22), but when you are using a web browser to try to test your hello world page, you'll be accessing your virtual instance through HTTP (on port 80). The name on your authorized_keys line is just a comment to help identify the line. I hope this helps. If not, let me know what step on the VM-build procedure is when you're first running into problems. Gryphon On 9/14/2012 11:21 PM, Elizabeth Rosenzweig wrote: > Hey guys, > > When I go to the test shorewall I get to my "hello world" page but I > don't get redirected or asked to approve a certificate. I'm not > totally sure about my authorized_keys file, I have my certificate name > as betsy at fire which is my user name @ my host name, but I really have > no idea if that is what it's supposed to be. If anyone has any idea > what I'm doing wrong I would love to know, cause at this point I'm > worried I need to rebuild my VM again. > > Thanks, > Betsy -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Mon Sep 17 08:39:21 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Mon, 17 Sep 2012 08:39:21 -0700 Subject: [KPUG] Learning vi and Perl Message-ID: <50574429.4070309@gryphonshafer.com> Greetings all, This week, your goal is to begin learning vi and Perl. I say "begin" because learning both to a level of proficiency will take more than just this week. However, by the end of this week, you should be able to have a basic ability to edit files in vi (which is a text editor in your Linux instance) and be able to write basic programs in Perl. A word of warning: vi is not easy to learn. It's designed intentionally to be extremely fast and powerful for folks with a lot of vi experience. Once you've mastered vi, you'll find it the single most powerful and efficiency text editor around. However, it will be quite painful getting from novice to master. Just give it a try, and keep working at it slowly. Eventually, you'll develop a lot of "muscle memory" with the commands and be quite effective; just be patient. Perl is huge. It'll take you a couple years to become a master. However, you should be able to start writing basic programs in a few minutes. There are a number of different ways to learn Perl. For this week, we're going to focus on basic programming concepts. The third thing I'd like you to do this week is sign up for a PerlMonks account. PerlMonks is a painfully slow site, but filled with enormous Perl wisdom. Here are URLs about learning vi: http://www.perlmonks.org/?node_id=333737 http://goldenguru.com/docman/OReilly/Unix2/vi/index.htm http://www.openvim.com/tutorial.html Here are URLs to start you off with Perl: http://qntm.org/files/perl/perl.html http://goldenguru.com/docman/OReilly/Perl_Bookshelf_v4/lperl/index.htm http://www.perlmonks.org/?node=Tutorials Read through these resources and try the exercises. Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: From errosenzweig at gmail.com Mon Sep 17 08:39:30 2012 From: errosenzweig at gmail.com (Elizabeth Rosenzweig) Date: Mon, 17 Sep 2012 10:39:30 -0500 Subject: [KPUG] https redirect In-Reply-To: <50573FAC.2080004@gryphonshafer.com> References: <50573FAC.2080004@gryphonshafer.com> Message-ID: I got everything to work eventually. In order to get step 20 to work: *Test by pointing a browser to the IP address you connected SSH to last; you should get redirected to HTTPS, then asked to approve the self-signed certificate* I put an extra bit of code into sites-available/default to get redirection from http to https. So now after the *listen 80;* line I have: *if ( $scheme = "http" ) { rewrite ^/(.*)$ https://$host/$1 permanent; }* which causes the redirection to https and being asked to approve the self-signed certificate. On Mon, Sep 17, 2012 at 10:20 AM, Gryphon Shafer wrote: > Greetings Betsy, > > Your authorized_keys file is only used for SSH connections (on port 22), > but when you are using a web browser to try to test your hello world page, > you'll be accessing your virtual instance through HTTP (on port 80). The > name on your authorized_keys line is just a comment to help identify the > line. > > I hope this helps. If not, let me know what step on the VM-build procedure > is when you're first running into problems. > > Gryphon > > > > On 9/14/2012 11:21 PM, Elizabeth Rosenzweig wrote: > > Hey guys, > > When I go to the test shorewall I get to my "hello world" page but I don't > get redirected or asked to approve a certificate. I'm not totally sure > about my authorized_keys file, I have my certificate name as betsy at firewhich is my user name @ my host name, but I really have no idea if that is > what it's supposed to be. If anyone has any idea what I'm doing wrong I > would love to know, cause at this point I'm worried I need to rebuild my VM > again. > > Thanks, > Betsy > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at goldenguru.com Tue Sep 25 08:16:03 2012 From: gryphon at goldenguru.com (Gryphon Shafer) Date: Tue, 25 Sep 2012 08:16:03 -0700 Subject: [KPUG] Checking-in on progress Message-ID: <5061CAB3.4040505@goldenguru.com> Greetings all, Just checking-in on progress, seeing how you all are doing. I didn't see much in the way of questions last week about vi or the "Learning Perl" book exercises, so I wanted to ask if folks are running through these swimmingly or if you're encountering any road blocks along the way. I figure the Learning Perl exercises will take a few days to finish, maybe a total of a couple weeks. Learning vi will take a lifetime, but you should have a basic working ability with it by now. How are things going? Questions about anything, or are folks waiting on me for the next set of things? Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: From griffin.kelton at gmail.com Tue Sep 25 08:21:59 2012 From: griffin.kelton at gmail.com (Griffin Kelton) Date: Tue, 25 Sep 2012 11:21:59 -0400 Subject: [KPUG] Checking-in on progress In-Reply-To: <5061CAB3.4040505@goldenguru.com> References: <5061CAB3.4040505@goldenguru.com> Message-ID: Gryphon, I'm still working through some of the Perl exercises, but I'm not running into any problems. I'm ready for the next set of things whenever you are. Griffin Kelton (919)306.1135 www.griffinkelton.com Please consider the environment before printing this email. On Tue, Sep 25, 2012 at 11:16 AM, Gryphon Shafer wrote: > Greetings all, > > Just checking-in on progress, seeing how you all are doing. I didn't see > much in the way of questions last week about vi or the "Learning Perl" book > exercises, so I wanted to ask if folks are running through these swimmingly > or if you're encountering any road blocks along the way. > > I figure the Learning Perl exercises will take a few days to finish, maybe > a total of a couple weeks. Learning vi will take a lifetime, but you should > have a basic working ability with it by now. How are things going? > Questions about anything, or are folks waiting on me for the next set of > things? > > Gryphon > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From errosenzweig at gmail.com Tue Sep 25 08:28:12 2012 From: errosenzweig at gmail.com (Elizabeth Rosenzweig) Date: Tue, 25 Sep 2012 10:28:12 -0500 Subject: [KPUG] Checking-in on progress In-Reply-To: References: <5061CAB3.4040505@goldenguru.com> Message-ID: The cat and I both got sick last week, so I am behind. I went through the vi stuff and feel like I'm getting the hang of it but haven't started the Perl stuff yet. But I was anticipating working extra this week to make up for last week, so bring on the next stuff whenever you have it ready. On Tue, Sep 25, 2012 at 10:21 AM, Griffin Kelton wrote: > Gryphon, > > I'm still working through some of the Perl exercises, but I'm not running > into any problems. I'm ready for the next set of things whenever you are. > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > > On Tue, Sep 25, 2012 at 11:16 AM, Gryphon Shafer wrote: > >> Greetings all, >> >> Just checking-in on progress, seeing how you all are doing. I didn't see >> much in the way of questions last week about vi or the "Learning Perl" book >> exercises, so I wanted to ask if folks are running through these swimmingly >> or if you're encountering any road blocks along the way. >> >> I figure the Learning Perl exercises will take a few days to finish, >> maybe a total of a couple weeks. Learning vi will take a lifetime, but you >> should have a basic working ability with it by now. How are things going? >> Questions about anything, or are folks waiting on me for the next set of >> things? >> >> Gryphon >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zanderlof at gmail.com Tue Sep 25 09:27:20 2012 From: zanderlof at gmail.com (anthony miller) Date: Tue, 25 Sep 2012 09:27:20 -0700 Subject: [KPUG] Checking-in on progress In-Reply-To: References: <5061CAB3.4040505@goldenguru.com> Message-ID: I got enough done last week to be able to continue on to more instructions, but less done then I would have liked. This last week I ran into a little bit of motivation issues with getting work done for two reasons. The first is that I don't do as well at staying motivated when it feels like my assignment is basically just "read this book". I do better when it feels like the first week, that is "you have this task to complete, here are some resources to do that." The other reason is Borderlands 2 came out. Almost every one of my friends is playing it constantly every day right now. Though now that the first week is out of the way people are starting to play it less often so that wont be as much of an issue. So I guess all this is me saying please give me a task to do so that I can work to complete it. On Tue, Sep 25, 2012 at 8:28 AM, Elizabeth Rosenzweig < errosenzweig at gmail.com> wrote: > The cat and I both got sick last week, so I am behind. > > I went through the vi stuff and feel like I'm getting the hang of it but > haven't started the Perl stuff yet. But I was anticipating working extra > this week to make up for last week, so bring on the next stuff whenever you > have it ready. > > > On Tue, Sep 25, 2012 at 10:21 AM, Griffin Kelton > wrote: > >> Gryphon, >> >> I'm still working through some of the Perl exercises, but I'm not running >> into any problems. I'm ready for the next set of things whenever you are. >> >> Griffin Kelton >> (919)306.1135 >> www.griffinkelton.com >> >> Please consider the environment before printing this email. >> >> >> >> On Tue, Sep 25, 2012 at 11:16 AM, Gryphon Shafer wrote: >> >>> Greetings all, >>> >>> Just checking-in on progress, seeing how you all are doing. I didn't see >>> much in the way of questions last week about vi or the "Learning Perl" book >>> exercises, so I wanted to ask if folks are running through these swimmingly >>> or if you're encountering any road blocks along the way. >>> >>> I figure the Learning Perl exercises will take a few days to finish, >>> maybe a total of a couple weeks. Learning vi will take a lifetime, but you >>> should have a basic working ability with it by now. How are things going? >>> Questions about anything, or are folks waiting on me for the next set of >>> things? >>> >>> Gryphon >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Tue Sep 25 10:13:43 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Tue, 25 Sep 2012 10:13:43 -0700 Subject: [KPUG] Checking-in on progress In-Reply-To: References: <5061CAB3.4040505@goldenguru.com> Message-ID: <5061E647.2060501@gryphonshafer.com> Greetings Anthony, Self-motivation is hyper-critical for any software engineering job, but even more so for jobs like those at Golden Guru where the work is done remotely on your own schedule. Each day, it's important to evaluate the long-term costs versus benefits of staying focused on the tasks at hand versus being distracted by other pursuits. Playing Borderlands 2 may be a lot of fun in the short-term, but it's helpful to evaluate whether spending time there has better long-term value than investing in preparing for a financially prosperous career. There are times as a software engineer when there are specific tasks laid out in a sequence, like building the virtual machine. There are other times when you have a specific problem that's necessary to solve, and you'll have to then pour over a great many details, derive theories, test those theories, and adjust tactics based on the results. And there are still other times when you'll be tasked with learning a new technology or system or methodology. In these cases, you'll be required to read through lengthy texts, since most complicated things require a great deal of text to describe. The value of the work we do, and therefore the size of our paychecks, is directly proportional to the complexity of the work. Consequently, it's valuable to develop a strong work ethic and be eager to jump into tasks such as reading a book to learn a new programming language. In the case of Learning Perl, however, it's more than just reading. There are exercises at the end of each chapter that are designed to help the learner use the concepts presented in the chapter. These exercises then comprise a specific set of tasks to complete. It's also important to remember that the autodidact concept we're operating under is one where the learner is self-directed. This is critical for two reasons: First, when working in a software engineering job with Golden Guru, you'll have to be self-directed the vast majority of the time. Second, I don't have time to provide much more than pointers to the next major learning steps. It's up to the learner to break apart those steps into smaller tasks and to make progress through them. Since my goal is to hire folks who are able to do these sorts of things, that's why from time to time there will be pointers to "read this book". Gryphon On 9/25/2012 9:27 AM, anthony miller wrote: > I got enough done last week to be able to continue on to more > instructions, but less done then I would have liked. This last week I > ran into a little bit of motivation issues with getting work done for > two reasons. The first is that I don't do as well at staying motivated > when it feels like my assignment is basically just "read this book". I > do better when it feels like the first week, that is "you have this > task to complete, here are some resources to do that." The other > reason is Borderlands 2 came out. Almost every one of my friends is > playing it constantly every day right now. Though now that the first > week is out of the way people are starting to play it less often so > that wont be as much of an issue. So I guess all this is me saying > please give me a task to do so that I can work to complete it. > > On Tue, Sep 25, 2012 at 8:28 AM, Elizabeth Rosenzweig > > wrote: > > The cat and I both got sick last week, so I am behind. > > I went through the vi stuff and feel like I'm getting the hang of > it but haven't started the Perl stuff yet. But I was anticipating > working extra this week to make up for last week, so bring on the > next stuff whenever you have it ready. > > > On Tue, Sep 25, 2012 at 10:21 AM, Griffin Kelton > > wrote: > > Gryphon, > > I'm still working through some of the Perl exercises, but I'm > not running into any problems. I'm ready for the next set of > things whenever you are. > > Griffin Kelton > (919)306.1135 > www.griffinkelton.com > > Please consider the environment before printing this email. > > > > On Tue, Sep 25, 2012 at 11:16 AM, Gryphon Shafer > > wrote: > > Greetings all, > > Just checking-in on progress, seeing how you all are > doing. I didn't see much in the way of questions last week > about vi or the "Learning Perl" book exercises, so I > wanted to ask if folks are running through these > swimmingly or if you're encountering any road blocks along > the way. > > I figure the Learning Perl exercises will take a few days > to finish, maybe a total of a couple weeks. Learning vi > will take a lifetime, but you should have a basic working > ability with it by now. How are things going? Questions > about anything, or are folks waiting on me for the next > set of things? > > Gryphon > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Tue Sep 25 10:38:56 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Tue, 25 Sep 2012 10:38:56 -0700 Subject: [KPUG] Write an MP3 library engine Message-ID: <5061EC30.6050508@gryphonshafer.com> Greetings all, For folks who are getting toward the end of Learning Perl and have a comfortable level of vi (since it takes months to be a power vi user), here's the next step: Write an MP3 library engine. One of the great power features of Perl is that 90% of most programs have already been written. What I mean by that is that most of the complexity in most programs has already been written in the form of code libraries, which are hosted on CPAN (the Comprehensive Perl Archive Network). When beginning any Perl program, it's useful to check CPAN (search.cpan.org) for libraries that will help. Installing CPAN libraries on your VM is fairly straight forward, but can be made even easier by installing "cpanminus". Here's how you do that: cpan -i App::cpanminus Read more about what cpanminus is here: http://search.cpan.org/~miyagawa/App-cpanminus-1.5018/lib/App/cpanminus.pm With that done, do a search on CPAN for "MP3", and you'll get a lengthy list of libraries of various value. Keep in mind that while CPAN is awesome, most of the code on CPAN isn't. It's just that the 10% of CPAN that isn't horrible is extremely helpful and powerful. Take a look at module ratings (the stars) to learn what the community thinks of some modules. Your mission, should you choose to accept it, is to build an MP3 library engine. Grab some MP3s and throw them into a directory structure. You can organize them however you'd like, just as long as they're in a directory structure of some kind. Then write a Perl program that will read through all the files and build an index of their titles, artists, lengths, and whatever else you find interesting. Present a command-line interface that will allow a user running your program to search for MP3s based on title (including wildcard searching), artists, lengths, and so forth. While you're doing this, here is a helpful resource with a lot of examples of how to solve problems that you might encounter along the way: http://goldenguru.com/docman/OReilly/Perl_Bookshelf_v4/cook/index.htm Good luck. Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Tue Sep 25 14:19:19 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Tue, 25 Sep 2012 14:19:19 -0700 Subject: [KPUG] Write an MP3 library engine In-Reply-To: <5061EC30.6050508@gryphonshafer.com> References: <5061EC30.6050508@gryphonshafer.com> Message-ID: <50621FD7.7000206@gryphonshafer.com> Greetings all, I forgot to mention this: When you're done, email me your code directly. I'll do a code review and offer feedback. Gryphon On 9/25/2012 10:38 AM, Gryphon Shafer wrote: > Greetings all, > > For folks who are getting toward the end of Learning Perl and have a > comfortable level of vi (since it takes months to be a power vi user), > here's the next step: Write an MP3 library engine. > > One of the great power features of Perl is that 90% of most programs > have already been written. What I mean by that is that most of the > complexity in most programs has already been written in the form of > code libraries, which are hosted on CPAN (the Comprehensive Perl > Archive Network). When beginning any Perl program, it's useful to > check CPAN (search.cpan.org) for libraries that will help. > > Installing CPAN libraries on your VM is fairly straight forward, but > can be made even easier by installing "cpanminus". Here's how you do that: > > cpan -i App::cpanminus > > Read more about what cpanminus is here: > http://search.cpan.org/~miyagawa/App-cpanminus-1.5018/lib/App/cpanminus.pm > > With that done, do a search on CPAN for "MP3", and you'll get a > lengthy list of libraries of various value. Keep in mind that while > CPAN is awesome, most of the code on CPAN isn't. It's just that the > 10% of CPAN that isn't horrible is extremely helpful and powerful. > Take a look at module ratings (the stars) to learn what the community > thinks of some modules. > > Your mission, should you choose to accept it, is to build an MP3 > library engine. Grab some MP3s and throw them into a directory > structure. You can organize them however you'd like, just as long as > they're in a directory structure of some kind. Then write a Perl > program that will read through all the files and build an index of > their titles, artists, lengths, and whatever else you find > interesting. Present a command-line interface that will allow a user > running your program to search for MP3s based on title (including > wildcard searching), artists, lengths, and so forth. > > While you're doing this, here is a helpful resource with a lot of > examples of how to solve problems that you might encounter along the way: > http://goldenguru.com/docman/OReilly/Perl_Bookshelf_v4/cook/index.htm > > Good luck. > > Gryphon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gryphon at gryphonshafer.com Thu Sep 27 10:33:09 2012 From: gryphon at gryphonshafer.com (Gryphon Shafer) Date: Thu, 27 Sep 2012 10:33:09 -0700 Subject: [KPUG] Great Perl learning book Message-ID: <50648DD5.7000400@gryphonshafer.com> Greetings all, Just remembered a book I read a while back that I found very helpful in kicking my basic Perl skills to intermediate. Here a reference: http://www.amazon.com/Perl-Interactive-Course-John-Orwant/dp/1571690646 Gryphon -------------- next part -------------- An HTML attachment was scrubbed... URL: