{"id":210,"date":"2017-12-27T14:12:30","date_gmt":"2017-12-27T14:12:30","guid":{"rendered":"https:\/\/f-spin.net\/wp\/?p=210"},"modified":"2020-04-24T09:33:12","modified_gmt":"2020-04-24T09:33:12","slug":"installing-debian-in-local-server-ii","status":"publish","type":"post","link":"https:\/\/f-spin.net\/wp\/installing-debian-in-local-server-ii\/","title":{"rendered":"Installing Debian in Local Server (II)"},"content":{"rendered":"<blockquote><p>The first part of this note-to-self will come later. And it&#8217;s about the decisions I made configuring the HDD&#8217;s.<\/p>\n<hr \/>\n<\/blockquote>\n<p>Sudo wasn&#8217;t installed by default (installing from dvd&#8217;s), so I logged in as <code>root<\/code>: <code>su -<\/code><\/p>\n<p><code>apt-get install sudo<\/code> didn&#8217;t help, because the <code>sources.list<\/code> was looking for the dvd&#8217;s, so i changed it.<\/p>\n<p>In <code>vi \/etc\/apt\/sources.list<\/code> I commented out the dvd sources:<\/p>\n<pre>#deb cdrom:[Debian GNU\/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 xxx]\/ stretch contrib main\n#deb cdrom:[Debian GNU\/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-2 xxx]\/ stretch contrib main\n#deb cdrom:[Debian GNU\/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-3 xxx]\/ stretch contrib main\n<\/pre>\n<p>And I added\/uncommented the right ones:<\/p>\n<pre>deb http:\/\/deb.debian.org\/debian\/ stretch main\ndeb-src http:\/\/deb.debian.org\/debian\/ stretch main\n\ndeb http:\/\/security.debian.org\/debian-security stretch\/updates main contrib\ndeb-src http:\/\/security.debian.org\/debian-security stretch\/updates main contrib\n\ndeb http:\/\/deb.debian.org\/debian\/ stretch-updates main contrib\ndeb-src http:\/\/deb.debian.org\/debian\/ stretch-updates main contrib\n<\/pre>\n<p>Then I installed sudo <code>apt-get install sudo<\/code>, and I added my user as <code>sudoer<\/code>: <code>adduser username sudo<\/code>, and lastly I restarted the Terminal.<\/p>\n<p>Further I installed Guake and Vim: <code>sudo apt-get install guake vim<\/code><\/p>\n<h4>Links<\/h4>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/www.privateinternetaccess.com\/forum\/discussion\/18063\" target=\"_blank\" rel=\"noopener noreferrer\">debian 8.1.0 jessie &#8211; sudo fix (not installed by default)<\/a>\n<ul>\n<li><code>su - &amp;&amp; aptitude install sudo &amp;&amp; adduser username sudo<\/code> will work as well.<\/li>\n<li>debian will install <code>sudo<\/code> during installation if there isn&#8217;t a root password specified when prompted.<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/debgen.simplylinux.ch\" target=\"_blank\" rel=\"noopener noreferrer\">Debian Sources List Generator<\/a><\/li>\n<li>In github&#8217;s Guake they recommended: <code>sudo apt-get build-dep guake<\/code>. About differences between <code>apt-get install<\/code> and <code>apt-get build-dep<\/code>: <a href=\"https:\/\/askubuntu.com\/questions\/324845\/whats-the-difference-between-apt-get-install-and-apt-get-build-dep#324853\" target=\"_blank\" rel=\"noopener noreferrer\">What&#8217;s the difference between apt-get install and apt-get build-dep?<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The first part of this note-to-self will come later. And it&#8217;s about the decisions I made configuring the HDD&#8217;s. Sudo wasn&#8217;t installed by default (installing from dvd&#8217;s), so I logged in as root: su &#8211; apt-get install sudo didn&#8217;t help, because the sources.list was looking for the dvd&#8217;s, so i changed it. In vi \/etc\/apt\/sources.list [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[54],"tags":[],"class_list":["post-210","post","type-post","status-publish","format-standard","hentry","category-technology"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p8RPGV-3o","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":2,"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"predecessor-version":[{"id":269,"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/posts\/210\/revisions\/269"}],"wp:attachment":[{"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/f-spin.net\/wp\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}