{"id":2572,"date":"2015-03-23T22:29:54","date_gmt":"2015-03-23T18:29:54","guid":{"rendered":"http:\/\/nayarweb.com\/blog\/?p=2572"},"modified":"2015-03-23T23:55:46","modified_gmt":"2015-03-23T19:55:46","slug":"debian","status":"publish","type":"post","link":"https:\/\/nayarweb.com\/blog\/2015\/debian\/","title":{"rendered":"Debian"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.debian.org\/Pics\/openlogo-50.png\" width=\"50\" height=\"61\" class=\"aligncenter\" \/><\/p>\n<p>I was charged of implementing a tunnel with RObust Header Compression (ROHC). Boss asked me which server you want to do the job? Naturally, I said Ubuntu. He said, OK, I&#8217;ll give you Debian. I said to myself it shouldn&#8217;t be a hassle Ubuntu and Debian are same. Ubuntu is derived from it. But to my surprise, Debian seems to be another Operating System completely.<\/p>\n<h3>sudo<\/h3>\n<p>First surprise, Debian doesn&#8217;t comes with sudo. On my VPS on which i had only root account, I installed sudo and created another user instead of root directly<\/p>\n<p><code><br \/>\n# adduser nayar sudo<br \/>\n# apt-get install sudo<br \/>\n# su nayar<br \/>\n$ sudo blah blah...<br \/>\n<\/code>  <\/p>\n<p>When I installed Debian in my VirtualBox, it would ask a password for root and another password for the user. If i remember well, Ubuntu doesn&#8217;t asks for password for root.  Do you think it&#8217;s a security issue for user root to have a password? My gut says so. Not proven.<\/p>\n<h3>Certificate Authority (CA) with OpenSSL<\/h3>\n<p>I was following a tutorial which says run the following code<\/p>\n<p><code>\/etc\/ssl\/misc\/CA.pl -newca<\/code\n\nBut later found out the file is on the system but in a different location\n\n<code>\/usr\/lib\/ssl\/misc\/CA.pl -newca<\/code><\/p>\n<h3>apt-get install <\/h3>\n<p>The following command would yield the same results on Ubuntu as well as on Debian. They&#8217;re classics.<\/p>\n<p><code># apt-get install gcc cmake build-essentials git <\/code><\/p>\n<p>But for other stuffs, gotta hunt real hard to know which package is providing for x library or modules. Why are there these diferences? grrrrr<\/p>\n<p>Anyways, these differences are making me learn a lot but delays my work though. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was charged of implementing a tunnel with RObust Header Compression (ROHC). Boss asked me which server you want to do the job? Naturally, I said Ubuntu. He said, OK, I&#8217;ll give you Debian. I said to myself it shouldn&#8217;t be a hassle Ubuntu and Debian are same. Ubuntu is derived from it. But to &hellip; <a href=\"https:\/\/nayarweb.com\/blog\/2015\/debian\/\" class=\"continue-reading\">Continue reading <span class=\"screen-reader-text\">Debian<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[177,61,109],"class_list":["post-2572","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-debian","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/comments?post=2572"}],"version-history":[{"count":5,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2572\/revisions"}],"predecessor-version":[{"id":2579,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2572\/revisions\/2579"}],"wp:attachment":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/media?parent=2572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/categories?post=2572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/tags?post=2572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}