{"id":53,"date":"2016-02-04T16:59:46","date_gmt":"2016-02-04T16:59:46","guid":{"rendered":"http:\/\/bootstrap-it.com\/blog\/?p=53"},"modified":"2016-02-16T00:39:59","modified_gmt":"2016-02-16T00:39:59","slug":"tech-training-using-internet-search-to-get-what-you-need","status":"publish","type":"post","link":"https:\/\/bootstrap-it.com\/blog\/?p=53","title":{"rendered":"Tech training: using Internet search to get what you need"},"content":{"rendered":"<div id=\"s-share-buttons\" class=\"horizontal-w-c-circular s-share-w-c\"><a href=\"http:\/\/www.facebook.com\/sharer.php?u=https:\/\/bootstrap-it.com\/blog\/?p=53\" target=\"_blank\" title=\"Share to Facebook\" class=\"s3-facebook hint--top\"><\/a><a href=\"http:\/\/twitter.com\/intent\/tweet?text=Tech training: using Internet search to get what you need&url=https:\/\/bootstrap-it.com\/blog\/?p=53\" target=\"_blank\"  title=\"Share to Twitter\" class=\"s3-twitter hint--top\"><\/a><a href=\"http:\/\/reddit.com\/submit?url=https:\/\/bootstrap-it.com\/blog\/?p=53&title=Tech training: using Internet search to get what you need\" target=\"_blank\" title=\"Share to Reddit\" class=\"s3-reddit hint--top\"><\/a><a href=\"http:\/\/www.linkedin.com\/shareArticle?mini=true&url=https:\/\/bootstrap-it.com\/blog\/?p=53\" target=\"_blank\" title=\"Share to LinkedIn\" class=\"s3-linkedin hint--top\"><\/a><a href=\"mailto:?Subject=Tech%20training:%20using%20Internet%20search%20to%20get%20what%20you%20need&Body=Here%20is%20the%20link%20to%20the%20article:%20https:\/\/bootstrap-it.com\/blog\/?p=53\" title=\"Email this article\" class=\"s3-email hint--top\"><\/a><\/div><p>You&#8217;re really motivated this time. No, <em>pumped<\/em> is a better word. And you&#8217;re absolutely ready to invest some significant time and energy into reaching your learning goals. There are all kinds of reasons why you just <strong>have<\/strong> to master &#8220;that&#8221; skill. What is it: Python? HTML? Linux? You&#8217;re ready to rumble.<\/p>\n<p>Got a great how-to <a href=\"http:\/\/bootstrap-it.com\">book<\/a> or <a href=\"https:\/\/app.pluralsight.com\/library\/courses\/linux-server-skills-windows-administrators\/table-of-contents\" target=\"_blank\">video course<\/a> to work with? Check. Suitable environment for some serious skills&#8217; practice (because <a href=\"http:\/\/bootstrap-it.com\/project\">you know<\/a> that it won&#8217;t work if you just sit back and passively watch or read)? Check. But what will you do when you run into trouble: if you&#8217;re going to spend a lot of time playing with an unfamiliar software platform, there will be setbacks and you will need help.<\/p>\n<p>Who ya gonna call? Google search, of course. Here&#8217;s how to make that call work for you:<\/p>\n<h3>Use your problem to find a solution<\/h3>\n<p>Considering that countless thousands of people have worked with the same technology you&#8217;re now learning, the odds are very high that at least some of them have run into the same trouble as you. And at least a few of those will have posted their questions to an online user forum like <a href=\"http:\/\/stackoverflow.com\/\" target=\"_blank\">Stack Overflow<\/a>. The quickest way to get at look at the answers they received is to search using the\u00a0 <em>exact<\/em> language that you encountered.<\/p>\n<p>Did your problem generate an error message? Paste exactly that text into your Google search engine. Were there any log messages? Find and post those, too.<\/p>\n<p>How do you find log messages? On older Linux distributions, you could search through the \/var\/log\/syslog file for events occurring around the time you encountered the problem. Alternatively, you could filter for a specific text string:<\/p>\n<p><code>$ cat \/var\/log\/syslog | grep filename.php<\/code><\/p>\n<p>Some programs, like the Apache web server, have their own log files (\/var\/log\/apache2\/error.log on Ubuntu 14.04, for example). Details about most HTTP and PHP problems will eventually end up there.<\/p>\n<p>On more recent Linux systems that use the Systemd process manager, logs are handled by journald. You can simply run journalctl and filter for a likely text string:<\/p>\n<p><code>$ journalctl | grep filename.php<\/code><\/p>\n<p>&#8230;or restrict your search to entries from within a specific time range:<\/p>\n<p><code>journalctl --since \"2016-02-14 14:25:00\" --until \"2016-02-14 14:35:00\"<\/code><\/p>\n<p>Once you find a likely-looking log entry, copy and paste it into Google and see what comes back.<\/p>\n<h3>Be precise<\/h3>\n<p>Google covers billions of pages of content from the entire public Internet, so your search results are bound to include a whole lot of false positives. That&#8217;s why you want to be as precise as possible. One powerful trick is to enclose your error message in quotation marks, telling Google that you&#8217;re looking for an exact phrase, rather than a single result containing all or most of the words somewhere on the page. However, you don&#8217;t want to be so specific that you end up narrowing your results down to zero.<\/p>\n<p>Therefore, for an entry from the Apache error log like this:<\/p>\n<p><code>[Fri Dec 16 02:15:44 2015] [error] [client 54.211.9.96] Client sent malformed Host header<\/code><\/p>\n<p>&#8230;you should leave out the date and client IP address, because there&#8217;s no way anyone else got those exact details, and include only the &#8220;Client sent&#8230;&#8221; part in quotations:<\/p>\n<p><code>\"Client sent malformed Host header\"<\/code><\/p>\n<p>If that&#8217;s still too broad, consider adding the strings Apache and [error] outside the quotation marks:<\/p>\n<p><code>\"Client sent malformed Host header\" apache [error]<\/code><\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-68 alignleft\" src=\"http:\/\/bootstrap-it.com\/blog\/wp-content\/uploads\/search-time.png\" alt=\"search-time\" width=\"231\" height=\"232\" srcset=\"https:\/\/bootstrap-it.com\/blog\/wp-content\/uploads\/search-time.png 231w, https:\/\/bootstrap-it.com\/blog\/wp-content\/uploads\/search-time-174x175.png 174w, https:\/\/bootstrap-it.com\/blog\/wp-content\/uploads\/search-time-50x50.png 50w\" sizes=\"auto, (max-width: 231px) 100vw, 231px\" \/>Be timely<\/h3>\n<p>Google, through their &#8220;Search Tools&#8221; option, lets you narrow down your search by time. If your problem is specific to a relatively recent release version, restrict your search to just the last month or year.<\/p>\n<h3>Search in all the right places<\/h3>\n<p>Sometimes Google will do a better job searching through a large web site than the site&#8217;s own search engine (I&#8217;m looking at you: <a href=\"http:\/\/www.servicecanada.gc.ca\/eng\/home.shtml\" target=\"_blank\">Government of Canada<\/a>). If you feel the solution to your problem is likely to be somewhere on a particular site &#8211; like Stack Overflow&#8217;s admin cousin, <a href=\"http:\/\/serverfault.com\/\" target=\"_blank\">Server Fault<\/a> &#8211; but you can&#8217;t find it yourself, you can restrict Google results to just that one site:<\/p>\n<p><code>\"gss_accept_sec_context(2) failed:\" site:serverfault.com<\/code><\/p>\n<h3>Know what you don&#8217;t want<\/h3>\n<p>Finally, if you see that many or all of the false positives you&#8217;re getting seem to include a single word (that is very unlikely to occur in the pages you&#8217;re looking for), exclude it with a dash:<\/p>\n<p><code>writing scripts -movie<\/code><\/p>\n<p>There&#8217;s really no end of helpful information waiting for you out there on the Internet. With just a little careful planning, you&#8217;ll be amazed how quickly you can get to it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&#8217;re really motivated this time. No, pumped is a better word. And you&#8217;re absolutely ready to invest some significant time and energy into reaching your learning goals. There are all kinds of reasons why you just have to master &#8220;that&#8221;&hellip; <a href=\"https:\/\/bootstrap-it.com\/blog\/?p=53\" class=\"more-link\">Continue Reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":68,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tech training: using Internet search to get what you need - Bootstrap IT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bootstrap-it.com\/blog\/?p=53\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tech training: using Internet search to get what you need - Bootstrap IT\" \/>\n<meta property=\"og:description\" content=\"You&#8217;re really motivated this time. No, pumped is a better word. And you&#8217;re absolutely ready to invest some significant time and energy into reaching your learning goals. There are all kinds of reasons why you just have to master &#8220;that&#8221;&hellip; Continue Reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bootstrap-it.com\/blog\/?p=53\" \/>\n<meta property=\"og:site_name\" content=\"Bootstrap IT\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-04T16:59:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-16T00:39:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bootstrap-it.com\/blog\/wp-content\/uploads\/search-time.png\" \/>\n\t<meta property=\"og:image:width\" content=\"231\" \/>\n\t<meta property=\"og:image:height\" content=\"232\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"David Clinton\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@davidbclinton\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"David Clinton\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bootstrap-it.com\/blog\/?p=53\",\"url\":\"https:\/\/bootstrap-it.com\/blog\/?p=53\",\"name\":\"Tech training: using Internet search to get what you need - Bootstrap IT\",\"isPartOf\":{\"@id\":\"https:\/\/bootstrap-it.com\/blog\/#website\"},\"datePublished\":\"2016-02-04T16:59:46+00:00\",\"dateModified\":\"2016-02-16T00:39:59+00:00\",\"author\":{\"@id\":\"https:\/\/bootstrap-it.com\/blog\/#\/schema\/person\/2db6d8bce89bf20e8f06440c428abe68\"},\"breadcrumb\":{\"@id\":\"https:\/\/bootstrap-it.com\/blog\/?p=53#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bootstrap-it.com\/blog\/?p=53\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bootstrap-it.com\/blog\/?p=53#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bootstrap-it.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech training: using Internet search to get what you need\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bootstrap-it.com\/blog\/#website\",\"url\":\"https:\/\/bootstrap-it.com\/blog\/\",\"name\":\"Bootstrap IT\",\"description\":\"Learn technology using technology\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bootstrap-it.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bootstrap-it.com\/blog\/#\/schema\/person\/2db6d8bce89bf20e8f06440c428abe68\",\"name\":\"David Clinton\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bootstrap-it.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fa132defc2e7804e08ce17c4644b6f88c498d73ed8d4c9c72039189f90df1af8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fa132defc2e7804e08ce17c4644b6f88c498d73ed8d4c9c72039189f90df1af8?s=96&d=mm&r=g\",\"caption\":\"David Clinton\"},\"sameAs\":[\"http:\/\/bootstrap-it.com\/\",\"dbclinton\",\"https:\/\/twitter.com\/davidbclinton\"],\"url\":\"https:\/\/bootstrap-it.com\/blog\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tech training: using Internet search to get what you need - Bootstrap IT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bootstrap-it.com\/blog\/?p=53","og_locale":"en_US","og_type":"article","og_title":"Tech training: using Internet search to get what you need - Bootstrap IT","og_description":"You&#8217;re really motivated this time. No, pumped is a better word. And you&#8217;re absolutely ready to invest some significant time and energy into reaching your learning goals. There are all kinds of reasons why you just have to master &#8220;that&#8221;&hellip; Continue Reading &rarr;","og_url":"https:\/\/bootstrap-it.com\/blog\/?p=53","og_site_name":"Bootstrap IT","article_published_time":"2016-02-04T16:59:46+00:00","article_modified_time":"2016-02-16T00:39:59+00:00","og_image":[{"width":231,"height":232,"url":"https:\/\/bootstrap-it.com\/blog\/wp-content\/uploads\/search-time.png","type":"image\/png"}],"author":"David Clinton","twitter_card":"summary_large_image","twitter_creator":"@davidbclinton","twitter_misc":{"Written by":"David Clinton","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bootstrap-it.com\/blog\/?p=53","url":"https:\/\/bootstrap-it.com\/blog\/?p=53","name":"Tech training: using Internet search to get what you need - Bootstrap IT","isPartOf":{"@id":"https:\/\/bootstrap-it.com\/blog\/#website"},"datePublished":"2016-02-04T16:59:46+00:00","dateModified":"2016-02-16T00:39:59+00:00","author":{"@id":"https:\/\/bootstrap-it.com\/blog\/#\/schema\/person\/2db6d8bce89bf20e8f06440c428abe68"},"breadcrumb":{"@id":"https:\/\/bootstrap-it.com\/blog\/?p=53#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bootstrap-it.com\/blog\/?p=53"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bootstrap-it.com\/blog\/?p=53#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bootstrap-it.com\/blog"},{"@type":"ListItem","position":2,"name":"Tech training: using Internet search to get what you need"}]},{"@type":"WebSite","@id":"https:\/\/bootstrap-it.com\/blog\/#website","url":"https:\/\/bootstrap-it.com\/blog\/","name":"Bootstrap IT","description":"Learn technology using technology","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bootstrap-it.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bootstrap-it.com\/blog\/#\/schema\/person\/2db6d8bce89bf20e8f06440c428abe68","name":"David Clinton","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bootstrap-it.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fa132defc2e7804e08ce17c4644b6f88c498d73ed8d4c9c72039189f90df1af8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fa132defc2e7804e08ce17c4644b6f88c498d73ed8d4c9c72039189f90df1af8?s=96&d=mm&r=g","caption":"David Clinton"},"sameAs":["http:\/\/bootstrap-it.com\/","dbclinton","https:\/\/twitter.com\/davidbclinton"],"url":"https:\/\/bootstrap-it.com\/blog\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":18,"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions\/86"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/68"}],"wp:attachment":[{"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bootstrap-it.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}